Repository navigation
fix(e2e): bind Copilot runtime links to cold install receipts - #1147
Conversation
|
Strix is installed on this repository, but we couldn't run this PR security review because this workspace's trial has ended. Add a card to resume code reviews here. So far, Strix has reviewed 392 pull requests, surfaced 113 security issues (1 critical/high) and blocked 3 risky merges across this workspace. |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Import the accepted #1147 correction for the reproduced cold Project runtime-link refusal. Preserve the existing branch test ordering and all prior assertions while adding the four accepted authority regressions. Default Claude behavior and its private-child mask remain unchanged.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1147 +/- ##
==========================================
- Coverage 64.44% 64.43% -0.01%
==========================================
Files 2356 2356
Lines 143429 143429
==========================================
- Hits 92426 92423 -3
+ Misses 37909 37907 -2
- Partials 13094 13099 +5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Problem
The instrumented main21b Copilot job and R13 Copilot job passed all preflight tests except the unrelated explicit Claude availability skip, then passed the first four public stages and stopped at the cold Project preservation guard.
The rejected entry was the pinned Playwright npm runtime's
.bin/playwright-mcplink. The first job exported its link representation and a typed value digest matching the canonical relative target; the second exported the legacysymlinkfile representation. Neither job qualified cold refusal, later scopes or fresh profile E. Raw receipt and link metadata remain unexported.Change
Reuse the existing exact Playwright runtime-link authority for this Copilot checkpoint, with additional joins to the validated four-installation cold receipt set:
Default Claude behavior and PR1146's child
077creation setting remain unchanged. This changes the E2E preservation check, not CLI consent, installation, ownership or activation behavior.Verification
Four new inert test methods cover complete cold-refusal orchestration, 16 authority/namespace negatives, two substituted-document image cases, and seven baseline mutation cases. They reuse the existing pinned lock and filesystem fixture. All 17 existing Copilot test methods are unchanged.
The four-file candidate was reconstructed and reversed exactly against main
4e68de5cbf579e28a8304487882e73a17e5f7302. Relevant callers and open overlapping PR patches were checked. No unrelated source was imported.Tests are unrun locally because the executor is unavailable. Concrete independent source review and ordinary CI/genuine Copilot validation remain pending. The target digest match is not raw filesystem ownership evidence; actual admission still requires all checks above.
Follow-up to #1087. No workflow, runner, dependency, release or frozen VS Code changes.
Summary by CodeRabbit
E2E follow-up — final verification
The finite E2E follow-up for #1087 is complete. The original PR and all required corrections are merged. The final corrected Copilot scenario completed successfully at
2026-11-28T13:34:29Z; its own complete report and the source-dependent refusal, ownership, recovery and cleanup checks were independently reviewed.Final source and Copilot evidence
ff6c507ddcefd23d41d2f26a6fd0b545ab7b6022. Its reviewed head6c8c7204bf373bb7a18bba8399e3da22c19825ed, PR checkoutc4b10375c289aca8865981ade108ef2aaed23770and signed squash merge share tree3cf4e32118ec43ad66e64efb21ee2a1eee027b3b. No known fix remains unmerged.0.1.116with declared npm package@github/copilot@1.0.105. Its complete preflight selected 296 tests: 295 passed, one unrelated unavailable-Claude test skipped. All 21 Copilot regression tests passed, zero skips, in 1.629 seconds.0600config. Accordingly,cold_native_restore_qualified=false,virgin_native_trust_qualified=false,ui_consent_observed=falseandproduct_trust_grant_claimed=falseremain correct. This does not claim a positive virgin, unconsented native restore.passedandtwo_scope_lifecycle_qualified=true.f54f905f55d05477ee01ae6028a8d32e10b8b8db58784f81f624642ae71f2452) and the complete four-package signed closure. The separate current-production VS Code User boundary correctly refusedsaved_management_capabilitywithunsupported_saved_target; no separate VS Code binding or Editor runtime qualification is claimed.fdc88c9b82c938d81ebed121c494dbe6577fee93c5a12cb1caaf46c6fb9aa728. The complete extracted console JSON is 26,761 bytes, SHA256e0438b6529630194133f5a9615943024d2a7f83253d6dbb97e75c58e66957a6e. The uploaded artifact 15265905862 is 5,748 bytes; official API metadata and the own upload log agree on SHA2568523128fde0b03850a0bce8d5a78b727c4150d14bddaa65203dba8ca05842e48. The official download returned a file reference, but the unavailable executor prevented independent ZIP-byte hashing, member CRC checks and an archive/console byte join. Those archive checks remain explicitly unverified; completion is based on the complete own console report, source-mandated assertions and independent semantic review, not a claimed ZIP verification.Required checks and affected regressions
Both current PR Required and merged-main Required were independently qualified from their full logs on the exact checkouts above. Each passed 176 unique Go packages, 1,231 Node tests and all 133 conformance fixtures, plus generated checks and vet. Six explicit Node skips remain recorded. PR/main staged tests each passed one test with zero skips; all three merged-main SDK platforms and all nine executable main Required checks are green. Relevant lint, Polyglot and cross-platform checks also passed. Intentional classifier/path skips are not counted as passes.
The current 21-method Copilot module also passed independently in the R16 Cursor CI job and once locally on verified exact source. The current 11-method Claude discovery module and unchanged 30-method probe module each passed locally with zero skips: 62 focused inert local passes in total. The ordinary R15 Plugin pilot independently ran all 30 probe tests successfully, including both new child-mask controls. The new strict-mode retirement control passed in ordinary CI. No local native/vendor/compiler/build campaign was used.
Other completed corrections and original coverage
077mask to the genuine Claude fixture and private observer, preserving the strict0600reader and public CLI behavior. The genuine post-fix Claude job passed 381 preflight tests with zero skips, all 16 lifecycle stages and 25 native observations. All 50 exported raw-stream size/SHA joins and strict JSON checks passed. Its downloaded 72,308-byte ZIP independently matched SHA256bb7f45935297a244b5ce2d30bbbc7786d1c967e1399f39acf8c8de44a8f26ccf, all CRCs and the report/console join. Relevant R15-to-current Claude default-path source equivalence and the current 11-test discovery suite were checked explicitly. Finite custody/registration claims retain their own limits; full physical absence and writer closure are not claimed.47c896351b298ee21bb11eeae9a57e59ff86fa4fd9a5cf1e96384ce77d5b9f40, all CRCs and its own report/console join. This establishes the selected executable/version and lifecycle contract; native model/MCP/inventory claims are not added.0644failure remain attributed to their pre-fix sources. They are not current-code failures. The current complete Copilot run validates the correction after all three snapshot representations were covered by the focused regression suite.No skipped, cancelled, queued, metadata-only or Prepared observation is promoted to a native pass. Unexported raw receipt/readlink bodies and an independently probed Copilot native version/binary digest are not claimed. No new authentication, model, MCP tools-call, Editor-runtime or host-writer-closure coverage is implied. No CI reruns, dispatches, manual cancellations, runner/protection changes, release publication or unrelated source changes were used.