Skip to content

ci: Run in the merge queue, and fail when cancelled - #68

Open
cgwalters-bot wants to merge 1 commit into
cgwalters-forge:mainfrom
cgwalters-bot:dispatch/implement/agent-run-45299351944
Open

cgwalters-bot wants to merge 1 commit into
cgwalters-forge:mainfrom
cgwalters-bot:dispatch/implement/agent-run-45299351944

Conversation

@cgwalters-bot

Copy link
Copy Markdown
Collaborator

The branch ruleset requires the aggregate ci job, but the workflow ran only on pull_request and push, so a merge group would never get the check. This adds the merge_group trigger.

ci used !cancelled(), so a cancelled run skipped it, and GitHub counts a skipped required job as passed. It now runs with always() and its existing step fails unless every needed job succeeded, so a cancelled run reports a failure. The cost is a red ci on a run that concurrency cancels in favour of a newer one.

Verified with actionlint 1.7.12 and zizmor 1.30.1 (offline, medium and up), the versions CI pins: both clean. Neither the merge_group path nor the cancelled path has run yet.

Follow-up for whoever enables the queue in the ruleset: trusted-check is also a required check (docs/requirements.md, R14) and runs only on pull_request_target, so it never reports on a merge group. Groups would stall until that check is dropped from the queue requirements or handled some other way, and R14's Status paragraph (which relies on up-to-date branches) needs rewriting to match.

Review: one pass. No blockers in this diff; the trusted-check point above is out of scope here.

Part of #67

Closes #67

Generated by dispatch · ◷

The branch ruleset requires the aggregate `ci` job, but the workflow ran only on pull_request and push, so a merge group would never get the check. This adds the merge_group trigger.

`ci` used `!cancelled()`, so a cancelled run skipped it, and GitHub counts a skipped required job as passed. It now runs with `always()` and its existing step fails unless every needed job succeeded, so a cancelled run reports a failure. The cost is a red `ci` on a run that concurrency cancels in favour of a newer one.

Verified with actionlint 1.7.12 and zizmor 1.30.1 (offline, medium and up), the versions CI pins: both clean. Neither the merge_group path nor the cancelled path has run yet.

Follow-up for whoever enables the queue in the ruleset: `trusted-check` is also a required check (docs/requirements.md, R14) and runs only on pull_request_target, so it never reports on a merge group. Groups would stall until that check is dropped from the queue requirements or handled some other way, and R14's Status paragraph (which relies on up-to-date branches) needs rewriting to match.

Review: one pass. No blockers in this diff; the trusted-check point above is out of scope here.

Part of cgwalters-forge#67

Assisted-by: https://github.com/cgwalters/cgwalters#llms
@cgwalters-bot

cgwalters-bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator Author

Failed checks: one rerun reserved for these checks on this head.

Generated-by: https://github.com/cgwalters/#llms

@cgwalters-bot

cgwalters-bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator Author

Fix round 1 of 5 for 210d53f6d050: run.

Generated-by: https://github.com/cgwalters/#llms

@cgwalters-bot

cgwalters-bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator Author

⚠️ dispatch stopped before the task was done and handed back no result. Its reason:

No change: the only failing required check, trusted-check, is the maintainer gate for compiler changes. This PR edits .github/workflows/ci.yml, so a human maintainer (admin or maintain) other than the author must review it and apply the compiler-change label after the last push. There is no VERDICT review and nothing to fix in code.

@cgwalters-bot

Copy link
Copy Markdown
Collaborator Author

The poll stopped following this pull request: fix round 1 is blocked: its run https://github.com/cgwalters-forge/tracker/actions/runs/45315450053 ended (success) and pushed no new head for 210d53f (check trusted-check failed). cgwalters's review is requested; submit a review or remove the request to have the poll start again on it, with fresh fix rounds.

Generated-by: https://github.com/cgwalters/#llms

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.

ci: Run the ci workflow in the merge queue

1 participant