Repository navigation
fix(ci): qualify oversized determinism files and warn before running - #4237
Conversation
|
Collision receipt for head |
…-oversized-determinism
|
Refreshed collision receipt for head |
…-oversized-determinism
|
Collision receipt for head |
…-oversized-determinism
|
Collision receipt for head |
…-oversized-determinism
|
Collision receipt for reserved head |
|
Delivered by PR #4237, squash cd896ac, in milestone 0.45.0. Hosted measurement run 44161515414 (attempt 1) passed two repetitions of all four originally identified heavy files under four CPU burners, with #4191's deadline factor 8. The heaviest report took 1429.3 seconds; its full step took 1433 seconds, so the 40-minute limit stays. The decision record contains estimates, elapsed times, job links and actual checkout provenance. The job now writes an oversized-file warning before starting tests, and a mutation-proven coverage test rejects a newly oversized file without recorded evidence. Focused preflight and the exact-head hosted repetition job passed; the PR body carries the receipts. Automatic squash main run https://github.com/schlessera/brain-kit/actions/runs/44190582369 is green, and actual checkout/parent/tree verification agrees with the inspected candidate. Issue and PR milestone 0.45.0 were read back after closure. Measurement PR #4232 is closed without merge and its local/remote branch is deleted. Main proof receipt: automatic push run 44190582369, attempt 1, all 17 executed jobs passed and every actual checkout log names the squash SHA. The ready-event run 44190576184 failed stale-candidate validation after the PR had already been squashed through the permitted fast lane. It was superseded by that merge, is not claimed as green, and was not rerun. Pre-merge qualification is draft run 44188769570 and the final check:pr receipt; full post-merge qualification is the squash main run above. |
Closes #4156
What changed
The determinism job writes an oversized-file warning before starting repetitions, so its summary still names the unsplittable file, estimate, capacity and step limit if the step times out. Hosted measurements cover all four files identified by the issue, and a coverage test rejects a newly oversized reviewed file without recorded evidence.
Why this shape
The floor stays at two and no file is skipped. The decision record accounts for the #4155 weight refresh and #4191's factor-of-eight watchdog scaling. All four files passed. The longest report took 1,429.3 seconds and its full proof step took 1,433 seconds, leaving 967 seconds inside the existing 40-minute limit, so no step-limit change or file split is needed.
Proof
toContain("Single file exceeds partition capacity"), receiving an empty summary during its first repetition.tests/test-determinism.test.tsa reviewed weight of 151 seconds;every reviewed file above the two-pass capacity has a hosted measurement inside the step limitfailedNEW_OVERSIZED_FILES_NEED_HOSTED_MEASUREMENT_OR_A_RECORDED_REMEDY, naming that file. Restored the reviewed weights; the test passed.bun run test ./tests/test-determinism.test.ts: 43 pass, 0 fail.7e4008a99199f708b0f71ae01f4d19b615248312, parents0aeb62a7acaef51deabe6a6bc84d3b7b1b72e286and33485434a248168db55d423199f3ff06cbe9fe89, tree6eafef9615efcf86ef47ff7172d9105b0057cd58; immutable API and local Git agree. These measurements describe that tree. The throwaway #4232 is closed without merge and its branch is deleted.51d0f6de637509a97bed014eb0a284a196199e80(fix(ui-kit): a not-posted GitHub draft shows its whole body (#4197) #4199), current head325df4bbc9e8e1688b1b623a44880943891256ec. The incoming five UI-kit/changeset paths do not overlap the issue paths. The merge is clean and all warning/test/decision/measurement blocks remain unique. The implementation patch is unchanged; no core package paths are in this PR diff.Current candidate: head
325df4bbc9e8e1688b1b623a44880943891256ec, base51d0f6de637509a97bed014eb0a284a196199e80. The exact-candidate lease is held while qualification finishes. Local preflight passed on this head/base; its exact receipt follows. The four-path diff remains fast-lane eligible and needs no independent review. Landing uses that permitted lane after all selected draft feedback passes; the squash receives full automatic main proof.{"version":1,"kind":"brain-check-pr-receipt","head":"325df4bbc9e8e1688b1b623a44880943891256ec","base":"origin/main","mode":"focused","startedAt":"2026-11-17T22:18:22.877Z","finishedAt":"2026-11-17T22:20:23.708Z","checks":[{"name":"all lint and leakage gates","categories":["changeset"],"outcome":"passed","elapsedMs":17267.43496},{"name":"environment documentation","categories":["changeset"],"outcome":"passed","elapsedMs":175.13414900000134},{"name":"pending changeset package names","categories":["changeset"],"outcome":"passed","elapsedMs":130.5916099999995},{"name":"contribution changeset","categories":["changeset"],"outcome":"passed","elapsedMs":22.68484499999977},{"name":"affected fast invariants","categories":["verify","unit"],"outcome":"passed","elapsedMs":103215.85893599999}]}Earlier draft feedback on head
6a221a9a5db554a924e9591871602144038bee79, base743f1547503e9ed5078ca7a533691aade0676618: run 44167838282, attempt 1, metadata job134338560127and determinism job134338960217passed. The changed tooling test file passed all five repetitions under four burners with factor 8 in 129.7 seconds (43 distinct cases, each five times). Both job checkout logs andproof-checkout.jsonnamecd424a34cf7bc54b78706670b5182c88d2b26467, parents743f1547503e9ed5078ca7a533691aade0676618and6a221a9a5db554a924e9591871602144038bee79, tree2686bf8f421fb6a3324f38e02da659d45dad5653. API, local object and candidate tree agree. No selected job failed or was retried.Earlier draft feedback on head
095bb96d920253a89710a1bdaf3b1a64617eca71, based84fca3e08dfa7c5b65973f931ab08d740537d02: run 44172766588, attempt 1, metadata job134355965917and determinism job134356568286passed. All 43 cases ran five times under four burners with factor 8 in 123.9 seconds. Both job logs and the checkout receipt namefd154fcc0e6eb166f11dcfb3ecd63641ea432c34, parentsd84fca3e08dfa7c5b65973f931ab08d740537d02and095bb96d920253a89710a1bdaf3b1a64617eca71, tree2187775de1ddf9ecaa702ce74af841a8caa52516; API, local object and candidate tree agree.Earlier draft feedback on head
250cf4bb355771e27de5b574648cb0b3d97b676c, baseade18f34fbfeb03f49a993268966974fd361cc69: run 44177942130, attempt 1, metadata job134374216213and determinism job134374829936passed. All 43 cases ran five times under four burners with factor 8 in 135.2 seconds. Both checkout logs and the receipt name597491870c35ada9e74cb9d6e69d0d6246c4b06e, parentsade18f34fbfeb03f49a993268966974fd361cc69and250cf4bb355771e27de5b574648cb0b3d97b676c, treeb5e603131e4616d288e2f592beb0628cacdebcbb; API, local object and candidate tree agree. The complete draft run passed.Exact-head draft feedback on head
f30e32bf50f5b8937eb9f2b00931545948f3cc6b, base29e3cb0dc89d880143205edab2ae01e4f12c52c7: run 44184661514, attempt 1 passed. Metadata job134397840391and determinism job134398402134checked out6e622b4c5951ae7c14a54aa1851cf637183889b1, parents29e3cb0dc89d880143205edab2ae01e4f12c52c7andf30e32bf50f5b8937eb9f2b00931545948f3cc6b, tree07011e032213b9be27b6761c01104f4509bed1d6. API, local object and candidate tree agree. JUnit and JSON confirm all 43 cases five times under four burners with factor 8, in 134.8 seconds.Final reserved-head draft proof: run 44188769570, attempt 1 passed. Metadata job
134412243919and determinism job134412764797checked outf96cc8a8b78ae36094266318dd8b2a3d49a685d8, parents51d0f6de637509a97bed014eb0a284a196199e80and325df4bbc9e8e1688b1b623a44880943891256ec, treedd1a3ed33991999684e69c263b2d3a939c8f8493. API, local object and candidate tree agree. All 43 cases ran five times under four burners with factor 8 in 138.0 seconds, confirmed by JUnit and JSON. Every selected draft job and the aggregate passed. The same exact head/base remains reserved for fast-lane landing.Checklist
Anything left open
Nothing.