Repository navigation
test(ci): isolate environment-scoped signing in Git fixtures - #4075
Merged
Merged
Conversation
This was referenced Nov 15, 2026
Merged
schlessera
marked this pull request as ready for review
November 16, 2026 22:56
This was referenced Nov 16, 2026
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 #3485
What changed
Temporary Git fixtures now ignore inherited environment-scoped signing even when their product commands commit in-process or through CLI children. Twelve affected test files explicitly opt into
withoutSigningForEach, which uses the existingwithoutSigninghelper before each test and restores the original Git configuration environment afterward. The remaining fixture-only commit helper uses command-scoped-c commit.gpgsign=false.Why this shape
This follows the maintainer's fixture-local ruling in #3485 and builds on the merged #3117/#3486 correction for #3060. Importing the helper installs no override: only an explicit call in an affected file registers hooks. The shared preload,
keylessEnv, product signing behavior, host configuration and all existing assertions are unchanged. Existing repairs from the test-health work are retained. The audit includes all 42 current files represented by the issue's named files andsync-*inventory.Proof
Tested head:
be66700430f3269a8a21668399fa1c7afb0db711; base:cc326cc64348a765325adc1cbe74248d60844845(origin/main). All test invocations usebun run testand retain the offline guard.sync-runtime.test.tswith only the new opt-in call removed gives 0 pass / 8 fail and eightcannot run fixture-missing-signerdiagnostics. The temporary copy was removed; the committed original remains restored and passes its eight cases in the full environment-scoped run.NODE_OPTIONS=--max-old-space-size=6144. The runtime test wrapper builds its required workspace packages successfully.Configuration controls (42 files): environment-scoped signing, scratch-global signing, and no signing configuration each return 624 pass / 40 fail / 66,850 assertions. The same 40 test names fail in all three controls. There are zero missing-signer diagnostics; all 531 core cases pass in every control. Restored sync-runtime plus the unchanged hygiene/tags signing-policy suites pass together under hostile signing: 127 pass / 0 fail / 814 assertions. The 40 remaining failures are native-worker/HTTP runtime prerequisites on this host, including refused
/proc/self/uid_mapwrites, and are not presented as passing proof.bun run check:pr --base origin/mainpasses: 495 fast invariants / 3,620 assertions plus lint/leakage and metadata gates.Hosted native runtime qualification — 2026-11-16
Heavy-feedback run 43797929013, attempt 1 completed successfully. Admission binds PR #4075 to head
be66700430f3269a8a21668399fa1c7afb0db711and basecc326cc64348a765325adc1cbe74248d60844845. Although the workflow-dispatch run itself names its default-branch workflow revision, the actual checkout logs of all 14 selected test jobs independently show this exact PR head (tree3d77ff711b8cef07b2fab52ef0582d631ad7aafd, parent equal to the recorded base).All selected jobs passed: verify
133071256399; runtime_host133071256407; runtime133071256420; unit shards133071256532,133071256497,133071256506,133071256511; browser shards133071256421,133071256449,133071256469; layout shards133071256534,133071256427; captures133071256490; endurance133071256489. Admission and the final feedback aggregate passed. Packaging was explicitly unselected (pack=false), so its skip is expected; the supersede job was also inapplicable.The unit-job logs include every one of the 42 audited test files, including the real Chrome scratch-links suite and the native-worker/HTTP suites that failed on the local host: jobs-board-selection-http, maintenance-startup-view, module-settings-http, provider-mask-bridge, storage-maintenance-owners, storage-removal-worker and search-result-tags-adapters. This supplies the outstanding supported-host runtime qualification alongside the retained hostile-signing controls and mutation receipts; it does not relabel the historical local failures as green.
The single local receipt below remains valid for the unchanged head and the same tested base. Draft heavy feedback is feedback, not reservation-backed candidate confirmation; the orchestrator owns that final integration step.
{"version":1,"kind":"brain-check-pr-receipt","head":"be66700430f3269a8a21668399fa1c7afb0db711","base":"origin/main","mode":"focused","startedAt":"2026-11-15T22:24:58.419Z","finishedAt":"2026-11-15T22:29:17.795Z","checks":[{"name":"all lint and leakage gates","categories":["changeset"],"outcome":"passed","elapsedMs":20131.220851000002},{"name":"environment documentation","categories":["changeset"],"outcome":"passed","elapsedMs":161.55518799999845},{"name":"pending changeset package names","categories":["changeset"],"outcome":"passed","elapsedMs":134.71165499999915},{"name":"contribution changeset","categories":["changeset"],"outcome":"passed","elapsedMs":18.616542000003392},{"name":"affected fast invariants","categories":["verify","unit"],"outcome":"passed","elapsedMs":238912.94796700001}]}Checklist
Collisions
bun scripts/collisions.ts --json --pr 4075, refreshed 2026-11-16 at headbe66700430f3269a8a21668399fa1c7afb0db711: 28 shared-closure reports; zero textual, path or unknown collisions. The selection graph was built at this exact head.Anything left open
No implementation or native runtime verification remains. The orchestrator owns reservation-backed candidate confirmation and landing. No additional heavy run, confirmation or merge was requested during this handoff. The existing claim remains held; both PR and issue retain milestone 0.45.0.