Skip to content

[v3-4-test] Refuse to publish constraints when the branch moved during generation (#75989) - #75990

Open
github-actions[bot] wants to merge 1 commit into
v3-4-testfrom
backport-92bbf67-v3-4-test
Open

github-actions[bot] wants to merge 1 commit into
v3-4-testfrom
backport-92bbf67-v3-4-test

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

A regular constraints refresh resolves its pins against the constraints
branch as it is when the run starts, then commits them on top of the
branch as it is when the run ends. When Release constraints commits a
release candidate's pins in between, the refresh overwrote them with
pins resolved against the older baseline, and the push still succeeded
because it was an ordinary fast-forward.

The two workflows run in different concurrency groups, so nothing
serialised them. The publish now fails instead and asks for a re-run,
which then starts from the candidate's constraints.
(cherry picked from commit 92bbf67)

Co-authored-by: Jarek Potiuk jarek@potiuk.com
Generated-by: Claude Opus 5

…g generation (#75989)

A regular constraints refresh resolves its pins against the constraints
branch as it is when the run starts, then commits them on top of the
branch as it is when the run ends. When Release constraints commits a
release candidate's pins in between, the refresh overwrote them with
pins resolved against the older baseline, and the push still succeeded
because it was an ordinary fast-forward.

The two workflows run in different concurrency groups, so nothing
serialised them. The publish now fails instead and asks for a re-run,
which then starts from the candidate's constraints.
(cherry picked from commit 92bbf67)

Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Generated-by: Claude Opus 5
@vatsrahul1001
vatsrahul1001 force-pushed the backport-92bbf67-v3-4-test branch from 6e37791 to 5c549dd Compare October 29, 2026 19:33
@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor Author

The re-run of the jobs stopped by EC2 Spot interruptions finished: attempt 2 passed.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant