Repository navigation
test(experiments): assert synchronous Git revision refusal - #4036
Merged
Merged
Conversation
This was referenced Nov 15, 2026
schlessera
force-pushed
the
test/4033-git-qualification-refusal-20261115
branch
from
November 15, 2026 20:08
653af76 to
f790512
Compare
This was referenced Nov 15, 2026
Merged
schlessera
force-pushed
the
test/4033-git-qualification-refusal-20261115
branch
from
November 16, 2026 17:04
f790512 to
3828a2e
Compare
9 tasks done
schlessera
force-pushed
the
test/4033-git-qualification-refusal-20261115
branch
2 times, most recently
from
November 16, 2026 20:47
d355fe3 to
c97bb2c
Compare
Merged
9 tasks done
schlessera
force-pushed
the
test/4033-git-qualification-refusal-20261115
branch
2 times, most recently
from
November 17, 2026 00:03
3e140f1 to
1818c5c
Compare
8 tasks
schlessera
force-pushed
the
test/4033-git-qualification-refusal-20261115
branch
from
November 17, 2026 00:35
1818c5c to
3056ffd
Compare
…3-git-qualification-refusal-20261115
…3-git-qualification-refusal-20261115
…3-git-qualification-refusal-20261115
8 of 10 tasks
…3-git-qualification-refusal-20261115
10 tasks done
…3-git-qualification-refusal-20261115
…3-git-qualification-refusal-20261115
schlessera
marked this pull request as ready for review
November 17, 2026 07:02
This was referenced Nov 17, 2026
Owner
Author
|
FYI for #4033: #4149 is fixed by #4160, merged to main. The failed confirmation run 44035623508 timed out in discovery because its runner was starved of CPU: checkout and install each took about 5× their usual time, and discovery takes 5–14 s elsewhere. Discovery itself hasn't slowed. A fresh confirmation request should get past discovery. If it times out again, the receipt now records the child's CPU time and the runner's load, which will show whether the runner was starved. |
This was referenced Nov 17, 2026
…cation-refusal-20261115
schlessera
marked this pull request as draft
November 17, 2026 11:11
schlessera
marked this pull request as ready for review
November 17, 2026 11:12
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 #4033
What changed
The offline Git qualification case now captures the direct PR revision's synchronous
ReferenceTransportErrorand assertsreason: "invalid". It then reaches the existing real-Git redirect refusal checks. Previously the unexpected synchronous throw aborted the case before redirects were exercised.Why this shape
This reconciles the experiment with the existing branch/tag-only admission contract. Production revision acceptance, shared fixtures and Pi measurement are unchanged. This test-only correction needs no consumer changeset or contract update.
Proof
Current head
b8bfa18c25fd10773641fc3d0fc254605311c8b1, branch basec26fb229fa1ef920ce219e77256e859e9982c263after a clean merge of current main. The experiment and reference transport are unchanged. Fresh offline real-Git execution at this head passes six tests / 60 assertions, and all five preflight gates pass (1214 tests / 8197 assertions / 52 files). The unchanged lock retains its isolated installation; no dependency reinstall or version change was needed. This experiment-only diff remains outside the independent core-package review gate. Earlier failing-first and mutation receipts retain their actual identities.ReferenceTransportError/invalidstops the resolver case at the direct-ref call.b8bfa18c25fd10773641fc3d0fc254605311c8b1, Bun 1.4.2,bun run test ./experiments/git-read-qualification.test.ts: six pass / zero fail / 60 assertions. The fresh--network=none --cap-drop=ALL --security-opt=no-new-privilegescontainer records onlylo, no routes and zero capability sets; real Git is contained by that boundary and the ordinary test preload.refs/failsDIRECT_PR_REVISION_REFUSED_SYNCHRONOUSLY(expectedReferenceTransportError, receivedundefined).http.followRedirects=truefails the redirect resolver assertion (expectedok:false, receivedok:truewith the redirected private fixture's commit).bdd8093610c9ef4891d4957e4c16158fcb0c4ff8259ea72a08406283f707c0be; no version or assertion was changed to make it pass.{"version":1,"kind":"brain-check-pr-receipt","head":"b8bfa18c25fd10773641fc3d0fc254605311c8b1","base":"origin/main","mode":"focused","startedAt":"2026-11-17T11:06:57.966Z","finishedAt":"2026-11-17T11:09:03.977Z","checks":[{"name":"all lint and leakage gates","categories":["changeset"],"outcome":"passed","elapsedMs":22623.044985},{"name":"environment documentation","categories":["changeset"],"outcome":"passed","elapsedMs":197.9081640000004},{"name":"pending changeset package names","categories":["changeset"],"outcome":"passed","elapsedMs":289.60387400000036},{"name":"contribution changeset","categories":["changeset"],"outcome":"passed","elapsedMs":26.902017999997042},{"name":"affected fast invariants","categories":["verify","unit"],"outcome":"passed","elapsedMs":102854.26223200001}]}Collision inventory at
5e65b95de44f121f4c7e7fae9ca8910c3f626a94: closure: #3054; closure: #3056; closure: #3059; closure: #3069; closure: #3581; closure: #3622; closure: #4002; closure: #4102; closure: #4139. Other branches retain their owners.Earlier incidents #4098 and #4125 are cleared. The current #4170 incident is confined to post-merge browser proof, so it does not block ordinary candidate confirmation under the hybrid ruling. Four ordinary confirmation attempts were refused busy before acquisition. A fifth ordinary confirmation acquired its reservation and requested candidate proof, then failed in native Vitest file discovery before product tests could execute. The helper exited 1 and released its owned reservation; no helper or owned lease remains.
Candidate run 44035623508, attempt 1:
changesetjob 133877677175 timed out after 30,333 ms against the unchanged 30,000 ms discovery cap, with no published inventory. Theproofaggregate job 133878748666 refused incomplete proof and 44 checks were skipped. Actual checkout2ad66730d7f0e85e772e210d81fdc9e7ac15ed02has parents based974052166f335cbf57b385fddc13875da1b98dethen headf62a5f6a6f93aeb664edde38961bda96d3816b72, tree3c00feb182fbad2dc87fb2c8b32dcbd18772a0f8. This is not green and does not establish a product assertion failure. The original failure remains unqualified. #4149 is now closed by #4160 (ddb5b5c846b01e3933d8346283e21a6a5844118b): independent replay found runner starvation (the exact prior tree discovers within about five seconds on two CPUs), and the merged diagnostic records CPU versus wall time without changing the 30-second deadline. That new evidence and refreshed main justify a fresh ordinary confirmation; Vite warnings were not the cause.This test-only correction changes nothing on the provider turn path. Fixture checks establish no production native/backend equivalence or complete experiment-tier release receipt.
Anything left open
The independent CI diagnosis #4149 is delivered. Selected candidate proof and automatic-main reconciliation remain pending. #4002 and the remaining #3613 safety work remain open.