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
Currently the oldest_stopped algorithm that is used by the undeployer protects the build for the last commit of each branch (non-PR) build.
The algorithm could be made smarter by also returning these for undeployment, and giving lower undeployment priority to the last commit of each PR too.
first undeploy builds by creation order, excluding the last build of each repo/target-branch/pr
then undeploy the last commit of prs
then undeploy the last commit of branches (non-PR)
The text was updated successfully, but these errors were encountered:
Wondering: would it be easy/convenient/helpful to trigger runboat build only on demand to avoid building every time?
Something like /ocabot runboat [build|run], or using a label.
All in all we don't always need to test manually.
@simahawk I chose to optimize the experience for functional people who want to test PRs or main branches. With the current approach (since they usually come at least a little while after the commit), they click start and have an instance ready to use within a few seconds. If they had to wait for a full build that would be minutes, which disrupts the flow. The drawback is energy spending for builds that will never be started. Tradeoffs, as always.
BTW, I'm setting the good first issue label on this one as there is a test and it's just a matter of udpating the test and adjusting the SQL query.
Currently the oldest_stopped algorithm that is used by the undeployer protects the build for the last commit of each branch (non-PR) build.
The algorithm could be made smarter by also returning these for undeployment, and giving lower undeployment priority to the last commit of each PR too.
The text was updated successfully, but these errors were encountered: