x/build/cmd/releasebot: for beta releases, release step might not use same commit as in prepare step #36182
Labels
Builders
x/build issues (builders, bots, dashboards)
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
Currently, the release process involves running
releasebot
first in prepare mode, then again in release mode. If a commit is merged to the relevant branch between the two runs, the two modes will not use the same commit, which is suboptimal.This affects beta releases much more than all other releases, since beta releases are made from master branch. (Other releases uses release branches.)
CL 211583 improves the situation by not skipping tests during release step for beta releases.
A more predictable solution we can consider is one where the the prepare step selects a commit, and makes it so that when it tells you to run the -mode=release command, it includes the selected commit. That way, the release mode is guaranteed to run on the same commit as prepare, which seems better.
There are other ways we can consider reducing unpredictability of the prepare/release modes; this issue is to discuss those.
/cc @cagedmantis @toothrot @FiloSottile
The text was updated successfully, but these errors were encountered: