Add support for detecting latest sdk canary versions#325337
Merged
Merged
Conversation
Resolve VSCODE_SDK_CANARY_VERSION=latest-canary to the newest published @github/copilot-sdk canary inside the build (where private-feed npm auth already exists), and tag the build sdk-canary:<version> so the vscode-engineering orchestrator can report the concrete version without needing feed-read access.
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a latest-canary sentinel for VSCODE_SDK_CANARY_VERSION so canary pipeline runs can automatically resolve and pin the newest published @github/copilot-sdk canary version from the private feed during the build (where npm auth already exists).
Changes:
- Extend
VSCODE_SDK_CANARY_VERSIONto acceptlatest-canaryand resolve it to the newest@github/copilot-sdkcanary version. - Emit the resolved SDK canary version as an Azure DevOps build tag (
sdk-canary:<version>) for downstream/orchestrator reporting.
Show a summary per file
| File | Description |
|---|---|
| build/azure-pipelines/common/apply-sdk-canary-override.ts | Adds latest-canary resolution logic (via npm view ... versions --json) and tags builds with the resolved SDK canary version. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Low
Contributor
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: @lszomoruMatched files:
|
justschen
approved these changes
Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Validated by https://dev.azure.com/monacotools/Monaco/_build/results?buildId=455023&view=results