Skip to content

chore: bump foundry-local-sdk to 2.x - #335329

Open
Raymond Zhao (rzhao271) wants to merge 8 commits into
mainfrom
rzhao271/plain-crow
Open

chore: bump foundry-local-sdk to 2.x#335329
Raymond Zhao (rzhao271) wants to merge 8 commits into
mainfrom
rzhao271/plain-crow

Conversation

@rzhao271

@rzhao271 Raymond Zhao (rzhao271) commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

This PR removes several steps specific to the foundry-local-sdk package now that its post-installation process can be customized more with environment variables.

Copilot AI balanced review requested due to automatic review settings September 9, 2026 18:48
@rzhao271 Raymond Zhao (rzhao271) added this to the 1.138.0 milestone Sep 9, 2026
@vs-code-engineering

vs-code-engineering Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

Ladislau Szomoru (@lszomoru)

Matched files:

  • build/azure-pipelines/alpine/product-build-alpine-node-modules.yml
  • build/azure-pipelines/alpine/product-build-alpine.yml
  • build/azure-pipelines/common/dictation-runtime-produce.yml
  • build/azure-pipelines/common/disableFoundryLocalInstall.ts
  • build/azure-pipelines/common/foundry-local.yml
  • build/azure-pipelines/common/foundryLocalInstall.ts
  • build/azure-pipelines/darwin/product-build-darwin-node-modules.yml
  • build/azure-pipelines/darwin/steps/product-build-darwin-compile.yml
  • build/azure-pipelines/linux/product-build-linux-node-modules.yml
  • build/azure-pipelines/linux/steps/product-build-linux-compile.yml
  • build/azure-pipelines/product-quality-checks.yml
  • build/azure-pipelines/web/product-build-web-node-modules.yml
  • build/azure-pipelines/web/product-build-web.yml
  • build/azure-pipelines/win32/product-build-win32-node-modules.yml
  • build/azure-pipelines/win32/sdl-scan-win32.yml
  • build/azure-pipelines/win32/steps/product-build-win32-compile.yml

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.

🟡 Changes recommended

The existing dictation runtime producer and loader remain incompatible with the SDK 2.x native layout.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Bumps the Foundry Local SDK and simplifies native dependency installation in product pipelines.

Changes:

  • Updates foundry-local-sdk to 2.0.1.
  • Replaces custom installation helpers with SDK environment variables.
  • Removes the SDK loader patch and obsolete pipeline scripts.
File summaries
File Description
package.json Bumps and permits SDK 2.0.1 installation.
package-lock.json Locks the SDK and updated transitive dependencies.
build/npm/postinstall.ts Removes the custom native-loader patch.
build/azure-pipelines/win32/steps/product-build-win32-compile.yml Configures Windows SDK installation.
build/azure-pipelines/win32/sdl-scan-win32.yml Configures SDK installation for SDL scans.
build/azure-pipelines/win32/product-build-win32-node-modules.yml Updates Windows dependency caching jobs.
build/azure-pipelines/web/product-build-web.yml Configures web product dependency installation.
build/azure-pipelines/web/product-build-web-node-modules.yml Updates web dependency caching jobs.
build/azure-pipelines/product-quality-checks.yml Configures quality-check dependency installation.
build/azure-pipelines/linux/steps/product-build-linux-compile.yml Configures Linux SDK installation.
build/azure-pipelines/linux/product-build-linux-node-modules.yml Updates Linux dependency caching jobs.
build/azure-pipelines/darwin/steps/product-build-darwin-compile.yml Configures macOS SDK installation.
build/azure-pipelines/darwin/product-build-darwin-node-modules.yml Updates macOS dependency caching jobs.
build/azure-pipelines/common/foundryLocalInstall.ts Removes the custom native installer.
build/azure-pipelines/common/foundry-local.yml Removes the obsolete installation template.
build/azure-pipelines/common/disableFoundryLocalInstall.ts Removes the script-disabling helper.
build/azure-pipelines/alpine/product-build-alpine.yml Configures Alpine SDK installation.
build/azure-pipelines/alpine/product-build-alpine-node-modules.yml Updates Alpine dependency caching jobs.
Review details
  • Files reviewed: 17/18 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread package.json
roblourens
roblourens previously approved these changes Sep 9, 2026
roblourens
roblourens previously approved these changes Sep 9, 2026

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.

🟡 Changes recommended

Cancellation, manager disposal, and cross-platform addon packaging issues remain unresolved.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 28/29 changed files
  • Comments generated: 3
  • Review effort level: Balanced

Comment thread src/vs/platform/localTranscription/node/localTranscriptionService.ts Outdated
Comment thread build/gulpfile.vscode.ts Outdated

@roblourens roblourens left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

[Experimental performance review bot]

Automated experimental performance review.

(Written by Copilot)

Comment thread build/gulpfile.vscode.ts Outdated
Comment thread build/dictation-runtime/package.ts Outdated
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>

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.

🟡 Changes recommended

Worker cancellation and concurrent cache repair introduce races that can terminate a new session or temporarily remove a published runtime.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 28/29 changed files
  • Comments generated: 2
  • Review effort level: Balanced

Comment thread src/vs/platform/localTranscription/node/foundryLocalRuntime.ts Outdated
@rzhao271

Copy link
Copy Markdown
Collaborator Author

Bumping the milestone considering the complexity of this PR.

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.

🔵 Needs a closer look

The cross-platform native runtime, packaging, process lifecycle, and CI changes still require the pending product and CI verification.

Review details
  • Files reviewed: 28/29 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

@github-actions

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 82b8be7f Current: c2b65431

Changed (1)

chat/aiCustomizations/aiCustomizationManagementEditor/McpServersTabScrolled/Dark
Before After
before after

2 insignificant change(s) omitted (≤20 px, Δ≤2). See CI logs for details.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants