Skip to content

ci: make the required Queue every PR's only check - #821

Queued
kixelated wants to merge 5 commits into
mainfrom
quest/m0/required-checks
Queued

kixelated wants to merge 5 commits into
mainfrom
quest/m0/required-checks

Conversation

@kixelated

@kixelated kixelated commented Nov 22, 2026 •

Copy link
Copy Markdown
Collaborator

Finishes quest/m0/required-checks.md: the required Queue is now the only GitHub Actions check on a moq-dev/quest pull request. Every other job moved to a coalesced run on main; a failure there only emails, as today, until Kixel Quest files it as a quest.

Summary

  • queue-pr.yml (new) reports the skipped Queue context on PRs, plus the dispatch fallback for a head with no pull_request run. queue.yml now runs only on merge_group, so its Queue build and Report Queue jobs no longer show up as skipped PR checks.
  • check.yml no longer triggers on pull requests, so its skipped check/lifecycle runs are gone. It runs after each push to main, and a newer push cancels a pending run.
  • release.yml no longer triggers on pull requests. Its build and binary checks now run on the daily run (or a manual run) before anything publishes. The PR-only path in plan is removed, and the separate macos job is merged into the check matrix, since it existed only so PRs could skip it.
  • gate-macos.yml loses its paths-filtered pull_request trigger. Release still calls it before publishing anything that ships, and it can be dispatched on a branch.
  • README, CONTRIBUTING.md, and release-plan.sh comments updated to match.

Decisions

Maintainer, 2026-11-22, in this comment:

  • CONTRIBUTING.md: ✅ edit it in this PR. The sentence about Release's PR runs is gone, and it now says a failed run on main only emails (rejected: a later docs PR).
  • Failures on main: ✅ Kixel Quest files one quest per unique failure signature (rejected: a CI job here opening a quest PR with moq-bot's token, and GitHub issues as a stopgap). This PR's file-failure.yml and its issues: write permission are dropped. This overrides the quest Plan's bullet asking these runs to file their own findings.

Choice made without asking: Release's binary build and checks move to the daily run rather than into the queue, as the quest recommended. The queue's run time is unchanged, since queue-build.yml is untouched.

What a PR author loses before the queue

  • On PRs that change what ships: Release's cross-compiled binaries and their Linux and Windows archive, arch, and lifecycle checks. These now run daily and block publishing.
  • On PRs touching the gate: the native macOS gate tests. These now run in Release before publishing.
  • Check's jobs already skipped on PRs, so nothing is lost there.

Follow-ups

  • kixel-ai/kixel.quest (for /quest-plan there): file one quest per unique failure signature (workflow, job, failing step or test) for runs on a default branch, record a repeat as evidence on the open quest, and file again if it recurs after that quest is deleted. It builds on that tree's quest/m0/optimize/filing.md. Until it ships, a failed run on moq-dev/quest's main only emails.

Two more are already listed in moq-dev/quest#817 as kixel-ai/dotfiles repo-settings work, both settled by the maintainer for this same rule:

  • CodeRabbit's commit status counts as an optional check: turn it off and keep its review comments.
  • Pullfrog's pullfrog status check becomes a required check, not only its approval.

Until both land, PRs here still show those two non-Actions checks. moq-dev/quest#810 keeps quest wait's all-checks wake because of this quest.

Public API

None. This changes CI only: no CLI, format, or wire change. queue.yml no longer accepts workflow_dispatch; dispatch queue-pr.yml -f sha=<head> instead.

Validation

  • just check (including actionlint and shellcheck) and just test pass locally.
  • On this PR's head (c9adab2) GitHub Actions reported exactly one check run, Queue (skipped, from Queue (pull request)), and one workflow run. moq-dev/quest#817's head got 26 runs (skipped check, lifecycle, Queue build, Report Queue, publish, gate-macos, the check (…) matrices, and a real plan). quest wait 821 printed checks:passed Queue.
  • After the decisions, just check and just test pass again, and windows.yml is byte-identical to main. The merge-group path (queue.yml on merge_group) runs only when this PR enters the queue.

Models

Size: S
Implementer: Claude Code, claude-opus-5-5, unknown effort (arm A)
Implementer: Claude Code, claude-opus-5-5, unknown effort (iterate, XS, arm A)

🤖 Generated with Claude Code

Review

Rewritten by quest review after each round.

  • Head: 3a75dd1

  • Base: origin/main at 1fa61e8

  • Risk: high, it changes .github/workflows/check.yml, which is always high, as are 5 more of its paths: workflows run with the repository's secrets and decide what merges and ships

  • Classified: high by the always-high paths

  • Reviewer: Codex, gpt-6.1-sol, medium effort

  • Session: 01a205d2-6547-7193-ba8e-24ddf23f0afe, round 2

  • Score: 9/10, The only change since the reviewed head wraps a workflow comment and introduces no actionable regression; the prior review's untested GitHub Actions behavior remains unverified.

  • Rounds: 2; first round 0; findings 0: fixed 0, refuted 0, open 0

  • Findings: none

  • Reviewer: Claude Code, claude-sonnet-5-5, medium effort, second

  • Session: 3389a3e2-a037-442c-80a9-2bdf229c0274, round 2

  • Score: 8/10, The only change since the last review wraps an over-long comment, and the remaining findings are either refuted by cited evidence or recorded maintainer decisions, so the head lands.

  • Rounds: 2; first round 6 (medium 4, low 2); findings 6 (medium 4, low 2): fixed 1, refuted 5, open 0

  • Findings: none

  • The last round's findings, at 05b6ab9:

    • Refuted: medium, .github/workflows/release.yml:133: macOS checks folded into check matrix now gate publish with 10-minute timeout; The author cites origin/main's release.yml, which already ran macOS checks with a 10-minute timeout and listed `macos` in publish's needs, so only the PR skip changed.
    • Refuted: medium, .github/workflows/gate-macos.yml:3: Gate changes no longer run macOS tests on PRs; The quest Plan records the maintainer decision that every PR check must be required or moved to an async run, and names moving gate-macos.yml to the nightly run.
    • Fixed: medium, .github/workflows/release.yml:12: Release workflow no longer exercised on PRs; The over-long comment at release.yml:12 is now wrapped, and moving PR coverage to the nightly run is the recorded maintainer decision.
    • Refuted: medium, .github/workflows/queue-pr.yml:28: PR heads predating the workflow have no Queue context; An open PR head already carries a skipped Queue check from the old queue.yml, and any new event runs queue-pr.yml, with the dispatch fallback carried over unchanged from main.
    • Refuted: low, scripts/release-plan.sh:4: `ships` subcommand header documents a mostly dead entry point; The offline test still pipes paths into `release-plan.sh ships`, and the stale PR-consumer comment was removed.
    • Refuted: low, README.md:1094: README still describes queue.yml push trigger that no longer exists; The README wording is unchanged by this PR, and origin/main's queue.yml has no push trigger either, so the text describes a trigger that repos without GitHub's merge queue add themselves.
  • Reviewer: Codex, gpt-6.1-sol, high effort, shadow

  • Session: 01a205d2-6547-7463-b06e-4eba47299f61

  • Rounds: 1; first round 0; findings 0: fixed 0, refuted 0, open 0

After the reviewed head 3a75dd1, the only change is Pullfrog's suggested patch to check.yml's header comment, applied unchanged, so no new round was needed. just check and just test pass on it.

kixelated and others added 2 commits November 22, 2026 13:52
Move check.yml, release.yml, and gate-macos.yml off pull requests: Check runs
on pushes to main, Release's build and binary checks on its daily run, and the
macOS gate from Release. queue-pr.yml reports the skipped Queue context alone,
so the merge group's jobs no longer show as skipped PR checks. Runs on main
that fail open or comment on an issue through file-failure.yml.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated kixelated changed the title Every PR check is required ci: make the required Queue every PR's only check Nov 22, 2026
@kixelated

Copy link
Copy Markdown
Collaborator Author

Maintainer decision (2026-11-22, /quest-run):

  • CONTRIBUTING.md: ✅ allow the edit in this PR: delete the sentence saying release runs on pull requests decide whether to build, and say what now happens to a failed run on main (rejected: leave it for a later docs PR).
  • Failures on main: ✅ one quest per unique failure signature, committed rather than filed as a GitHub issue, filed by Kixel Quest (rejected: a CI job in this repository opening a quest PR with moq-bot's token; GitHub issues as a stopgap). Drop file-failure.yml and its issue-write permission from this PR. Kixel Quest stores every run and plans to file findings as m0 quest PRs (kixel-ai/kixel.quest quest/m0/optimize/filing.md); a new quest there, planned after this run, files one per unique failure signature (workflow, job, failing step or test) on the default branch, adds a repeat as evidence, and files again on a recurrence after deletion. List it under ## Follow-ups for that tree. Until it ships, a failed run on main only emails as today; say so.

(Written by Opus 5.5)

kixelated and others added 2 commits November 22, 2026 16:33
Per the maintainer's decision, Kixel Quest will file failures on main as
quests, so this repository opens no issues; until then a failed run only
emails.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kixelated
kixelated marked this pull request as ready for review November 23, 2026 00:37
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 4 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 923ced00-506a-444b-970d-1f89af2159e3
Commits

Reviewing files that changed from the base of the PR and between 470157d and 0507718.

Files selected for processing: 9

  • .github/workflows/check.yml
  • .github/workflows/gate-macos.yml
  • .github/workflows/queue-pr.yml
  • .github/workflows/queue.yml
  • .github/workflows/release.yml
  • CONTRIBUTING.md
  • README.md
  • quest/m0/required-checks.md
  • scripts/release-plan.sh
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@pullfrog pullfrog 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.

ℹ️ No critical issues. One minor suggestion inline.

Approach: sound. Putting the PR-side skipped Queue reporter in its own queue-pr.yml keeps queue.yml's merge-group jobs out of PR checks, and moving the other jobs to runs on main or the daily run removes every optional Actions check without adding a required context to the ruleset.

Reviewed changes

This run covered all 4 commits through 3a75dd1, all 9 files.

  • queue-pr.yml (new): reports the Queue context as skipped on PRs to main. The sha dispatch fallback is copied unchanged from the old Report Queue job, and only that dispatch path gets checks: write.
  • queue.yml: runs only on merge_group. build and Queue no longer need event guards, and Queue still fails when the build is skipped or cancelled.
  • check.yml: runs on pushes to main and on dispatch. The pull_request trigger and the per-job guards that skipped on it are gone.
  • release.yml: no longer runs on PRs. The plan step's PR path is gone, and the macOS targets are folded into the check matrix, which publish still needs. Daily and main runs behave as before.
  • gate-macos.yml: the paths-filtered PR trigger is removed. The workflow now runs only through Release's workflow_call or a dispatch.
  • Docs: README, CONTRIBUTING.md (edited with the maintainer's approval) and the release-plan.sh comment now match the new behavior. The finished quest file is deleted.

I checked that nothing in src/ depends on the workflow file name queue.yml or on Report Queue. The CLI and its tests refer only to the Queue context name, so moving the PR-side reporter to another workflow breaks no quest wait or quest land path.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using claude-opus-5-5 | 𝕏

Comment thread .github/workflows/check.yml Resolved
Applies Pullfrog's suggested patch unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@pullfrog pullfrog 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.

✅ No new issues found.

Reviewed changes

This run covered the one commit since the prior pullfrog review at 3a75dd1.

  • check.yml header: applied the suggested comment verbatim. It now says the merge queue already runs the flake check and that a newer push cancels an older run, including one in progress. Comment-only, no behavior change.

Pullfrog  | View workflow run | Using claude-sonnet-5-5 | 𝕏

@kixelated
kixelated added this pull request to the merge queue Nov 23, 2026
Any commits made after this event will not be merged.

This branch has not been deployed

No deployments
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