fix(release): release from main's tip and retry when main moves #103
No reviewers
Labels
No labels
needs-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
cjournois/reusable-pipeline!103
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/release-from-main-tip"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A scheduled release checks out the commit main had when the schedule fired. project/tabula run 1166 fired at 10:00:18 on
02fca0c, Renovate merged8f596ccat 10:01, and the release push was rejected as non-fast-forward. Every rerun of 1166 is pinned to the same stale commit, so the job stays red.release.shnow fetchesorigin/mainand releases from its tip. If the atomic push is rejected and main moved, it drops its local tags and releases again from the new tip, up toRELEASE_ATTEMPTS(3). Any other push failure still fails at once.Tests: one for a merge that lands before the run, one for a merge that lands between fetch and push, and one for a plain push failure (no retry). The old "no tag on the remote" test is replaced by these.
Session: 84a475c7-7be2-4b4a-924f-6a98686ace73