Repository navigation
ops(001,027,031): runner disk freed for acceptance; PR runs skip unaffected bindings and release checks - #461
Conversation
AI review (no-findings)I reviewed the PR, which adds scope-based CI skipping to Workflow logic The gate jobs (
Security GitHub context values ( Spec compliance All three spec changelog entries accurately describe the CI-only changes. The qualifying note "CI only, no claim of this spec changes" appropriately signals no normative update. No concrete defects found. {"head": "edaba0a23c7e0215973888914f02f6079ff9ba41", "verdict": "no-findings", "findings": []}Subject: 9fca258...edaba0a, diff digest 11e84ad3bb82f3ab0052f3292f1f853443c530aa1a739ace229c467355cc93b5, 1 call(s). An AI comment is not an approval. |
…fected bindings and release checks verify.yml's acceptance groups remove unused preinstalled toolchains and record df. scripts/acceptance/affected.py answers whether a pull request changes a job's inputs; bindings.yml and release-checks.yml leave their jobs out of a pull request's own run when it does not. The merge queue and every push to main still run every job.
edaba0a to
25c284c
Compare
AI review (no-findings)Reviewing the diff: a new
Guard jobs use want=success; [ "$RUN" = false ] && want=skipped
for r in $RESULTS; do test "$r" = "$want" || { echo "..."; exit 1; }; done
Spec entries in 001, 027, and 031 are changelog-only additions, consistent with the governance rule that spec-first development records operational changes in the owning spec's history section. No concrete defects found. {"head": "25c284c0582e6886e7b8abb8aba07e1157e79ac5", "verdict": "no-findings", "findings": []}Subject: 41b490d...25c284c, diff digest 75b8937d76cde458f7ddf0780b4f9e7feb3c45759edf112b377323a5631c792e, 1 call(s). An AI comment is not an approval. |
Two changes to CI throughput from the 2026-11-02 audit. Both are workflow edits, so this PR needs the owner's
statecraft-review-exceptionapproval once.1. Runner disk (spec 001,
verify.yml). On 2026-11-02, "Disk quota exceeded" failed merge-queue entries in the acceptance groups: rustc writing output inevaluation, and the seed workers' target copy incli-backends, twice. Each failure also rebuilt every queue entry behind it. Each acceptance group now starts by removing preinstalled toolchains that no group uses (dotnet, Android, GHC, CodeQL) and printsdfbefore and after, so the next measurement has data. #460 is the matching fix insideseeds.py.2. PR runs skip jobs whose inputs they don't change (specs 027 and 031).
New script
scripts/acceptance/affected.py, with unit tests that run inverify / plan. It answers whether a pull request changes any of a job's inputs:cargo metadata --no-deps(no registry access);Cargo.toml,Cargo.lock,rust-toolchain.toml,Makefile,.cargo/).Any doubt answers "affected": no base, a failed diff, or unreadable metadata.
bindings.yml: thescopejob asks aboutrustev-node,rustev-wasm,rustev-fp-corpus,tools/rustev-conformance/, the workflow and the script. Onmainfrom 10-20 to 11-02, 131 of 312 merged commits touched none of these, about 42%. Those PRs skip 10 jobs, three of them on macOS or Windows runners.release-checks.yml: a newscopejob asks about every workspace package,tools/rustev-conformance/js/, the workflow and the script. That skips the 10 release-check jobs for spec-only and docs-only PRs.Each workflow gets a final
bindingsorrelease-checksjob, followingverify.yml'sverifyjob. The caller's result is that job's, and it accepts a skipped job only whenscopechose to skip it. Soci-gatestill seessuccessor a real failure.Merge-queue entries, pushes to
main, and PRs labelledstatecraft:stacked-cirun every job, as before. Nothing reachesmainwith less testing.Spec records: 001, 027 and 031 each get one dated "CI only" line. No spec claim changes.
Verification
make gateandscripts/check-authored-content.shpass.python3 -m unittest discover -s scripts/acceptance -p 'test_*.py': 10 tests pass.actionlinton the three workflows reports one pre-existing SC2016 info only.affected.py --base origin/main~5with the bindings inputs answerstrue(11 of 34 changed files are inputs).bindings.yml,release-checks.ymlandaffected.py, so it runs everything. The skip path gets checked on the first spec-only PR after this lands; I'll confirm it there.