Repository navigation
test(vscode): pin repo packageManager in isolated E2E recovery sandboxes - #147
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
fi3ework
force-pushed
the
fix/e2e-recovery-corepack
branch
from
November 30, 2026 08:06
629a44f to
536b653
Compare
fi3ework
enabled auto-merge (squash)
November 30, 2026 08:25
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.
Summary
Dependency-recovery E2E suites copy a fixture into the OS tmpdir, outside the repository tree. Under Corepack (
rstack-ecosystem-ci),pnpmwalks upward fromcwdforpackageManager; finding none, it querieshttps://registry.npmjs.org/pnpm/latestand fails on HTTP 429 rate limits (or runs a different pnpm version thansetupFixtures.mjs)./tmp/<sandbox-root>/ +├── package.json # { "packageManager": "<repo root packageManager>" } └── <workspace>/ ├── package.json # untouched fixture manifest ├── pnpm-workspace.yaml └── pnpm-lock.yamlpackages/vscode/e2e/pnpmInstall.ts: addswriteRepoPackageManager(sandboxRoot, extensionDevelopmentPath)to write the repository root'spackageManagerinto a sandbox parent without addingnode_modules.packages/vscode/e2e/rstest/runTest.ts&packages/vscode/e2e/lint/runTest.ts: callwriteRepoPackageManagerwhen staging the isolated recovery sandboxes.Evidence
Rstest dependency polling recovery > recovers after pnpm install without a restart command:pnpm lint && pnpm run fmt:check && pnpm test:unit: passed (41 test files / 423 tests).VSCODE_CLI=1, VS Code 1.141.1):pnpm test:e2e rstestandRSTACK_LINT_E2E_SUITES="Dependency polling recovery" pnpm test:e2e lintboth exited0.Merge Danger
Door: two-way
Test-harness only; reverting restores the previous behavior cleanly.
Blast Radius: minimal
Touches only E2E recovery sandbox setup (29 lines across 3 files); no extension source changes.