Skip to content

build: override product Copilot runtime - #334648

Merged
roblourens merged 6 commits into
mainfrom
roblou/agents/bump-copilot-sdk-canary-release
Sep 5, 2026
Merged

build: override product Copilot runtime#334648
roblourens merged 6 commits into
mainfrom
roblou/agents/bump-copilot-sdk-canary-release

Conversation

@roblourens

@roblourens roblourens commented Sep 4, 2026

Copy link
Copy Markdown
Member

Summary

  • keep OSS builds on the public @github/copilot and @github/copilot-sdk versions
  • keep product builds on the same SDK as OSS
  • check in 1.0.84-canary.67.g6496fad.unsigned as the default product @github/copilot runtime version
  • extend the existing authenticated Azure override to support runtime-only changes
  • accept the runtime's policyHelper managed-settings diagnostics source

Implementation

The existing VSCODE_CLI_CANARY_VERSION parameter remains the product-build override mechanism, but its checked-in default is now the desired runtime canary. VSCODE_SDK_CANARY_VERSION stays none, so product builds retain the SDK from the OSS manifest. The shared pre-cache step now runs when either override is present and refreshes only the dependency that changed.

Validation

  • cd build && npm run typecheck
  • npm run typecheck-client
  • npm run hygiene
  • authenticated CLI-only override exercised in root and remote manifests using the prior published runtime canary
  • read-only subagent review found no significant issues

The requested 1.0.84-canary.67.g6496fad.unsigned package is not yet visible on the private feed, so an Azure product build with that exact runtime cannot succeed until it is published.

Main-branch counterpart of #334649.

(Written by Copilot)

Update the bundled root and remote dependencies to the requested canary builds. Accept the SDK's policyHelper managed-settings source in diagnostics and E2E validation.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Restore the public Copilot dependency pins used by OSS builds. Product builds can apply the requested private-feed SDK and CLI canaries through the existing Azure pipeline override parameters.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use a checked-in manifest as the default source for Copilot SDK and CLI versions in Azure product builds while keeping OSS package manifests on public versions. Retain queue-time selectors as recovery and validation escape hatches.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep the OSS SDK version and check in the product runtime canary as the existing Azure pipeline parameter default. Extend the shared override path to support runtime-only updates.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings September 4, 2026 22:44

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.

Copilot review overview

🟡 Changes recommended

Both product pipelines default to a runtime package that is not yet available on the private feed.

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

Review tier: Balanced
Findings: None

What changed in this PR

Updates product builds to override only the Copilot runtime while retaining the OSS SDK version, and recognizes the runtime’s new managed-settings diagnostics source.

Changes:

  • Adds runtime-only authenticated dependency overrides.
  • Pins product builds to the requested runtime canary.
  • Accepts policyHelper diagnostics.
File Description
build/​azure-pipelines/​product-build.yml Sets the product runtime default.
build/​azure-pipelines/​product-build-ado-ci.yml Mirrors the runtime default for ADO CI.
build/​azure-pipelines/​common/​apply-sdk-canary.yml Runs overrides for SDK or runtime changes.
build/​azure-pipelines/​common/​apply-sdk-canary-override.ts Supports independent dependency overrides.
src/​vs/​platform/​agentHost/​common/​agent.ts Adds the diagnostics source type.
src/​vs/​platform/​agentHost/​test/​node/​e2e/​suites/​managementExtensionsSuite.ts Accepts the new source in E2E validation.

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

Keep the existing sdk-canary build tag emission scoped to latest-canary resolution while adding runtime-only overrides.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Set the checked-in product runtime override to 1.0.84-canary.67.g6496fad.unsigned.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@vs-code-engineering

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/common/apply-sdk-canary-override.ts
  • build/azure-pipelines/common/apply-sdk-canary.yml
  • build/azure-pipelines/product-build-ado-ci.yml
  • build/azure-pipelines/product-build.yml

@roblourens
roblourens merged commit cf01588 into main Sep 5, 2026
60 of 61 checks passed
@roblourens
roblourens deleted the roblou/agents/bump-copilot-sdk-canary-release branch September 5, 2026 03:05
@vs-code-engineering vs-code-engineering Bot added this to the 1.137.0 milestone Sep 5, 2026
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.

3 participants