Skip to content

feat(#1350): improve(ci): merge queue on main instead of strict up-to-date — 37 merge-main commits in the last 40 PRs - #1369

Merged
admarble merged 4 commits into
mainfrom
feature/1350-improve-ci-merge-queue-on-main-instead-of-strict-u
Oct 9, 2026
Merged

admarble merged 4 commits into
mainfrom
feature/1350-improve-ci-merge-queue-on-main-instead-of-strict-u

Conversation

@admarble

@admarble admarble commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The merge-queue payload (scripts/ruleset-main.sh --print) and the merge_group trigger in ci.yml. Nothing is applied: the live ruleset keeps strict up-to-date until #1368, where /release learns to wait for a queued merge before tagging. No file under .claude/skills, templates/skills or plugin/ changes (plugin-directory review freeze). (Body rebuilt from exec's transcript; the 2.19.0 server left the placeholder, #1311.)

Pre-PR AC Verification

AC Status Evidence
AC-1 ✅ Implemented merge_group: is in the on: block of .github/workflows/ci.yml. Jobs test (line 32) and canary (line 64) are unchanged and have no matrix. gitleaks.yml already had the trigger.
AC-2 ✅ Implemented --print emits a merge_queue rule, and strict is false. The tightened jq -e check returns true.
AC-2b ✅ Implemented The queue rule has merge_method: SQUASH, ALLGREEN, and the 5/5, 1/5 and 60 sizing values. The script still has no PUT call; the one gh api -X PUT grep hit is the existing header comment saying the script never makes it.

Other changes:

Checks

  • npm run build and npm run lint both passed.
  • I ran the new test file (6 tests), scripts/qa/tautology-detector-cli.test.ts and scripts/preexisting-claim-gate.test.ts: all passed.
  • I did not run the full npm test, per the runner note. The vitest --changed origin/main run picked up only the new test file.
  • The new test is scripts/ruleset-main.integration.test.ts, not the ruleset-main.test.ts the spec named. Only .integration. names run in the integration project.
  • Coverage: the changed .sh, .yml and .md files are covered by that test. The script is run for real, and the ci.yml assertions are scoped to the on: block and job keys.

Mutation records (for the PR body)

Each mutation was restored after its test failed. I didn't run the /qa §6i parseMutationMarkers check.

Pre-PR Confidence Check

  • Weakest part: whether the live ruleset API accepts the merge_queue parameters alongside required_status_checks. Nothing here exercises that, since applying is out of scope. The owner should diff against the live ruleset first.
  • Coverage gaps: none for the changed files.

QA round 1 fixes (runner, fe3ffb3a)

  • CHANGELOG [Unreleased] entry added.
  • The bash -n check asserted toBeDefined() on execFileSync's output, which is always defined. It now asserts the call doesn't throw.
  • Live ruleset checked: it already requires test and canary with strict on, so listing canary in the payload fixes a drift in the script, not a policy change.

QA verdict (round 1): AC_MET_BUT_NOT_A_PLUS — all ACs met; the gaps above are fixed.

Fixes #1350


🤖 Generated by sequant run; runner fixes after QA

…trict up-to-date

Entire-Checkpoint: a490ad19414d
…ad of a tautology

Entire-Checkpoint: 23af9cbdfef1
@admarble
admarble merged commit 9a84774 into main Oct 9, 2026
8 checks passed
@admarble
admarble deleted the feature/1350-improve-ci-merge-queue-on-main-instead-of-strict-u branch October 9, 2026 04:20
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.

improve(ci): merge queue on main instead of strict up-to-date — 37 merge-main commits in the last 40 PRs

1 participant