Skip to content

Route package installs through Microsoft feed proxies - #600

Open
Bill Schnurr (bschnurr) wants to merge 2 commits into
microsoft:mainfrom
bschnurr:ci/packagefeed-proxy
Open

Bill Schnurr (bschnurr) wants to merge 2 commits into
microsoft:mainfrom
bschnurr:ci/packagefeed-proxy

Conversation

@bschnurr

@bschnurr Bill Schnurr (bschnurr) commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Summary

Port the package-feed migration from microsoft/vscode-isort#773 and microsoft/vscode-isort#775 to vscode-flake8.

  • Route PR, push, and CodeQL package installation through Microsoft's npm and PyPI proxies.
  • Remove redundant NPM_CONFIG_REGISTRY from PR/push workflows that install through npm run ci:msft; keep PIP_INDEX_URL and retain registry settings for CodeQL autobuild and Azure template consumers.
  • Use npm run ci:msft in shared lint/VSIX actions and applicable test jobs, preserving package caching and the VSIX offline-cache preference.
  • Route DevDiv stable/prerelease builds through the same proxies while preserving release triggers, approval gates, signing, and publishing behavior.
  • Add public/Microsoft local setup commands, dependency-free regression tests, optional local lockfile-normalization hooks, and contributor documentation.
Ecosystem Microsoft endpoint
npm https://packagefeedproxy.microsoft.io/npm/
Python https://packagefeedproxy.microsoft.io/pypi/simple/

Repository-specific adaptation

Initialize and build the existing pinned shared-LSP package. Rewrite both expected npm lockfiles before installation while retaining the existing postinstall behavior, test entry point, and submodule revision.

Preserved behavior and boundaries

  • Dependabot remains on public registries with its existing ecosystems, grouping, schedules, cooldowns, ignores, and limits unchanged.
  • Committed lockfiles retain public npm URLs for known public-package mirrors. Local proxy rewrites are not committed.
  • Dependency versions, integrity hashes, submodule revisions, and application behavior are unchanged.
  • Legacy Azure stable, prerelease, and validation pipeline files are unchanged.
  • Hooks are opt-in local Git hooks; GitHub and Dependabot do not execute them, and no workflow writes repair commits to PR branches.
  • No changes to the shared pylance-eng templates are required.

Verification

  • npm run test:setup: 39 passing tests, including Windows/Linux setup orchestration, rewrite/error handling, integrity preservation, and real temporary-repository hook tests.
  • npm run lint
  • npm run format-check
  • npm run compile-tests
  • Executable parsed-YAML comparisons against the recorded base verify proxy settings, install entry points, Python step overrides, and unchanged release gates, workflow matrices, cache settings, legacy pipelines, and Dependabot configuration.
  • npm run ci:msft and standalone rewrite commands exercised locally; uncached npm and Python proxy downloads succeeded.

Hosted GitHub/Azure execution has not been claimed as verified by these local checks. This PR is intentionally a draft.

Port vscode-isort setup, lockfile normalization, GitHub CI, and DevDiv release feed routing while preserving public Dependabot registries and legacy Azure pipeline definitions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: e2972852-17e2-4e68-81e8-db73c74bfe25
Let ci:msft explicitly select the npm proxy in PR and push workflows. Retain the Python index and registry configuration for CodeQL/Azure consumers, and add regression coverage and documentation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: e2972852-17e2-4e68-81e8-db73c74bfe25
@bschnurr
Bill Schnurr (bschnurr) marked this pull request as ready for review October 16, 2026 22:05
@heejaechang

Heejae Chang (heejaechang) commented Oct 16, 2026 •

Copy link
Copy Markdown

🔒 Automated review in progress — Heejae Chang (@heejaechang) is auto-reviewing this PR.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang Heejae Chang (heejaechang) added the review-auto:changes-requested Automated review: posted blocking findings to address. label Oct 16, 2026
@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

Comment thread build/setup-hooks.js
throw new Error('An existing pre-commit hook is installed. Integrate the normalizer into your hook manually.');
}
chmodSync(path.join(cwd, '.githooks', 'pre-commit'), 0o755);
git(['config', '--local', 'core.hooksPath', '.githooks']);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue · Please address or respond

📍 build/setup-hooks.js:20
Setting core.hooksPath redirects every Git hook, but this guard checks only pre-commit; the reproduced installation silently disabled an existing executable pre-push guard. Refuse installation whenever any active hook would be displaced, and direct contributors to integrate the normalizer into their existing configuration.

[verified]

Comment thread build/setup.test.js
const versionCheck = calls[expected.length];
assert.equal(versionCheck.command, python);
assert.match(versionCheck.args[1], /sys.version_info < \(3, 10\)/);
expected.push([python, versionCheck.args, root]);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning · Non-blocking recommendation

📍 build/setup.test.js:74
The substring assertion followed by copying versionCheck.args into expected makes the full comparison accept unchecked command arguments, violating docs/pylancewiki/review/tests-no-partial-asserts.md. Define the complete expected ['-c', '<version-check script>'] arguments independently and compare them exactly; the Rules reviewer confirms no dynamic-output exception applies.

[verified]

@heejaechang

Copy link
Copy Markdown

Result: 🔴 could-not-verify

Verification details

Verification: The relevant tests could not be fully run in the isolated environment; this review is not fully verified.

Summary: [unavailable] Container verification could not start and local execution was not authorized for this PR HEAD: Could not prepare offline npm dependencies: Unsupported registry tarball override for &#x27;@vscode/python-environments@1.0.0&#x27;.

Test runs: none recorded.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

debt review-auto:changes-requested Automated review: posted blocking findings to address.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants