Skip to content

Remove unused simulator kernel and stale keytar build permissions - #350294

Merged
Dmitriy Vasyura (dmitrivMS) merged 1 commit into
mainfrom
dmitrivms/prune-unused-packages
Nov 25, 2026
Merged

Dmitriy Vasyura (dmitrivMS) merged 1 commit into
mainfrom
dmitrivms/prune-unused-packages

Conversation

@dmitrivMS

Copy link
Copy Markdown
Collaborator

Drop ipykernel from the Copilot simulator's Python requirements. The simulator reads notebook fixtures and checks Python source with Pyright and py_compile; it does not launch a Jupyter kernel.

Remove the keytar@7.9.0 native build permission from the root and build pnpm workspaces. The root resolves only the local mock, which has no install script. The build lockfile does not contain keytar. Neither lockfile changes.

Validation

  • pnpm install --offline --frozen-lockfile --lockfile-only --ignore-scripts — passed in both the root and build workspaces, with no lockfile diff.
  • node .\script\setup\createVenv.mts and uv pip check --python .\.venv\Scripts\python.exe — passed from the Copilot extension in a clean Python 3.12 environment; verified ipykernel was not installed.
  • Extracted the first code cell of dataframe.ipynb as fixture.py. In that environment, python -m py_compile fixture.py passed, and Pyright reported zero errors or warnings.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dmitrivMS Dmitriy Vasyura (dmitrivMS) added debt Code quality issues engineering VS Code - Build / issue tracking / etc. dependencies Pull requests that update a dependency file labels Nov 25, 2026
Copilot AI balanced review requested due to automatic review settings November 25, 2026 02:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The dependency and build-permission cleanup has no active review issues requiring resolution.

No open issues 🎉

What changed in this PR

This PR removes unused dependencies and build permissions from VS Code’s Copilot simulator and pnpm workspaces without changing simulator behavior or lockfiles.

Changes:

  • Remove ipykernel from the simulator’s Python requirements; notebook fixtures use simulated execution.
  • Remove stale keytar@7.9.0 build permissions from both pnpm workspaces.

No actionable issues were identified in the reviewed changes.

File Description
pnpm-workspace.yaml Remove the build permission for keytar, which resolves to a local mock.
extensions/​copilot/​test/​requirements.txt Remove the unused ipykernel dependency.
build/​pnpm-workspace.yaml Remove the build permission for keytar, which is absent from the build lockfile.

Review effort: Balanced

@dmitrivMS
Dmitriy Vasyura (dmitrivMS) marked this pull request as ready for review November 25, 2026 02:16
@dmitrivMS
Dmitriy Vasyura (dmitrivMS) added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit 1f8d8b2 Nov 25, 2026
38 checks passed
@dmitrivMS
Dmitriy Vasyura (dmitrivMS) deleted the dmitrivms/prune-unused-packages branch November 25, 2026 04:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

debt Code quality issues dependencies Pull requests that update a dependency file engineering VS Code - Build / issue tracking / etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants