Repository navigation
fix(vscode): acquire the host before genuine fixture preparation - #13128
EffortlessSteven wants to merge 2 commits into
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 22 minutes. View limit details
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
reviewed_head_sha: fbd88ed
integration_basis: original parent 5eb203f; current main 381fe7c; GitHub refs/pull/13128/merge is 6eca87f, tree 739a8c5fb8999eca298ebd8feb7ab83c1cdce625, with the current main and reviewed head as its two parents.
claim_boundary: #13122, editor host acquisition before the genuine actionable-queue producer in the retained Node launcher.
Inspected surfaces and owners
Read the complete four-file committed delta, the retained main path, download retry owner, actual workspace/multiroot staging, genuine producer validation, required-journey selection, failure finalizer and full-suite discovery. Verified every published changed blob against the inspected and tested snapshot. Current-main movement only changes an unrelated xtask current-state report and its changelog; the remote merge subject has the expected parent identities.
Correctness and failure review
The default runtime still selects the actual downloader, genuine producer, both host-launch paths and process exit. The new injection seam changes no production predicate. Host acquisition is awaited before the existing trusted/non-multiroot/no-supplied-queue branch. Required-journey setup, both trusted host uses, untrusted execution and failure finalization retain their owners. The genuine producer file is unchanged (blob d3695502f36f15872ad013ed329336c890c17bcc); execution-count, compiler-artifact, canonical-subject and receipt checks remain intact.
A rejected download yields zero producer and host calls and retains the exact original error. A producer error after acquisition still prevents host launch and preserves exit 1. Test environment mutations are restored after every control and work is confined to owned temporary roots.
Oracle challenge and observed proof
The six permanent tests invoke production main with real Git/filesystem staging and the existing error finalizer. Their external host/producer boundaries are deliberately synthetic. The deferred-promise control observes that no producer runs while acquisition is pending and that both host calls receive the acquired executable. Rejected acquisition, failed producer, untrusted, multiroot-only and supplied-queue cases discriminate the intended behavior.
Observed the retained old-order witness and its three ordering failures out of six controls. Independently executed the current six controls using Node 24.22.1 native type stripping: 6 passed, 0 failed, 0 skipped, exit 0. Whitespace validation passed. Full-suite discovery selects the new .test.js file after ordinary compilation.
Contract, platform and scope
The changelog uses the canonical Internal / CI fragment format. Documentation identifies npm test and test:e2e as equivalent and explicitly says the xtask server/TypeScript builds still precede the Node launcher. This patch avoids the additional genuine producer build after failed host acquisition; it makes no claim of eliminating all pre-download Rust work. No workflow, dependency, process/network allowance, output schema, trust boundary or support-tier change is introduced.
blocking_findings: none established by this source and behavioral inspection.
non_blocking_suggestions: none retained.
refuted_or_stale_findings: none. Provider quota notices are unavailable advisory output.
proof_and_ci_observed: exact four-file GitHub blob match; remote merge-ref identity; six passing hostless controls; old-order discrimination; clean whitespace; no inline review threads in the completed inventory.
proof_or_review_missing: full TypeScript type checking, npm compile/package, native editor-host and genuine Rust producer execution, and Cargo policy/ci-policy/precommit are to be obtained from the existing hosted qualification route. The local session has no usable Rust toolchain or installed TypeScript/Mocha dependencies. Node type stripping is behavioral evidence only.
affected_currentness_dimensions: runner ordering, test stimulus/oracle, contributor workflow text, candidate and merge-subject identities.
residual_assumptions_and_non_claims: source acceptance for the existing hosted request; final protected-merge judgment follows inspection of the actual qualification checkout, required results and current review conversation. No full setup, stable workspace, native Windows or release qualification is asserted.
Terminal disposition: incorporated in #13180PR #13128 is closed with its work accepted through #13180. Readback already showed The accepted protected squash is Acceptance verified in the actual landed source
These source identities match the retained prerequisite-acceptance comparison; the actual landed source was reread. No #13122 acceptance was lost and no unique implementation residual remains on this PR. Independent #13128 proof retainedFresh qualification 41953574674, attempt 1 is terminal success on head
Historical run Combined acceptance proofThe winning candidate earned its own qualification 41958667719, attempt 1, on head Final review 5779822144 and the winning PR retain native gates, 27,393 unique passing Rust cases, Linux editor 616 passing / 1 existing pending plus multiroot 1, and Windows producer 12 total / 9 passing / 0 failures / 3 declared POSIX-only pending. Required run status is independently read back success. No proof is transferred between the two head identities. Residual and retained resourcesThe original acquisition-ordering claim #13122 is accepted. Actual native-host execution before producer work and the cheap capability/frontdoor path belong to #13201 / Draft #13206; that candidate remains frozen pending its remaining activation prerequisite and has not requested qualification. Full environment restoration, cold/repeated/fresh-task provisioning, the memory/cache targets and release qualification are not completed by this closeout. The approximately 876 KiB local prerequisite source/evidence bundle is retained for #13206's prerequisite-composition review and the parent acceptance audit. Its local proof processes are terminal and it has no expanded native build. Earlier inherited proof artifacts remain preserved. No branch, candidate source, settings, merge protection or workflow request changed during this closeout. |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
ripr static exposure checkCommit Took 1s. |
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the documented npm test and npm run test:e2e equivalence requires package-script confirmation beyond the added prose.
- Confirm the behavioral controls do not establish genuine VS Code or Rust producer qualification.
Evidence gaps
- The permanent focused route requires compiled output that native type-stripping evidence does not establish.
- Model proof intent was rejected by deterministic validation.
- Available evidence does not include the requested base-plus-tests proof that the focused ordering control fails on base and passes on HEAD.
- The host-acquisition-before-producer behavior is discriminated by the focused host_setup suite.
EffortlessSteven
left a comment
There was a problem hiding this comment.
REPAIR_REQUIRED
reviewed_head_sha: fbd88ed
integration_basis: GitHub merge subject 6eca87f, tree 739a8c5fb8999eca298ebd8feb7ab83c1cdce625, with main 381fe7c and this candidate as parents.
claim_boundary: #13122 host acquisition before genuine queue production, with retained native host diagnostics.
Blocking finding: the new injected launcher call is await runtime.runTests, while the existing real-filesystem matrix log-reset regression extracts setup through the old await runTests delimiter. The native editor job therefore fails before exercising that regression's log-reset assertions. The exact source mismatch is confirmed in editors/vscode/test/suite/host_diagnostics.test.ts.
Observed proof: editor job 126956465872 passed npm installation, native compilation and packaging, then ran the real downloaded VS Code host. Its main suite reported 602 passing, 1 pending and 1 failing. The sole failure is “reused matrix setup keeps historical logs from crowding out the current failure,” at the “matrix setup must end before the native host launch” assertion. All six new setup controls passed. The diagnostics artifact is 13376113108.
Disposition: returned this same PR to Draft and withdrew merge-ready. Align the existing oracle with the new launcher boundary without weakening or skipping its behavioral assertions, demonstrate the repaired control fails when the matrix reset is removed, and requalify the reviewed new head. Existing successful build/package evidence remains bound to this original subject; it is not final acceptance for a future head.
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
reviewed_head_sha: e3cb204
integration_basis: real original parent 5eb203f; GitHub merge subject bc9a9b5, tree 053edf4e61d3f9b80cd1981ea3729929d9ebafb1, combining current main 381fe7c and this candidate.
claim_boundary: #13122, acquire the editor host before the genuine actionable-queue producer, preserving existing failure diagnostics and trust/reuse paths.
Cumulative source review and repair
Retained the directed review of the original runner, genuine fixture validation, retry owner, workspace/multiroot setup, required-journey selection, failure finalizer, new setup controls and documentation. The exact cumulative comparison contains the same four original blobs plus one changed line in host_diagnostics.test.ts. The production runner and genuine producer are byte-identical to the inspected predecessor; the latter retains its executed-test denominator, compiler artifact, canonical subject and receipt validation.
The sole repair aligns the existing diagnostics regression's extraction delimiter with the new runtime.runTests call. Direct inspection confirms it still binds exactly one matrix setup, executes the real setup with filesystem APIs, fills historical logs, invokes the retained finalizer, and asserts preservation of the current failure, first-host logs, unrelated profile data, receipt and byte bounds. No assertion or test was removed or skipped.
Blocking source findings after repair: none established.
Resolved finding: predecessor fbd88ed's native editor run exposed the stale await-runTests delimiter. That exact boundary assertion was reproduced locally and this one-line correction addresses its cause.
Nonblocking suggestions: none retained.
Advisory verification questions checked: package.json maps npm test to cargo xtask vscode-test and test:e2e to cargo xtask vscode-test-e2e; exact-head xtask/src/main.rs shows vscode_test directly delegates to vscode_test_e2e. The retained old-order witness differs from the runner by moving the awaited host acquisition back after producer setup, preserving the injected boundary seam. Its three intended ordering rejections establish the focused discrimination. This is an old-behavior-plus-seam proof, not a claim of running an unmodified base in a native editor.
Proof observed
The owning session independently reran the joined suites after inspecting the adapter: 32 retained diagnostics tests plus six setup controls, 38 passed, zero failed/skipped, native exit 0. Native Node type stripping executes the checked-in sources, real Git/filesystem staging and actual diagnostics finalizer; synthetic boundaries are confined to external host/producer calls.
The published-oracle replay gave 37 passes and one intended boundary rejection. With the repaired oracle, removing only resetHostLogDir(matrixUserData) gave 37 passes and one intended “historical logs crowded out the current failure” rejection. The production runner was restored byte-identically. Whitespace validation passed. The one-file API delta and all five cumulative blobs were verified before/after the expected-head update; synthetic partial-checkout history was not published.
Predecessor hosted evidence: native installation, TypeScript compilation and packaging succeeded; the real downloaded host executed 602 successful tests, one existing pending test, and the identified boundary rejection. All six new setup controls succeeded there. This is useful predecessor evidence; the updated head will receive its own compiled/native-host qualification.
Scope, currentness and next proof
The default runtime retains genuine implementations. Rejected acquisition starts zero producers/hosts and preserves the original failure. Required-journey predicates, trusted and untrusted routes, both host uses and supplied-queue behavior are unchanged. Test environment changes are restored and temporary data remains in owned roots.
Documentation accurately limits the optimization: xtask's server build and TypeScript compilation still precede the Node launcher; the avoided work is the additional genuine fixture build after a download refusal. The changelog remains accurate. No workflow, dependency, process/network allowance, output schema or support-tier change.
Current conversation/reviews/inline inventory was read. Provider quota notices supply no advisory evidence; the substantive advisory questions above are addressed by exact source and clearly bounded proof. There are no inline threads. The same candidate remains Draft for the completed repair handoff, with expected merge parents and no conflict.
Native dimensions to obtain: updated-head compiled editor, genuine producer/full host suite and required repository qualification. The local session has no Rust/Cargo or installed TypeScript/Mocha dependencies; its adapter is behavioral evidence, not a typecheck. Final protected-merge judgment follows actual hosted results and refreshed conversation. No full environment restoration, stable workspace, native Windows or release qualification is asserted.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the focused setup controls discriminate ordering and bypass behavior but do not qualify the genuine producer or downloaded VS Code host.
- Confirm the behavioral controls prove ordering through injected boundaries but do not establish genuine VS Code host or Rust producer qualification.
Evidence gaps
- The focused ordering control lacks the required base-plus-tests proof receipt, so base discrimination is not yet trust-affecting evidence.
- The requested base-plus-tests red/green receipt is still pending.
- Model proof intent was rejected by deterministic validation.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Bounded source review — 2026-11-05 UTC
- reviewed_head_sha:
e3cb204aaf3d4203d1b590cd7b98f098ba6e228b. - integration_basis: PR base
381fe7c461787f8089d8c73e0f7d89d30e876f56; authored patch and candidate source reviewed. No newly executed integration qualification. - claim_boundary: fix(vscode): acquire the host before genuine fixture preparation
- changed_surfaces_and_semantic_owners_inspected: runTest main runtime seam and acquisition ordering; genuine producer boundary; host diagnostics extraction delimiter; host_setup six scenarios; docs/test scripts
- blocking_findings: No additional actionable source finding established in this bounded review. Existing blockers and draft constraints retain their recorded scope.
- non_blocking_suggestions: None added.
- refuted_or_stale_findings: Existing thread dispositions retained; any specific repaired or refuted case is described in the inspection above. No thread is resolved by this review.
- proof_and_ci_observed: Read actual editor job126968526101: 603 passing plus matrix1, setup controls execute; current Rust gates running. Prior red/green and matrix-removal evidence preserved.
- proof_or_review_missing: Final integration and hosted qualification remain unestablished by this review. This bounded inspection does not grant merge clearance.
- affected_currentness_dimensions: This record binds source inspection to the head above. It does not establish fresh base-composition, hosted execution, package, release or cross-platform qualification.
- residual_assumptions_and_non_claims: Source/test reading and historical author reports are not additional test executions. No merge-readiness approval is implied.
- disposition: REVIEW_INCOMPLETE; no new actionable source finding in the stated inspection.
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_READY
Final exact-head source and integration review
reviewed_head_sha: e3cb204
integration_basis: head e3cb204aaf3d4203d1b590cd7b98f098ba6e228b with main 381fe7c461787f8089d8c73e0f7d89d30e876f56, qualified as merge commit bc9a9b5183d32d1ce4479e9f90c6555ce2f7b104 (tree 053edf4e61d3f9b80cd1981ea3729929d9ebafb1). The main delta since the original base changes only current-state repository discovery and its changelog; it does not intersect this runner.
claim_boundary: acquire the VS Code host successfully before invoking the genuine actionable-queue producer, retain trusted/untrusted/multiroot/caller-supplied selection and failure finalization, and document the bounded setup prerequisites and equivalent full-suite commands. This does not claim that all Rust or filesystem setup occurs after the download.
changed_surfaces_and_semantic_owners_inspected:
- Cumulative five-file diff; the complete
runTest.ts::mainorchestration, production runtime defaults, executable selection, catch/finalization, per-run matrix-log reset, and unchanged native entry guard. - All six
host_setup.test.tscontrols and their isolation/restoration; the historical/current matrix-log regression; suite discovery and the executed-test/required-journey denominator. - Unchanged
actionableQueueFixture.tsproducer and its one-test, compiler-selected executable, physical fixture root, canonical queue, original bytes and hash receipt checks. - Actual package commands, xtask delegation/staging, native editor workflow, and routed Rust/shard aggregation; contributor instructions and changelog.
blocking_findings: none remaining within this claim. The awaited host acquisition dominates the producer-selection branch; a rejected or still-pending acquisition cannot reach the producer. The production defaults still call the genuine producer. Bypass selection and diagnostic finalization remain on their existing paths.
non_blocking_suggestions: the unchanged synchronous genuine producer is the separately owned bounded-process follow-up (#13175). Moving its invocation after host acquisition does not worsen that behavior or claim to repair it.
refuted_or_stale_findings:
- The earlier matrix diagnostic failure was an oracle delimiter mismatch, repaired in this exact head. The historical-log reset removal witness still fails the intended current-failure assertion.
- The automated review's base-plus-tests and native-host evidence questions are addressed by the distinct observations below. The original base needed only the exported/injectable runtime boundary to execute the unchanged six new controls; the old ordering then failed those semantic assertions. This is not represented as an unmodified-base native build.
- Quota-limited/skipped review providers supply no clean-review evidence. The rejected automated proof intent remains rejected; this review does not convert it into an accepted machine receipt.
proof_and_ci_observed:
- Independently executed the unchanged six setup controls in the Node 24 adapter: current candidate 6 passed/0 failed/0 skipped; original-base ordering plus boundary plumbing 3 passed/3 failed/0 skipped. The three failures were producer invocation after rejected acquisition, producer invocation while asynchronous acquisition remained pending, and producer failure occurring before host completion. The three selection bypass controls passed both. Candidate source was restored and its Git blob identity reverified.
- Rechecked retained diagnostics/setup evidence against exact published blob identities: 38 passing controls, with the stale delimiter and matrix-reset removal witnesses failing the relevant regression. These local executions are behavioral evidence; the adapter is not a TypeScript typecheck.
- Directly inspected the current qualification's compiled native VS Code job: npm install, compile, package and xvfb execution passed on the stated merge subject with VS Code 1.145.0. Main suite: 603 passing and 1 existing pending; separate multiroot suite: 1 passing. The six new setup controls, repaired matrix diagnostic control and genuine-byte setup-files journey executed. Pending is not counted as pass.
- Hosted qualification run 41942863850: Rust gates, native editor, all four required test shards and the coverage verifier succeeded on the stated merge subject. The verifier's observed summary binds 27,293 listed workspace cases to 27,293 JUnit cases, with zero duplicates and zero omissions; all four shard reports come from attempt 1. Combined artifact: 13380634968, SHA-256 23c7347c6c6d752568a06202411ac3afc58115f45cbab99d1712384607b6a446. The required Result job 126999406464 is currently failure: its first refusing stage was the source-review attestation recheck, after the later bounded review recorded final qualification outside its observations. The native build/test/coverage jobs themselves are all success.
- Other applicable exact-head checks: Windows Result, Windows advisory subset, Rust-only feature lane, cargo-deny, dependency review, GitGuardian and Devin success. Inapplicable skips and neutral/quota-limited advisory providers are retained as such.
proof_or_review_missing: No remaining source or integration review gap for this bounded claim. A successful current required Result is still necessary for protected squash. The installed route's attempt/request binding requires a fresh merge-ready request after this review-state repair; the identical recovery is documented in #8858. A Result-only retry cannot consume another attempt's admission request. Native qualification will be requested through the existing route, and the final merge judgment will inspect its Result and unchanged head. Optional unavailable review providers are not counted as additional review.
affected_currentness_dimensions: source/proof subject is the exact reviewed head; hosted execution uses the verified combined tree; current review/Conversation/inline-thread inventory and all visible checks refreshed before the merge judgment. Inventory observed: 6 submitted reviews, 6 Conversation comments, zero inline threads, and 64 exact-head checks. The Result above is the only failed check; no active checks were reported. The 01:23 bounded source inspection found no additional actionable source defect and did not establish final hosted proof. This review adds the directly observed complete native and shard evidence.
residual_assumptions_and_non_claims: local Rust tooling is unavailable, so local Rust compilation is not claimed. Hosted compilation and full qualification are separately observed. This change does not repair host-network access, guarantee availability of a display/server, establish generic subprocess containment, qualify a release, or execute every platform-specific host route.
disposition: REVIEW_READY
Pin #13128 at e3cb204 and await its producer boundary before either host run. Retain async setup controls, original producer receipt authority, and owned process cancellation. Compose against inspected main e87bfe0 with real ancestry; no unrelated source files changed. Final landing remains after #13128 acceptance.
Accepted disposition
Closed as incorporated in #13180, which landed as
8e3b2f407e03bf8abaf091f30fb0648e4127c132on 2026-11-05. This PR was not separately merged. Actual landed-source comparison retains all #13122 acceptance, and #13122 is closed/completed. The terminal continuation records the exact source, independent and combined native proof, historical refusal, and residual scope.Summary
A blocked VS Code download previously surfaced after the genuine actionable-queue fixture had already compiled and run. The retained editor launcher now awaits host acquisition before invoking that producer. Six behavioral controls exercise the actual launcher and its failure finalizer.
Contributor instructions also clarify that
npm testandnpm run test:e2erun the same full suite, and explain the network/display prerequisites.Closes #13122.
Swarm / Source Boundary
Ordinary editor test-harness and contributor-workflow development in
EffortlessMetrics/ripr-swarm.Source-of-truth Links
Proposal: none
Spec: none; internal test-harness ordering and failure contract is defined by #13122
ADR: none; preserves the current host and genuine fixture owners
Plan item: #13122
Governing issue or accepted claim: #13122
Acceptance delta (one sentence): The real editor test launcher awaits successful host acquisition before invoking its genuine actionable-queue producer and retains existing trust, reuse and failure behavior.
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication): fix/13122-editor-host-prerequisite
Stack parent or prerequisite PR (if any): none
Proposed replacement of PR (if any; not yet accepted): resolved; #13180 is the accepted combined landing vehicle.
Acceptance retained from a replaced candidate (if any): #13180 retains every acceptance item and all six setup controls from this candidate; its seventh control additionally discriminates awaiting the producer.
Accepted winner and losing candidate disposition (when decided): #13180 accepted by protected squash 8e3b2f4; #13128 closed as incorporated with no unique implementation residual. #12974 remains a separate managed-download rehearsal.
Acceptance and Evidence
The six checked-in tests invoke exported production
mainwith only downloader, producer, host-launch and process-exit boundaries supplied. They use real filesystem/Git staging and the retained diagnostics finalizer. The default runtime still selects the genuine implementations.actionableQueueFixture.tsis unchanged, including its executed-test denominator, compiler artifact, canonical subject and receipt validation.Proof Observed
Candidate:
e3cb204aaf3d4203d1b590cd7b98f098ba6e228bBase:
5eb203f6a7919979a4296bf60b1aa9e82f58b147Tree:
2f80adf35e74b3ad6ba5e8b23f2da126571022c3fbd88ed6passed native npm installation, TypeScript compilation and packaging, then launched the genuine VS Code host. The main suite reported 602 passing, 1 pending and one candidate-induced source-delimiter failure in the existing matrix-log cleanup regression.await runtime.runTests. The local published-oracle replay reproduced the boundary failure (37 passed / 1 failed). The repaired oracle passes all 38. Removing the actual matrix-log reset call then produces the intended “historical logs crowded out the current failure” rejection (37 passed / 1 failed). No assertion was weakened or skipped.After the normal extension compile, the focused route is:
cd editors/vscode node node_modules/mocha/bin/mocha.js --ui tdd out/test/suite/host_diagnostics.test.js out/test/suite/host_setup.test.jsBoth suites are discovered by the existing full-suite loader.
Execution gaps
The local adapter is behavioral evidence, not a TypeScript typecheck. Updated native proof was subsequently obtained: independent run 41953574674 attempt 1 completed successfully on e3cb204, including compiled editor 603 passing / 1 existing pending plus multiroot 1 and 27,293 Rust cases. The combined candidate earned its own successful run 41958667719 attempt 1 before #13180 landed. These subjects and their complete receipts are recorded in the terminal continuation; predecessor fbd88ed evidence remains predecessor evidence. Pending is not counted as a pass.
Claim Boundary and Rollback
The xtask wrapper's server build and TypeScript compilation still precede the Node launcher. This change avoids the additional genuine queue-producer build after failed host acquisition; it does not establish that npm performs no Rust work before the download.
No new downloader, fabricated queue, subprocess-containment promise, release qualification or network/settings change. Reverting this five-file delta restores the previous order.
Changelog and Traceability
Fragment:
changelog.d/13122-vscode-host-before-producer.md, canonicalInternal / CIsection, bullet and trailing issue reference.Code:
editors/vscode/test/runTest.ts.Proof:
editors/vscode/test/suite/host_setup.test.tsand the retained matrix cleanup control inhost_diagnostics.test.ts.Guidance:
docs/TESTING.md.No public semantic/golden change or new support claim.
CI Economics
Continuation
The owned continuation record carries current review, qualification, dependency and next-transition state.