Repository navigation
chore(ci): retire browser proof retention and repeat changed tests under load (#4107, #4109) - #4134
Merged
Merged
Conversation
The pin let a ready PR retain browser proof from an earlier run, but the hybrid ruling moved browser proof to the squash's main run, where it is always fresh. All three pinned source files had also drifted, so the binding could no longer qualify. Its only effect left was to fail unit on every dependency change until a manual Docker requalification moved it; three requalifications produced byte-identical output. Remove the binding and its self-test, and stop the browser input closure, worker audit and inclusion inputs from carrying its identity. The container boundary and the producer's run-time checks are unchanged. A guard test keeps the retired identities from being pinned again. ci-proof.ts and visual.mjs still read the now-absent field; they are audited sources, so that dead branch goes at their next re-audit. The maintainer ruling of 2026-11-16 is recorded in ci-utility.md, superseding the 2026-11-02 and 2026-11-11 requalification rulings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every workflow referenced its actions by a mutable major tag. Each uses: now names the full commit that tag pointed at on 2026-11-16, with the tag as a comment. scripts/action-pins.ts owns the table; the workflow lint refuses a tag, a branch, an unreviewed commit or a missing tag comment in any workflow file, and the generated heavy-feedback workflow keeps the comments its YAML rendering drops. No action moves to a newer release. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…4108) Ready confirmation and draft heavy feedback plan up to eight unit partitions; main pushes and exhaustive runs keep four. UNIT_PARTITIONS in scripts/proof-shards.ts is the one owner: the planner reads it by cadence, the hosted aggregate refuses a published partition set that differs from the plan, the merge path bounds the confirmed set by the confirmation cap, the weight refresh takes its job count from it, and the workflow guard refuses a literal unit matrix or divisor. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…4108) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…nto chore/ci-pipeline-bundle
…' into chore/ci-pipeline-bundle
…4110) scripts/review-receipt.ts writes, posts and reads the record of an independent review: one PR comment in a fixed block naming the reviewed head, the base, the reviewer as agent or human only, and each finding with exactly one disposition. It decides whether a record covers a candidate head from real Git ancestry: merges of the base keep it valid; a new commit, a rebase or an amend does not. scripts/fast-lane.ts is the single owner of the core-package path rule that the fast lane and the review requirement share. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…orded review (#4110) confirm checks before it takes the reservation or requests candidate CI, and the merge reads the record again. A PR outside the core packages is never asked and its comments are never read. An expedited red-main fix is exempt. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…iew step (#4110) The 2026-11-16 maintainer decision gets its own section in the CI decision record, and the fast lane section cites the shared path predicate. The work-issue skill and its CI reference gain the step: when to request the review, how to start a reviewer that is given only the PR and its issue, how to answer findings and when a new review is needed. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…y the comment reads back (#4110) A finding's summary can contain a mention or an issue reference. Outside a code fence GitHub would notify or link it, so the comment now carries the findings only inside the block, pretty-printed, under one line of counts. post refuses a comment its own reader cannot parse back. The decision record's citations follow the lines this change and the gate's import moved. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Add bun scripts/test-determinism.ts. It selects the Bun test files a change adds or modifies against its merge base and runs them through the offline test wrapper with --rerun-each and --bail=1 while one busy loop per CPU runs. Five repetitions by default, reduced uniformly to a floor of two when the reviewed weights exceed the 600-second budget; no selected file is skipped and the report lists each with its repetitions. Burners are killed by PID on every exit path and exit by themselves when their parent dies. The planner records the selection for pull requests and selects determinism at every pull-request cadence, drafts included, and never on main. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…4109) Add the hosted determinism job with the unit job's runtime prerequisites, and the same job in the generated draft heavy feedback workflow. The proof and draft gates aggregates, the feedback aggregate and the merge path require it when selected and its intentional skip otherwise. check:pr never runs it and names the command in --plan. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…chore/ci-pipeline-bundle
…minism (#4109) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The command appends its table to GITHUB_STEP_SUMMARY. The fixture runs now write to a scratch file, and the receipts assert on it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ommit (#4121) The independent review gate counted commits, so a conflict resolution or an edit added while merging the base rode into a core-package PR unread. A merge commit now keeps a record valid only when it is clean: two parents, and exactly the tree Git's automatic merge of them writes. A resolved conflict, an altered merge and an octopus merge need a new review of the current head; a merge that cannot be recomputed is refused too. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Retention could no longer run: ready confirmation selects neither browser nor layout under the hybrid ruling, and main and exhaustive runs are always fresh. Remove the retained-proof lookup, its ledger, the aggregate's revalidation, the inclusion fingerprint and the fresh-execution receipt. - ci.yml has no retention step and no run_browser, run_layout or reuse output; browser and layout run on the planner's selection alone. The checks: read permission, which only the lookup used, is dropped. - The aggregate excuses no skipped selected job. integrate.ts merge refuses a selected-proof receipt that names a retained category. The receipt keeps an always-empty retained list so older checkouts and the timing collector still parse it. - The read-only GitHub client moves from proof-reuse.ts to proof-api.ts. - The two live discovery tests from the retention suite move to browser-inventory-process.test.ts. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The audited bindings resolved runtime edges so that a browser closure could be called complete for retention. Each pinned the SHA-256 of first-party source, and its self-test read the live file, so a product change to a pinned file turned unit red until the hash was recomputed. Remove the command-activation, document, runtime-reader, dispatch, payload, locked-asset, generated-CSS and theme bindings with their frozen fixtures and self-tests. The closure walker keeps static imports, CSS inputs and the declared inputs; an edge a binding resolved is now unresolved, and closureSelects keeps the planner's broad rule for it. replay-browser-selection.ts takes a baseline report and lists every category the earlier rule selected and the later one omits. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…y green (#4107) One test refuses a script or test that holds the SHA-256 of a first-party source file. The other copies the tree, changes the bytes of two formerly pinned product files, and requires planning and the root tests the planner's file-input table selects for them to pass. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Replace the retention section of the CI decision record with a short record of what was retired and why (maintainer decision 2026-11-16, superseding #1333, #2126 and the #2408 re-audit rulings), keeping the parts that describe live behaviour: selection, the zero-Worker boundary, the native producer's container boundary and the discovery deadline. Remove retention and re-audit guidance from the testing guide, the contributor guide and the work-issue and github skills, and document the replay comparison. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…to chore/4107-retire-browser-retention # Conflicts: # scripts/source-browser-dispatch.ts
…n gate (#4109) The first hosted determinism run failed in the gate's own test. Under GITHUB_ACTIONS Bun 1.4.2 prints each run header as ::group::<file>: (run #k), which the failure parser did not read, so a failure lost its file and repetition. The parser reads both forms, and the racy-fixture receipt now runs under the plain and the log-group reporter. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…dle-2 # Conflicts: # docs/decisions/ci-utility.md # docs/decisions/test-health.md # scripts/integrate.ts # tests/ci-plan.test.ts # tests/hosted-proof.test.ts # tests/integration-proof.test.ts
…ation It shared ask-user-dom.ts, whose body runs once per process. When ask-user's test ran first in the same worker, its afterAll unregistered the DOM and the image markup test failed with "document is not defined". Retiring the native diagram test reshuffled unit partitions and put the two together. A sibling module per file is the contract ask-user-dom.ts documents. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ord (#4105) The record's sourceAudit.native still held the frozen #2293 source, installation and runtime hashes, though nothing reads them since the binding was removed; qualification compares the computed identity and counts, never those bytes. The retirement guard now scans JSON as well, and fails first on the old record. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ive binding (#4105) The release skill and diagnostic guide no longer tell a contributor to keep qualification pins unchanged, ci-utility.md calls the native fixture's container a boundary rather than a binding, and the worker audit record's scope gains a dated note that its native qualification statements are historical. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The guard now also names #2293's installation and the qualified producer runtime, the two identities removed from the worker audit record. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ent (#4105) The browser still checks the handoff session, checkout and artifact hashes; the comparisons against an expected source, installation or runtime identity took it from the retired binding and no longer run. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ive-pin # Conflicts: # docs/decisions/ci-utility.md
…dle-2 # Conflicts: # docs/decisions/ci-utility.md
…to chore/ci-pipeline-bundle-2 # Conflicts: # docs/decisions/ci-utility.md # scripts/browser-worker-audit.json
|
No attachments are currently associated with this pull request. Maintained by uploads.sh · |
…to chore/ci-pipeline-bundle-2
…dle-2 # Conflicts: # CONTRIBUTING.md # docs/decisions/ci-utility.md # scripts/browser-input-closure.ts # scripts/browser-worker-audit.json # scripts/browser-worker-audit.ts # scripts/inclusion-inputs.ts # scripts/proof-inputs.ts # tests/browser-worker-audit.test.ts # tests/native-diagram-retired.test.ts
schlessera
marked this pull request as ready for review
November 17, 2026 04:26
This was referenced Nov 17, 2026
Open
Closed
Closed
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.
Closes #4107
Closes #4109
What changed
Two proof-system changes as one squash, as the proof-system lane allows. Each was built and proved on its own branch; this PR is their merge.
tests/first-party-source-pins.test.tsrefuses a new pin of first-party source.bun scripts/test-determinism.tsreruns the test files a PR adds or modifies, five times by default, while busy loops occupy the CPUs. The hosteddeterminismjob runs it at every pull-request cadence when the PR changes a Bun test file, anddraft gatesandproofrequire it when selected.Order. #4106 (the native pin retirement, #4105) and #4122 (action pins, eight unit partitions, the review gate) have both merged; this branch is refreshed on main and contains only its own two changes.
Why this shape
One squash is one lease cycle and one stability window. The two changes meet in
ci.yml, the workflow lint and the aggregates; merging them here resolved those once: the newdeterminismjob references its actions by commit, and itsiffollows the planner-selection-only form #4107 introduces. Per-change reasoning is in #4126 and #4118.Proof
Passed on this head: 1,216 pass, 0 fail in the affected fast invariants.
ci-workflows,ci-plan,hosted-proof,heavy-feedback,integration-command,integration-proof,test-determinism,first-party-source-pins,browser-input-closure,review-receipt).workflow_dispatchofCIon this branch atf550a6474, run 43997530775: every category green, withbrowser(3 shards),layout(2),captures,endurance,runtimeandruntime_hostall running fresh from the branch's own workflow, which has no retention step. Draft heavy feedback could not serve: it runs main's copy of the workflow.determinismjob passed on that same head (19m53s).verify,pack, the complete unit tier anddeterminismon the final head.{"version":1,"kind":"brain-check-pr-receipt","head":"2d442177ad04f1525b76b931f8d1719346b06af8","base":"origin/main","mode":"focused","startedAt":"2026-11-17T03:47:09.986Z","finishedAt":"2026-11-17T03:48:44.807Z","checks":[{"name":"all lint and leakage gates","categories":["changeset"],"outcome":"passed","elapsedMs":12916.197574999998},{"name":"environment documentation","categories":["changeset"],"outcome":"passed","elapsedMs":124.21589200000017},{"name":"pending changeset package names","categories":["changeset"],"outcome":"passed","elapsedMs":102.49761500000022},{"name":"contribution changeset","categories":["changeset"],"outcome":"passed","elapsedMs":20.1927340000002},{"name":"affected fast invariants","categories":["verify","unit"],"outcome":"passed","elapsedMs":81640.849531}]}Checklist
docs/reflect the change, or nothing documented moved.Guard checklist. The
determinismjob restricts one PR's merge, only when that PR changes a Bun test file. It names the failing file, repetition and case, keeps no state, and clears when the test is fixed and pushed. The first-party pin guard acts in the unit tier only and names the offending file.Anything left open
determinismstep limit even at two repetitions.scripts/test-shard-costs.jsonyet.🤖 Generated with Claude Code