You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In configuration I can start a prebuild. When that is running tze "Run Prebuild" button is still green and active.
When I click it I loose the current logs and see an error message, telling me that I cannot start a prebuild because one is running already.
The text was updated successfully, but these errors were encountered:
svenefftinge
changed the title
[configurartion] Don't suggest/allow starting another prebuild when one is running
[configuration] Don't suggest/allow starting another prebuild when one is running
Aug 26, 2021
Okay, I tried implementing a Cancel Prebuild button in #5474, but ended up backpedalling because this would require a new server method (e.g. server.cancelPrebuild, next to server.triggerPrebuild) in order to properly set the Prebuild state as CANCELLED (otherwise, if you just call server.stopWorkspace(prebuildWorkspaceId) as I did, the prebuild will get "cancelled" but then show up as SUCCESSFUL in the UI 🤦).
That PR is already too big, so disabling the Run Prebuild button for now (only disabled when a prebuild is running) and leaving the Cancel Prebuild button/feature as a follow-up.
In configuration I can start a prebuild. When that is running tze "Run Prebuild" button is still green and active.
When I click it I loose the current logs and see an error message, telling me that I cannot start a prebuild because one is running already.
The text was updated successfully, but these errors were encountered: