Skip to content

ci: qualify release-branch candidates outside the master queue - #2265

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/ci/separate-release-qualification/separate-release-qualification-merge-queue-val--c5bb694d
Oct 27, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/ci/separate-release-qualification/separate-release-qualification-merge-queue-val--c5bb694d

Conversation

@tignear

@tignear tignear commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T11:39:17.793625Z de343e7 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mergify

mergify Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Queued — the merge queue status continues in this comment ↓.

@tignear tignear changed the title ci: separate release qualification from merge queue validation ci: qualify release-branch candidates outside the master queue Oct 27, 2026
@tignear
tignear force-pushed the stack/tignear/ci/separate-release-qualification/separate-release-qualification-merge-queue-val--c5bb694d branch from f31a751 to 497d8b9 Compare October 27, 2026 11:29
@tignear

tignear commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial f31a751 2026-10-27 11:29 UTC
2 content f31a751 → 497d8b9 Move RC qualification to a release branch and gate tag/GitHub Release creation, replacing the post-release publisher-only gate. 2026-10-27 11:29 UTC
3 content 497d8b9 → de343e7 Address P1 r4388179384: isolate one-shot RC staging in a dedicated workflow without concurrency so unrelated events cannot replace pending staging. 2026-10-27 11:36 UTC

@tignear tignear added merge-ready Request merging through Mergify after required checks merge-priority Prioritize queue admission and waiting order without interrupting running checks labels Oct 27, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread .github/workflows/release.yml Outdated
Comment on lines +6 to +8
pull_request:
types: [closed]
branches: [master]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

@tignear tignear removed merge-ready Request merging through Mergify after required checks merge-priority Prioritize queue admission and waiting order without interrupting running checks labels Oct 27, 2026
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
@tignear
tignear force-pushed the stack/tignear/ci/separate-release-qualification/separate-release-qualification-merge-queue-val--c5bb694d branch from 497d8b9 to de343e7 Compare October 27, 2026 11:36
@tignear tignear added the merge-priority Prioritize queue admission and waiting order without interrupting running checks label Oct 27, 2026
@mergify mergify Bot added merge-ready Request merging through Mergify after required checks queued Mergify queue entry labels Oct 27, 2026
@mergify

mergify Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

✅ Merged into master as 3165c60 at 12:10 UTC

Merged together with #2264. 12 min in the queue, 10 min of it CI.

So far

Merge conditions: 9 of 9 met

The batch, tested on draft #2270

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

@mergify
mergify Bot merged commit 3165c60 into master Oct 27, 2026
25 checks passed
@mergify
mergify Bot deleted the stack/tignear/ci/separate-release-qualification/separate-release-qualification-merge-queue-val--c5bb694d branch October 27, 2026 12:10
@mergify mergify Bot removed the queued Mergify queue entry label Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-priority Prioritize queue admission and waiting order without interrupting running checks merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant