Repository navigation
build: remove the SDK canary parameters from the product builds - #350593
Open
Ladislau Szomoru (lszomoru) wants to merge 2 commits into
Open
Ladislau Szomoru (lszomoru) wants to merge 2 commits into
Ladislau Szomoru (lszomoru) wants to merge 2 commits into
Conversation
SDK updates are tested in the SDK Validation pipeline (sdk-validation-build.yml) since #343604, so product-build.yml and product-build-ado-ci.yml no longer need VSCODE_SDK_CANARY_VERSION and VSCODE_CLI_CANARY_VERSION. The SDK Validation pipeline keeps both parameters and the apply-sdk-canary.yml override. Without the variables, the override steps in the shared setup templates skip, as they already do in product-build-ci.yml. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the removal of SDK canary controls from the product build pipelines.
No open issues 🎉
What changed in this PR
Removes SDK canary queue controls from the product build pipelines now that SDK updates have a dedicated validation pipeline.
Changes:
- Removes both canary parameters and their sentinel-normalizing variables from the product and ADO CI pipelines.
- Leaves the SDK Validation pipeline and shared override implementation unchanged.
| File | Description |
|---|---|
build/azure-pipelines/product-build.yml |
Removes SDK canary parameters and variable mappings from product builds. |
build/azure-pipelines/product-build-ado-ci.yml |
Removes the same controls from ADO CI builds. |
Review effort: Balanced
Alexandru Dima (alexdima)
previously approved these changes
Nov 26, 2026
Ladislau Szomoru (lszomoru)
enabled auto-merge
November 26, 2026 20:45
…builds (#350600) product-build.yml, product-build-ado-ci.yml and sdk-validation-build.yml took the npm and Cargo feeds as free-text NPM_REGISTRY and CARGO_REGISTRY parameters, so a run could be queued with any feed. They now define both as readonly variables. Queuing a run with either parameter fails with "Unexpected parameter", and no step can change the feeds with task.setvariable. product-build-variables.yml does the same for the TSA pipeline, product-build-ci.yml marks its feed variables readonly, and product-build-template.yml drops the two parameters it never read. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This branch has not been deployed
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.
Why
SDK updates are tested in the SDK Validation pipeline (
sdk-validation-build.yml) since #343604. The product builds still declare its two queue parameters, SDK canary (VSCODE_SDK_CANARY_VERSION) and Expected SDK-bundled runtime version (VSCODE_CLI_CANARY_VERSION). Recent product builds left both at their defaults.What changed
product-build.ymlandproduct-build-ado-ci.ymleach drop the two parameters and the two variables that mappednoneandautoto empty strings. The diff is 46 deleted lines.Scope
The SDK Validation pipeline keeps both parameters.
apply-sdk-canary.yml,apply-sdk-canary-override.tsand its test are unchanged. Without the variables, the override steps in the shared Windows, Linux and macOS setup templates skip.product-build-ci.ymlalready runs them that way.Blast radius
Queuing the product build or the ADO CI build with either parameter now fails with
Unexpected parameter. The queue form no longer shows the two fields.Verification
POST _apis/pipelines/{id}/previewwithyamlOverrideand templates frommain) on the old and new YAML of both files: passed. The final YAML differs only by the two parameters and the two variables.VSCODE_SDK_CANARY_VERSION: fails withUnexpected parameter 'VSCODE_SDK_CANARY_VERSION', as expected."") and a recent CI build (variables undefined): the three SDK canary steps are skipped in every job of both.npm run -s precommit(hygiene) during the commit: passed.