Repository navigation
test(vscode): rehearse packaged managed server download (#9469) - #12974
Conversation
|
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 34 minutes. View limit details
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
Independent source inspection: no blocking source defect found. Disposition: REVIEW_INCOMPLETE, not merge clearance.
- Reviewed head:
d4fb772e443e5346061501b9055e84dc41e640f9; live base:73226d894fae0214cf21a15cb7e555b57e27a4d2. The reported local basis05b9f30daab2c734d4eb7203d2fb95a8a08787bcpredates one unrelated nesting-analysis commit. - Inspected all eight changed files plus the descriptor generator, VSIX packaging/verifier, downloader, managed installer, resolver and activation path. Source binds the original qualified identities, then separately binds the mirror manifest before packaging. The positive requires managed download and a real LSP response; fresh-profile negatives require their intended checksum diagnostic, no fallback/completed install and the expected request counts.
- The workflow remains dispatch/call-only with read-only repository permissions. The inspected command path packages without publishing. Disposable TLS/profile state is excluded from uploaded evidence.
Existing comments:
- Edition 2024: the compatibility premise does not apply to this lane, whose manifest job pins Rust 1.95.0. The suggested replacement also removes the fixture package name/version and should not be applied.
- Workspace assertion: nonblocking diagnostic improvement. The harness supplies the workspace before activation, and the successful server path requires a workspace. Absence would fail the test rather than falsely pass it.
Evidence boundary: no tests were rerun in this inspection. Compile, six controls, mutation witness, packaging and policy passes are reported in the PR body, not independently observed here. Actual installed-host execution, same-run qualified archive custody, the three host receipts and hosted qualification remain unverified. Source inspection does not establish those runtime results. At inspection, CI/VSCode checks were skipped, CodeRabbit was quota-limited and ub-review was still running. Keep the candidate in flight until those claim-essential results are inspected.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Bounded source review — 2026-11-05 UTC
- reviewed_head_sha:
d4fb772e443e5346061501b9055e84dc41e640f9. - integration_basis: Current PR base
73226d894fae0214cf21a15cb7e555b57e27a4d2; authored patch and immutable candidate source. No new combined-tree qualification. - claim_boundary: test(vscode): rehearse packaged managed server download (#9469)
- changed_surfaces_and_semantic_owners_inspected: admitted exact source/archive/schema → rewritten test mirror descriptor → packaged VSIX install in fresh hosts → real LSP ready/refusal oracle Full500line rehearsal chain incl restore tail read. Valid and whitespace-manifest/archive-tamper cases use same immutable VSIX; observed receipt selected/executed/outcome and request counts asserted; negatives require no completed server receipt; descriptor/VSIX restoration and private key removal checked. Existing workspace assertion/edition portability comments do not establish bounded Linux host defect. No new finding.
- blocking_findings: No additional actionable source finding established within this inspection. Existing review constraints and known proof gaps remain.
- non_blocking_suggestions: None added.
- refuted_or_stale_findings: Existing thread dispositions retained; specific source-verified repairs or deferrals are described above. No thread is resolved by this review.
- proof_and_ci_observed: No local native VS Code/qualified archive execution; authored rehearsal does not alone qualify installed recovery; metadata/log receipt for this host scenario missing.
- proof_or_review_missing: Exact-head final qualification/current integration synthesis not independently completed in this pass; only bounded inspection above claimed.
- affected_currentness_dimensions: Source, test stimulus/oracle and producer-consumer claims bind to the head above. Historical execution remains bound to its original subject; no fresh base-composition or cross-platform execution is implied.
- residual_assumptions_and_non_claims: Source reading and author reports are not new native passes. Existing Draft/hold boundaries remain; this is not merge clearance.
- disposition: REVIEW_INCOMPLETE.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016EQRVk9uwnL9VvomuYVpuW
|
Claim: driving this PR to squash-merge.
Generated by Claude Code |
…hover round trip Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016EQRVk9uwnL9VvomuYVpuW
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Exact head 63d08f3 reviewed: workflow steps, rehearsal contract and host modules, docs and process allowlist entry, current main merged. Receipt admission asserts source, tree, archive and executable identities; the tamper controls separate raw-manifest from archive refusal. Both bot threads have replies and are resolved. No publication or credential surface is touched.
Generated by Claude Code
ripr static exposure checkCommit Took 8s. |
…e workflow contract Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016EQRVk9uwnL9VvomuYVpuW
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016EQRVk9uwnL9VvomuYVpuW
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Exact head f8fcb65 reviewed. Since the earlier source review, the xtask archive-workflow contract test now counts the sixth artifact upload that this PR adds, and current main is merged. All review threads are resolved.
Generated by Claude Code
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Exact head f8fcb65 reviewed after the last thread reply: workflow steps, rehearsal modules, xtask contract count, docs and allowlist. All threads have source-backed replies and are resolved.
Generated by Claude Code
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- The workflow hardening packet cannot substantiate GitHub Actions supply-chain or expression-safety claims because zizmor was not installed.
Verification questions
- Confirm the contract test proves admission and receipt-retention units but does not execute the installed extension-host path.
- Confirm workflow validation failed before this review, so syntax or expression defects may remain despite the runtime-oriented TypeScript controls.
Evidence gaps
- The actual installed-VSIX composition remains unproven until the hosted archive workflow completes successfully.
- Model proof intent was rejected by deterministic validation.
- Actual installed-extension success, tamper refusal, and request-count semantics remain runtime claims without a focused base-plus-tests receipt.
- The acceptance claim still depends on a hosted same-run archive/VSIX execution that has not produced a receipt.
Summary
Draft / REVIEW_INCOMPLETE. Adds #9469's Linux x64 non-publishing composition rehearsal to the existing read-only server-archive workflow. It consumes that run's archive and schema-4 receipt, binds a separate local HTTPS mirror manifest through the real descriptor command, packages/verifies one VSIX, installs it with the VS Code CLI, then exercises three fresh extension-host profiles.
The positive requires managed_download, exact archive/executable/manifest identities, completed installation and a real hover round trip after LSP initialization. Parseable raw-manifest tampering and archive tampering must expose their intended checksum failure without a running fallback or completed install. Original qualification inputs are preserved; descriptors and the normal package output are restored. Failed and unstarted case states remain distinct.
Swarm / Source Boundary
No tag, release, asset attachment, publication, credentials or repository settings are changed. The throwaway CA and trusted-workspace switch are scoped to new disposable test profiles, following the existing test host.
Source-of-truth Links
Proposal: none; bounded implementation of audit row R1-F2.
Spec: existing managed-server receipt and descriptor contract; no product contract change.
ADR: none.
Plan item: #9469 under #2769; adjacent hosted publishing proof stays with #9333.
Governing issue or accepted claim: #9469, preserving #3798 downloader trust and #2528 packaged-host authority.
Acceptance delta (one sentence): The read-only archive workflow gains an installed-VSIX managed-download composition with exact same-run archive custody and raw-manifest/archive refusal controls.
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication): codex/9469-packaged-managed-download
Stack parent or prerequisite PR (if any): none.
Proposed replacement of PR (if any; not yet accepted): none.
Acceptance retained from a replaced candidate (if any): none.
Accepted winner and losing candidate disposition (when decided): no competing #9469 candidate found in all-state and finding-specific open searches.
Scope
Production delta: none.
Evidence/support delta: dedicated TypeScript editor-test entrypoints, six admission/control tests, one existing read-only workflow hook, provisioning documentation, and one process-policy allowance.
Single acceptance criterion: actual installed VSIX plus real downloader plus same-run qualified Linux archive succeeds, while each fresh-cache tamper control refuses at its intended boundary and retains truthful execution evidence.
Non-goals: public retrieval, stable/RC placement, Windows/macOS coverage, #9333 publishing rehearsal, native compatibility promotion, release qualification or publication.
Rollback: remove this rehearsal hook and its test-only files/allowance.
Proof
Candidate: d4fb772
Basis: 05b9f30
Tree: 984c33c7bd75713f7d4831bd3551dad450b875fe
Observed locally on Linux x64 / Node 24.19.0 / Rust 1.95.0:
The first npm attempt used an unavailable default home cache and the first ci-policy attempt lacked Cargo on PATH. Both were environment setup failures, not candidate failures; subsequent commands use workspace-local caches and explicit toolchain paths. One initial mutation attempt missed the compiled call form and established no negative result; the corrected control above did run.
Missing: real extension-host execution, qualified archive consumption, bound-mirror package runtime and hosted checks. This local environment has no Xvfb and no current-source qualified archive bundle. No release qualification is claimed. The existing credential-free archive workflow is the intended runtime route; it has not been dispatched here.
Review
Independent source review inspected the workflow, instrument, downloader, resolver and client. Its two findings were repaired: failed execution is retained separately from success/unstarted cases, and the normal package output is restored. The sixth test exercises an intentional failed-host receipt. Follow-up source inspection found no remaining blocker to opening a Draft. This is source judgment; full native execution remains missing.
Changelog: changelog.d/9469-managed-download-rehearsal.md follows the canonical Internal / CI marker, bullet and issue reference.
CI Economics
The existing manifest job reuses its compiled descriptor/packaging instrument and existing same-run archive outputs. One VSIX is reused across three sequential fresh profiles. No new automatic trigger or qualification request is added; the existing dispatch/call remains read-only. Its manifest job now has a 45-minute cap. Evidence uploads include only aggregate/host JSON, excluding the temporary CA key, profiles and package payloads.
Continuation
Owner / claim: this delegated #9469 lane, parent release-readiness coordinator.
Candidate: d4fb772 on base 05b9f30.
Review: source findings repaired; REVIEW_INCOMPLETE for actual host/artifact execution and hosted proof.
Validation: local compile, six controls, packaging, ci-policy, check-fast and precommit pass.
Next: execute the existing non-publishing archive route on this exact candidate, inspect all three host receipts and archive/VSIX identities, and repair any runtime failure before Ready.
No merge or release authority is delegated to this lane.