You can now resize your Depot builders

Since Depot builders rolled out, one of the most pressing requests has been the ability to change the memory or CPU for your builders.

You can now update the size of your builder from your organization’s “Builders” page on the dashboard. This allows you to throw more CPU power at a build to potentially get it finishing quicker, and allows you to throw more memory at a build if your image is too beefy for the default builder. (Nobody likes having OOM issues with their builds)

Eventually, builder pricing will take into account the size of your builder, but the pricing on this is TBD. We’ll update this thread - and anyone affected by the changes - once we have concrete numbers on this :slight_smile:

4 Likes

This button doesn’t do anything:

  1. there’s no HTTP call upon pressing one
  2. there’s no visual feedback like a toast that it worked
    Not sure it does anything at all

the dashboard uses Phoenix LiveView which means you need to look for messages exchanged betwen the browser and the server either via websocket or longpoll.

In my case I see it going over longpoll correctly and in fact if I change the builder configuration, go to another page, and then come back I see the change was recorded and is reflected in the dropdown.

On the lack of feedback in the UI it might be due to a javascript error (or not, since the error fires when the dropdown is opened rather than when it’s closed and the websocket/longpoll message is sent to the server):

Uncaught TypeError: event.target.matches is not a function
    init https://fly.io/phx/assets/app-77f6dc3d3cd698d2a6863d8908556ecd.js?vsn=d:30268
app-77f6dc3d3cd698d2a6863d8908556ecd.js:30268:24
1 Like