Repository navigation
Open
Labels
Description
Summary
Turn on the merge queue for main once the release skill can wait for a queued merge. Split from #1350, which lands the CI trigger and the ruleset script but leaves the queue unapplied.
Why this is separate
/releaseStep 6 would tag the wrong commit. Under a merge queue,gh pr mergeonly enqueues (gh's help: "If required checks have passed, the pull request will be added to the merge queue") and returns. Step 6's next line,git pull --ff-only origin main, then fetchesmainwithout the release commit, and Step 7 tags whatevermainwas. Step 6 must wait until the PR's state isMERGED(and pull that merge commit) before tagging.- Plugin freeze. Skill edits are mirrored into
plugin/skills/(lint:skill-syncis enforced in CI), andplugin/is frozen while the directory review of v2.19.0 is open (owner decision, 2026-10-08). This lands after the review. - Other merge sites (
merger,fullsolve) already work with a queue: they don't pass--admin, and gh enqueues or enables auto-merge by itself.--squashand--subjectare ignored under a queue; the queue's own merge method and commit message apply.
Acceptance Criteria
- AC-1:
/releaseStep 6 waits for the release PR to reachMERGED(pollinggh pr view <N> --json state,mergeCommit), pulls, and Step 7 tagsmergeCommit.oid, not a localHEAD— Evidence: gate test over the delimited Step 6–7 region, mutation-verified - AC-2: the queue's merge method is squash, and the release commit a queued merge produces is titled
chore: release vX.Y.Z(themerge_queuerule has no commit-message field and the queue ignores--subject, so the title comes from the repo'ssquash_merge_commit_title, todayCOMMIT_OR_PR_TITLE: a one-commit PR takes its commit's title — unconfirmed in GitHub's docs, per community reports, e.g. community discussion #14818. Owner picks the mechanism: keep the setting and have/releasemake the release PR's single commit carry that title, or flip it toPR_TITLE, which changes every one-commit PR's squash title from the hook-validated commit message to the unlinted PR title) — Evidence:scripts/ruleset-main.sh --print | jq -r '.rules[] | select(.type=="merge_queue") | .parameters.merge_method'printsSQUASH, andgh api repos/{owner}/{repo} --jq .squash_merge_commit_titleplus the AC-3 queued merge'sgit log -1 --format=%sshow the title - AC-3: owner gate — after the plugin review closes, the ruleset with the queue is applied, and one PR merges through the queue — Evidence: link to the merged PR's queue entry
Context
- Blocked by: improve(ci): merge queue on main instead of strict up-to-date — 37 merge-main commits in the last 40 PRs #1350 (CI trigger + ruleset script) and the open plugin-directory review.
Activity