You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Package manager tests in `chroot-package-managers.test.ts` only query registries (`pip index versions`, `npm view`, `cargo search`, `gem search`) but never install packages (`pip install`, `npm install`, `cargo add`). This is the most common real-world operation.
Acceptance Criteria
Add integration tests to `tests/integration/chroot-package-managers.test.ts` that verify actual package installation:
`pip install requests` (or similar small package) through the proxy with `pypi.org` + `files.pythonhosted.org` allowed
`npm install chalk` (or similar) through the proxy with `registry.npmjs.org` allowed
`cargo add serde` or `cargo build` with dependencies through the proxy with `crates.io` + `static.crates.io` + `index.crates.io` allowed
Each test should verify the package was actually installed (e.g., `pip show requests`, `node -e "require('chalk')"`, `cargo build` succeeds)
Tests should be in a separate describe block (e.g., "Package Installation") to distinguish from existing query tests
Use the batch runner pattern where possible for efficiency
References
`tests/integration/chroot-package-managers.test.ts`: Existing tests to extend
`tests/fixtures/batch-runner.ts`: Batch runner for grouping commands
Closes #1039 (when combined with other sub-issues)
I've identified this issue as a good candidate for automated resolution and assigned it to the Copilot agent.
The Copilot agent will analyze the issue and create a pull request adding package installation integration tests to tests/integration/chroot-package-managers.test.ts for pip, npm, and cargo.
Activity
github-actions commentedon Feb 25, 2026
🍪 Issue Monster has assigned this to Copilot!
I've identified this issue as a good candidate for automated resolution and assigned it to the Copilot agent.
The Copilot agent will analyze the issue and create a pull request adding package installation integration tests to
tests/integration/chroot-package-managers.test.tsfor pip, npm, and cargo.Om nom nom! 🍪
test: add package installation integration tests
test: add package installation integration tests (#1052)