Repository navigation
Conversation
Delete check.yml and release-gate.yml, the only workflows that built or tested pull requests (PRs into `release`). Agents run `just ci` (and `just gate` for a release PR) before pushing, the merge queue gates `main`, and Nightly covers what the queue's diff selection skips. Drop what only those workflows used: uring.yml, the `uring` selector mode, ts-paths.py and its dispatch module, and every pull_request branch in the remaining workflows. quest.yml no longer checks quest branches. Nightly's Gate moves off the merge queue's self-hosted runner onto a GitHub-hosted arm runner that reads the B2 Rust cache, as the release Check job ran the same `just ci --all`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
CI still checks pull requests:
check.ymlandrelease-gate.ymlbuild and test every PR intorelease, fanning out to about 20 reusable workflows. That work duplicates the checks the PR's author (usually an agent) already ran locally, and the merge queue is the only gatemainneeds. Nightly'sGatejob also runs on the merge queue's self-hosted runner, though it is async work on a public repository, which belongs on GitHub's runners.Approach
No workflow checks a pull request. Agents run
just cibefore pushing (andjust gate, plusjust api-diff --denyfor a backport, before pushing a PR intorelease), the merge queue gatesmain, and Nightly covers what the queue's diff selection skips.check.ymlandrelease-gate.yml. Every reusable workflow Nightly calls stays.uring.yml(Nightly'srs uringruns the suite), theuringmode ofsh/rs/select.shand itsjust rs uring-changedrecipe and test, andsh/gh/ts-paths.pywith itsts_pathsdispatch module and test (it kept the Release gate's TS path filter in sync).workflow_calltrigger frominterop.yml,moq-sh.yml,obs.yml,ts.yml, andvideo.yml, whose only caller was the Release gate, and everypull_requestbranch in the remaining workflows:api-diff.yml(now Nightly's additive-phase--denyonly),interop.yml,moq-sh.yml,obs.yml,oss-scanner.yml,platform.yml(always--all),release-kt-lib.yml,smoke.yml,ts.yml.quest.ymlvalidates the quest tree on pushes toreleaseonly, no longer onquest/**branches, which are PR heads.Gate(just gate) moves from[self-hosted, moq-queue]toubuntu-24.04-arm, the runner the rest of Nightly uses, and reads the B2 Rust cache without writing it. That is the configuration in which release PRs'Checkran the samejust ci --allon hosted arm in 19 to 45 minutes this week (45697488827, 45315526870, 45128175580). The cold read-write run that filled the disk (moq-dev/moq#9033) is what moved it off hosted runners. arm rather than x86_64: the B2 cache that hosted jobs warm is arm, and an x86_64 build would start cold. Nothing it runs needs KVM or perf counters:dispatch.shprobes for KVM only on x86_64, and the releaseCheckran every module on hosted arm. It loses the queue host's 32 cores and x86_64; the queue itself still checks x86_64 per diff.doc/setup/dev.md, harness READMEs, recipe comments) and quests no longer describe PR CI. CONTRIBUTING drops "dispatchplatform.ymlon the branch": to run macOS or Windows tests before merging, use a host with that OS over SSH.sh/gh/queue.test.tsnow asserts that no workflow butqueue-pr.ymlruns onpull_requestand that no Nightly job is self-hosted.sh/gh/setup.test.tsdrops itscheck.ymltests.Kept:
queue-pr.yml: builds nothing. ItsQueuejob skips on a pull request, which posts theQueuecontext main's ruleset requires so GitHub's merge queue admits the PR; a dispatch posts the same skipped check run on an open main PR's head.dependabot.yml(pull_request_target): not a check. It checks outmain(never the PR head), refuses a lock-only smoke update, and runsquest merge <pr> --land <head>with a moq-bot token from thebotEnvironment to request a pinned landing.queue.ymlruns only onmerge_group, andqueue-build.ymlonly onworkflow_callfrom it, building only when the event ismerge_group.The release path becomes async. A cut PR's head is
main, which Nightly already checks in full, so a cut runsjust gateand the readiness checks locally and reads Nightly's results at the candidate SHA.releasekeeps its owncheck.ymlandrelease-gate.ymluntil the next cut mergesmaininto it (apull_requestrun reads workflows from the PR's merge commit), so backports keep their gate until then, and the cut needs the ruleset change below first. After the cut, a backport's author runsjust gateandjust api-diff --deny, and pushes toreleasestill runplatform.yml,obs.yml,quest.yml, and each publisher's own checks. See Waiting.Impact
None. CI and docs only. No public API or wire change.
Alternatives
push: releaseworkflow: it would run after release-plz has already published, so it gates nothing, and policy deletes PR jobs rather than moving them.ubuntu-24.04to match the queue: a cold cache on a smaller disk, the failure that moved it off hosted runners.Validation
CHECK_MODULES="gh tooling markdown biome python shell quest text justfile large_files toml" quest gate nix develop --command just ci origin/mainpasses: actionlint, zizmor, alert coverage,sh/gh/queue.test.ts(queue event policy passed),sh/gh/setup.test.ts,sh/dispatch-query.test.py,sh/rs/select.test.py, andquest check(562 documents).just ci(the justfile change selects every module; this diff changes no Rust, JS, or build input) and Nightly itself. The next scheduled Nightly'sGatejob is the real check of the runner move.mainand with every open PR's head, including moq-dev/moq#9751, which editsnightly.yml'stestsmatrix (lines 442 to 460); this PR leaves that hunk alone.pull_requestonlyqueue-pr.yml(plusworkflow_dispatch);pull_request_targetonlydependabot.yml;merge_grouponlyqueue.yml. Everything else runs onschedule,workflow_dispatch,workflow_callfrom Nightly or a release coordinator,workflow_run, orpushtomain(cache.yml,gstreamer-ci.yml,smoke.yml),release(moq-sh,obs,platform,quest,release-go,release-js,release-kt-lib,release-py,release-rs,release-swift-lib), or release tags.Waiting
bin/repo-settingsdrops the requiredCheckandRelease gatecontexts from thereleaseruleset; until then every PR intoreleasewaits on contexts nothing reports.main's requiredQueuestays.nightly.ymlfrom themoq-queuerunner group's allowed workflows, which now admitsqueue-build.ymlalone.releaseno longer runs the Release gate's suites before merging, andreleasehas no merge queue. How should it be gated?releasetoo, runningjust gateandjust api-diff --denyon the queue host (Recommended) - restores a synchronous gate within policyrelease- a post-merge signal only, after release-plz may already have publishedjust gateandjust api-diff --denyare the whole gateFollow-ups
Quests changed for the policy:
quest/m3/mbx-release-cache.mddeleted (release PRs no longer runCheck);quest/m3/gpu-ci.mdandquest/m4/video-quality/gpu-runners.mdgain a Waiting decision, since both plan per-repository self-hosted GPU runners;quest/m5/userspace-tcpruns its privileged XDP tests under sudo on GitHub's runners instead of a self-hosted one;quest/m4/lint-examples.mdtargets the merge gate rather than PR CI.quest/m3/release-check.mdplans a Kixel Quest status context required on cut PRs intorelease. It builds nothing, but it is a synchronous PR gate outside the merge queue; left unchanged for the maintainer to confirm.Models
Size: S
Implementer: Claude Code, claude-opus-5-5, unknown
(Written by Claude Opus 5.5)
Review
Rewritten by
quest reviewafter each round.Head: e22c6b2
Base: origin/main at 17fe706
Risk: high,
it changes .github/workflows/android.yml, which is always high, as are 22 more of its paths: workflows run with the repository's secretsClassified: high by the always-high paths
Risk file: bb7b1c0de60b
Reviewer: Codex, gpt-6.2-sol, medium effort
Session:
01a21ccd-b652-7110-85a3-f62d12084568, round 3Score: 10/10,
The release runbook now specifies which checks apply before and after the first cut, and the follow-up introduces no new findings.Rounds: 3; first round 1 (high 1); findings 1 (medium 1): fixed 1, refuted 0, open 0
Findings: none
The last round's findings, at a7d049b:
RELEASE.md:15:Apply the local backport checks only after the first cut;`RELEASE.md:15` directs pre-cut backports to the existing `Check` and `Release gate` workflows and starts the local `just gate` and `just api-diff --deny` procedure once the cut lands.Reviewer: Claude Code, claude-opus-5-5, medium effort, second
Session:
31812614-92fa-4f9e-aee5-a356ab0aa83b, round 3Score: 9/10,
This round only changes wording in CONTRIBUTING.md and RELEASE.md: the local `just gate` / `api-diff --deny` step for `release` now applies only after the next cut, and until then backports rely on `release`'s own `Check` and `Release gate` runs, which matches how the workflows actually behave.Rounds: 3; first round 1 (high 1); findings 1 (high 1): fixed 0, refuted 1, open 0
Findings: none