Repository navigation
ci: the swizzle proof moves to main checks, and every release-check proves every target - #12449
Conversation
…i:run-swizzle label Main's Node legs already prove the targets each validated main commit affects, and the release re-check proves every target before a cut. A pull request now proves no target unless it carries ci:run-swizzle (run-labels), for a change to the swizzle tooling; the label adds all eight legs to its admission. Room plans the Node legs alone, so the pull-request peak drops from 21 to 19 and the full-width widen by 6. spec:AST-110/DEC-3.
… release-check requires it release-swizzle-proof runs the full swizzle proof of the cut commit (SWIZZLE_PROOF_ALL and SWIZZLE_PROOF_BROWSER) in eight legs on the release-check dispatch, and release-check fails unless every leg passed. The dispatch peak rises from 39 to 47 for those legs. spec:AST-110/DEC-3.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
… opt-in and the release check's full swizzle proof
|
/approve-spec 2674725 |
PR Analysis Report🔎 Preview ·
|
| Before | After | Change | |
|---|---|---|---|
| Job-minutes per PR update | 219 | 222.3 | +3.3 |
| Runner pool, runner-minutes a day | 71,349 | 72,422 | +1,073 (+1.5%) |
| Average concurrent jobs | 49.5 | 50.3 | +0.7 |
| Time to green (median → this run) | 64.5 min | 62.5 min | −2 min |
| Runs a day | 326 | 326 | 0 |
Changed jobs: admission changed: standard · release-check changed: standard · release-swizzle-proof added: standard · room changed: standard · run-labels changed: standard · swizzle-proof changed: standard · swizzle-proof-scope changed: standard
Not measured (the jobs that use these keep their recent minutes above): .github/actions/ci-admission/count.mjs, .github/scripts/ci-admission-count.test.mjs, .github/scripts/ci-admission.test.mjs, .github/scripts/ci-heavy-lanes.test.mjs, .github/scripts/ci-swizzle-proof.test.mjs, .github/scripts/release-check-workflow.test.mjs, .github/scripts/run-labels.cjs, .github/scripts/run-labels.test.mjs.
Assumptions: before is each job's average over the last 20 pull-request runs; after keeps that for unchanged jobs and uses this run's minutes for added or changed ones, weighted by how often each changed job ran in those runs; runs a day averages the seven whole days before today; time to green compares this run with the median of those runs that ran the same jobs.
Generated by PR Enrichment workflow | View full report
There was a problem hiding this comment.
Requesting changes. The new ci:run-swizzle opt-in and the release-check's full swizzle proof are wired and tested, but two spec sentences still say a pull request never runs the swizzle proof.
Blocking
docs/specs/AST-030/spec.mdFR13 still says a pull request's test run leaves out the swizzle proof; amend it to say that a run withci:run-swizzleincludes the proof (FR12).- The FR7 verification row in
docs/specs/AST-110-swizzle-output/spec.mdstill lists "a pull request that runs the proof" as a failure; change it to "a pull request withoutci:run-swizzlethat runs the proof".
Both are one-line record edits, and the new head will need a fresh /approve-spec. Two non-blocking notes: the pull-request comment never shows the new swizzle not-run sentence, so nothing prompts an author to add the label, and a release re-check now runs the full proof twice (here and in the Main workflow's re-check legs).
Claims and files checked
Review mode: full; reason: no-earlier-review
Claims:
- Without the label, the scope job proves no target, skips its checkout and starts no leg: verified (workflow step and new test, red-first).
- The label follows the existing
ci:run-*rule (newest application by someone with write access, effective on the next push): verified (run-labels.cjsand its tests). - The label adds all eight legs to admission: verified (
label-legsin both waits, admission tests). - A change to the swizzle tooling adds the label: verified as a manual convention, since nothing applies the label automatically.
- Every release-check runs a new eight-leg job that proves every target in Chromium, with legs of up to 30 minutes, and
release-checkfails unless every leg passed: verified (job, join, and tests for failure, skipped and cancelled). - Main's Node legs keep proving the affected targets, and the release re-check proves every target: verified (Main workflow Node shards and their re-check flags).
- Nothing is dropped, because a pull request loses only its own run: verified.
- The pull-request peak drops from 21 to 19 (up to eight fewer jobs a run), and
count.mjscounts a running pull-request run the same way: verified (peak tests,count.mjsestimate). - The dispatch peak rises from 39 to 47 for the first-wave legs, and
count.mjscounts a running dispatch at 47: verified (release-check peak test). - AST-110 FR7 now limits pull requests to labelled runs and has every release check prove every component in a browser: verified.
- The FR7 gap bullet goes because both of its clauses stop being true: verified. The pull-request clause ends, and the three-hourly release-check now proves every target.
- The current-state line, the FR7 verification row and the known gap name the new job and its tests: verified, but the row's failure column is stale (blocking finding).
- AST-030 FR12 gains the swizzle label rule: verified, but FR13 still contradicts it (blocking finding).
- No admission number changes in a record: verified, since the CI record states no peak job counts.
- Writing rubric results: verified against the edited record lines.
- Local test results: consistent, since the changed test files pass on this head; the exact run count was not reproduced.
- Red-first, the new cases fail on
main: verified (23 failures across the six changed test files on the base). - Prettier and the knowledge check are clean: verified. Actionlint was not run here.
- Overlap with seven open pull requests: verified. One conflicts in
ci.ymlas stated, one already conflicts withmainon its own and this change adds no conflict, and five merge cleanly. - Owning lane and land path: a process note, not a code claim; the exact-head spec approval is present.
Files:
.github/workflows/ci.yml: clear.github/actions/ci-admission/count.mjs: clear.github/scripts/run-labels.cjs: clear (non-blocking: its swizzle not-run sentence is never rendered).github/scripts/ci-admission.test.mjs: clear.github/scripts/ci-admission-count.test.mjs: clear.github/scripts/ci-heavy-lanes.test.mjs: clear.github/scripts/ci-swizzle-proof.test.mjs: clear.github/scripts/release-check-workflow.test.mjs: clear.github/scripts/run-labels.test.mjs: cleardocs/specs/AST-030/spec.md: finding (FR13 left stale)docs/specs/AST-110-swizzle-output/spec.md: finding (FR7 verification row)
…un-swizzle run prove copies
|
/approve-spec 21a8396 |
There was a problem hiding this comment.
Approved pending CI: CI has not run on this head yet. The pull request is a draft, and CI runs once it is marked ready.
The ci:run-swizzle opt-in and the release check's full swizzle proof are wired and tested, and the two spec sentences flagged in the previous review now match the labelled run. Two non-blocking notes: nothing on the pull request tells an author to add ci:run-swizzle, because the new not-run sentence in run-labels.cjs is never rendered; and a release re-check now runs the full proof twice, here and in the Main workflow's re-check legs.
Claims and files checked
Review mode: full; reason: spec-record
Claims:
- Without the label, the scope job proves no target, logs why, skips its full checkout and starts no leg: verified (workflow step and new test, red-first).
- The label follows the existing opt-in rule (newest application by someone with write access, effective on the next push): verified (
run-labels.cjsand its tests). - A change to the swizzle tooling adds the label: verified as a manual convention; nothing applies the label automatically.
- With the label the eight legs run as before, and all eight are added to the run's admission: verified (
label-legsin both waits, admission tests). - Every release check runs a new eight-leg job that proves every target in Chromium, each leg up to 30 minutes: verified (job definition and test).
- The release check needs that job and fails unless every leg passed: verified (needs list, join loop, tests for failure, skipped and cancelled).
- Main's Node legs keep proving the affected targets of each validated main commit, and the release re-check proves every target: verified (Main workflow, unchanged).
- Nothing is dropped, because a pull request loses only its own run: verified.
- The pull-request peak drops from 21 to 19 (up to eight fewer jobs a run), and the admission counter counts a running pull-request run the same way: verified (peak tests,
count.mjs). - The dispatch peak rises from 39 to 47 for the first-wave legs, and a running dispatch counts at 47: verified (the release-check peak test derives it from the job graph).
- The swizzle record now limits pull requests to labelled runs and has every release check prove every component in a browser: verified.
- The swizzle record's gap bullet goes because both of its clauses stop being true: verified (unlabelled pull requests no longer run the proof; the scheduled release checks of
mainnow prove every target). - The current-state line, the verification row and the known gap name the new job and its tests: verified, and the row's failure cell now allows a labelled run.
- The CI record's label rule now covers the swizzle proof, with no default check replacing it: verified, and its test-run sentence now matches.
- No admission number changes in a record: verified (the CI record states no peak job counts).
- Writing rubric results: verified against the edited record lines.
- Local test results: consistent; the changed test files pass on this head, and the exact tally was not reproduced.
- The new test cases listed: verified, each present.
- Red-first, the new cases fail on
main: verified (23 failures across the six changed test files on the base). - Prettier is clean and the knowledge check aligned: verified. Actionlint was not run here.
- One overlapping pull request conflicts in
ci.yml: verified. - Another overlapping pull request touches none of these workflow and admission-test lines: verified for those files. It also rewrites the same CI-record test-run sentence this head edits, where it already conflicts with
main. - The remaining overlapping pull requests merge cleanly: verified.
- Owning lane and land path: a process note, not a code claim; the exact-head spec approval is present.
Files:
.github/workflows/ci.yml: clear.github/actions/ci-admission/count.mjs: clear.github/scripts/run-labels.cjs: clear (non-blocking: its swizzle not-run sentence is never rendered).github/scripts/ci-admission.test.mjs: clear.github/scripts/ci-admission-count.test.mjs: clear.github/scripts/ci-heavy-lanes.test.mjs: clear.github/scripts/ci-swizzle-proof.test.mjs: clear.github/scripts/release-check-workflow.test.mjs: clear.github/scripts/run-labels.test.mjs: cleardocs/specs/AST-030/spec.md: cleardocs/specs/AST-110-swizzle-output/spec.md: clear
What
The swizzle proof (
spec:AST-110FR7) leaves pull-request CI and runs on main, and every release now runs it in full (spec:AST-110/DEC-3).swizzle-proof-scopeproves no target unless the pull request carriesci:run-swizzle, a new opt-in label under the sameci:run-*rule as the visual, accessibility and RTL labels (newest application from someone with write access; it takes effect on the next push). A change to the swizzle tooling adds it, and then the eight legs run as before; the label adds all eight to the run's admission (label-legs). Without it the scope job writesmode=nonewith the reason, skips its checkout, and the legs never start.release-swizzle-proofjob runs on the release-check dispatch: eight legs,SWIZZLE_PROOF_ALL=1andSWIZZLE_PROOF_BROWSER=1(every target, rendered in Chromium), legs up to 30 min.release-checkneeds it and fails unless every leg passed, so every cut commit has one full proof.Admission
count.mjscounts a running pull-request run the same way.count.mjscounts a running dispatch at 47.Records
ci:run-swizzle(spec:AST-030FR12); every release check runs it for every component in a real browser. The FR7 gap bullet is removed (both of its clauses stop being true with this change), the current-state line namesrelease-swizzle-proof, and the FR7 verification row and the known verification gap name it and its tests.ci:run-swizzle(last applied by write, maintain or admin; a label runs only its own suite); no default check replaces it.Writing rubric results
R1 narration: none; the two FR sentences and the current-state line state what the system does, in the present tense.
R2 research: none.
R3 evidence: the FR7 verification row names the job and its two test files, no change reference.
R4 rejected alternatives: none added.
R5 change references: none.
R6 open questions: none.
R7 project status: one found, the FR7 gap bullet; this change makes both of its clauses false, so it is removed, and the known verification gap names the checks that now exist.
Test plan
Local, inside the heavy-gate test slot, on the M5:
.github/scriptstest that readsci.yml(57 files) plusscripts/vitest-node-legs.test.mjs, then a re-run of the seven touched or slow files: 284 passed; the earlier full pass had only timeouts under load (a11y-pr-legs,fs-guard-tests,ci-stale-head-hint), and all three pass on the re-run.run-labelsnamesci:run-swizzleand its not-run sentence; the release-check job set includesrelease-swizzle-proofwith every target in Chromium; a failed, skipped or cancelled proof fails the release-check.main, the new cases fail (no opt-out branch, norelease-swizzle-proofjob, the release-check needs list without it).prettier --checkandactionlinton the touched files: clean.pnpm check:knowledge: templates and records aligned.Overlap checked: #12054, #12129, #12432, #12320, #12287, #12285, #12243 (#12054 regroups the pull-request swizzle legs and conflicts in ci.yml; with this change a pull request runs those legs only under
ci:run-swizzle, so its layout question narrows to that label run. #12129 shares ci.yml and two admission tests but touches none of these lines and merges cleanly with them. The others edit ci.yml or the CI scope scripts away from the swizzle proof, the admission peaks and the release-check job set, and merge cleanly)Owning session: noopbot (a61f66c2), under CI & Release (ca77f950). Land path: the shipper, through merge-guard, on green, CodeBunny approval and Specs' exact-head
/approve-spec.