Skip to content

ci(repo): run the seed CI on merge groups - #370

Merged
tbhb-agent merged 1 commit into
mainfrom
agent/r21-merge-group
Nov 23, 2026
Merged

tbhb-agent merged 1 commit into
mainfrom
agent/r21-merge-group

Conversation

@tbhb-dev-agent-pull-requests

@tbhb-dev-agent-pull-requests tbhb-dev-agent-pull-requests Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Why

GitHub's merge queue waits for the required conclusion check on the merge group commit. The consumer's ci.yml must subscribe to merge_group to produce that check.

Behavior change

The chezmoi, docs, go, and python CI seeds now start a run for each merge group. conclusion collects bazel and repo and requires both to succeed.

Decisions

Keep the trigger in the caller. The manifest uses seed mode for all four copies, so existing consumers add the trigger to their own workflow. The reusable workflow already guards the pull request fields or provides a fallback.

Risk

The full-history scan can take longer than the pull request range scan and increase queue wait time.

Verification

The manifest test parses each seed's on block in process and checks for merge_group. A byte comparison confirmed that the trigger is the only edit in each seed.

bazelisk test //:all //tools:vale_test //lint/... //repo/... //pins/...
Executed 47 out of 278 tests: 278 tests pass.
Workflow lines Behavior on merge_group
All four seeds, 22, 23 The unique ref scopes concurrency. cancel-in-progress is false.
All four seeds, 52 cache-save is true.
All four seeds, 92, 93, 100 conclusion always receives both job results.
repo-checks.yml:365, 369 EVENT is merge_group. Build the history scanner only.
repo-checks.yml:388 Scan full history with --log-opts=HEAD.
repo-checks.yml:395, 398, 399 Skip the text scan and its body and title inputs.
repo-checks.yml:414, 416, 417, 418 Skip the identity check and its base.ref, head.sha, and head.ref inputs.
repo-checks.yml:426, 428, 429 Skip the commit message check and its base.ref and head.sha inputs.
repo-checks.yml:435, 437, 438, 439 Skip the size check and its base.sha, head.sha, and user.login inputs.
repo-checks.yml:451, 453, 454 Skip the newline check and its base.ref and head.sha inputs.
repo-checks.yml:463 A configured Python audit fails the job on error. The seeds leave it off.
repo-checks.yml:502, 506 Both event comparisons are false. The SDK checksum check skips its base.sha or github.event.before input.
repo-checks.yml:531 CODEOWNERS validation falls back to the merge group commit.

Assisted-by: LLM effort=medium;harness=claude-code:2.1.330;model=anthropic:claude-sonnet-5-5;session=sha-256-64:debb814921f029ad;surface=cli

Generated-by: LLM harness=codex;model=openai:gpt-6.2-sol
Generated-by: LLM effort=high;harness=codex:0.166.0;model=openai:gpt-6.2-sol;session=sha-256-64:499fde78e180ab27;surface=exec
@tbhb-agent
tbhb-agent merged commit a3fe775 into main Nov 23, 2026
57 checks passed
@tbhb-agent
tbhb-agent deleted the agent/r21-merge-group branch November 23, 2026 15:56
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