Repository navigation
ci: qualify release-branch candidates outside the master queue - #2265
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Queued — the merge queue status continues in this comment ↓. |
f31a751 to
497d8b9
Compare
Revision history
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 497d8b91a1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| pull_request: | ||
| types: [closed] | ||
| branches: [master] |
There was a problem hiding this comment.
Isolate candidate staging from coalesced release-management runs
If a release PR merges while another Release Management run is active, its new pull_request.closed run competes with master pushes and other PR closures in the shared release-management concurrency group. A subsequent event can cancel that pending run even with cancel-in-progress: false: GitHub documents that an existing pending run is replaced by the newly queued run. Unlike the previous push-based release processing, only this specific closed-PR event can execute stage-candidate; subsequent pushes, scheduled runs, and manual dispatches cannot recover it. Consequently, ordinary merge activity can leave the merged release unstaged and publication blocked until someone reruns the cancelled event. Give candidate staging a separate, non-coalescing execution path.
Useful? React with 👍 / 👎.
Keep affected PR checks and a bounded combined-tree integration gate in the master queue. Move heavy backend/platform/conformance validation to release candidates and the daily/manual cadence, rather than rerunning it on each speculative queue tree or every master push. Release Please updates version PRs on master but cannot create releases. After a version PR merges, a dedicated staging workflow advances release to that exact merge commit without force-pushing. Staging has no concurrency group, so other PR closures and master pushes cannot discard its pending one-shot event. Release Candidate runs full CI on that fixed SHA. Only successful qualification can create the stable tag and GitHub Release and dispatch package publication. Reject superseded candidates, unrelated commits and existing tags at a different SHA. Retry publication only for the same qualified source. Both stable publishers require a successful Release Candidate run on release at their exact build SHA, including manual retries. They wait for the parent workflow to finish instead of duplicating full validation. Recovery commits can use validation_only on release before numbered recovery-tag publication. Nightly and independent Aplite publication retain their existing policies. After this change lands, run node scripts/configure-merge-checks.mjs --apply to replace deferred platform requirements with Queue validation on master. The dry-run-by-default migration preserves other checks and enforcement and refuses to apply before the replacement workflows exist on master. The release branch has been bootstrapped from master; no release has been published. Validation: 327 Node script tests; workflow syntax with actionlint (excluding its existing ubuntu-26.04-arm/cache-mode schema gaps); pnpm lint; diff checks. The unchanged queue command previously passed 260 tests (8 existing skips), and default workspace cargo check passed. Actual multi-platform qualification and publication require GitHub Actions after deployment. Change-Id: Ic5bb694d5d17ce58a1dd1cfc97a04c8777881dcb
497d8b9 to
de343e7
Compare
✅ Merged into
|
| Condition | Required by | |
|---|---|---|
| ✅ | check-success = Conventional Commit title |
— |
| ✅ | check-success = Queue validation |
— |
| ✅ | any of: check-success = @github-actions/Lint & Format, check-neutral = @github-actions/Lint & Format, check-skipped = @github-actions/Lint & Format |
GitHub repository ruleset rule master |
| ✅ | any of: check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU), check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU), check-success = @github-actions/NAPI Build (Linux ARM64 GNU) |
GitHub repository ruleset rule master |
| ✅ | any of: check-skipped = @github-actions/NAPI Build (Windows), check-neutral = @github-actions/NAPI Build (Windows), check-success = @github-actions/NAPI Build (Windows) |
GitHub repository ruleset rule master |
| ✅ | any of: check-success = @github-actions/Rust Test & NAPI Build, check-neutral = @github-actions/Rust Test & NAPI Build, check-skipped = @github-actions/Rust Test & NAPI Build |
GitHub repository ruleset rule master |
| ✅ | any of: check-success = @github-actions/JS Test (Ubuntu), check-neutral = @github-actions/JS Test (Ubuntu), check-skipped = @github-actions/JS Test (Ubuntu) |
GitHub repository ruleset rule master |
| ✅ | any of: check-skipped = @github-actions/JS Test (Windows), check-neutral = @github-actions/JS Test (Windows), check-success = @github-actions/JS Test (Windows) |
GitHub repository ruleset rule master |
| ✅ | any of: check-success = @github-actions/Conventional Commit title, check-neutral = @github-actions/Conventional Commit title, check-skipped = @github-actions/Conventional Commit title |
GitHub repository ruleset rule master |
Times in UTC · dashboard · how the merge queue works
Keep affected PR checks and a bounded combined-tree integration gate in the
master queue. Move heavy backend/platform/conformance validation to release
candidates and the daily/manual cadence, rather than rerunning it on each
speculative queue tree or every master push.
Release Please updates version PRs on master but cannot create releases.
After a version PR merges, a dedicated staging workflow advances release to
that exact merge commit without force-pushing. Staging has no concurrency
group, so other PR closures and master pushes cannot discard its pending
one-shot event. Release Candidate runs full CI on that
fixed SHA. Only successful qualification can create the stable tag and GitHub
Release and dispatch package publication. Reject superseded candidates,
unrelated commits and existing tags at a different SHA. Retry publication
only for the same qualified source.
Both stable publishers require a successful Release Candidate run on release
at their exact build SHA, including manual retries. They wait for the parent
workflow to finish instead of duplicating full validation. Recovery commits
can use validation_only on release before numbered recovery-tag publication.
Nightly and independent Aplite publication retain their existing policies.
After this change lands, run node scripts/configure-merge-checks.mjs --apply
to replace deferred platform requirements with Queue validation on master.
The dry-run-by-default migration preserves other checks and enforcement and
refuses to apply before the replacement workflows exist on master. The release
branch has been bootstrapped from master; no release has been published.
Validation: 327 Node script tests; workflow syntax with actionlint (excluding
its existing ubuntu-26.04-arm/cache-mode schema gaps); pnpm lint; diff checks.
The unchanged queue command previously passed 260 tests (8 existing skips),
and default workspace cargo check passed. Actual multi-platform qualification
and publication require GitHub Actions after deployment.