fix(vscode): restore signing packages through CFS - #9533
Merged
Brian Lam (lambrianmsft) merged 1 commit intoAug 13, 2026
Merged
Conversation
Contributor
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:✅ PR Title
✅ Commit Type
✅ Risk Level
✅ What & Why
✅ Impact of Change
✅ Test Plan
✅ Contributors
✅ Screenshots/Videos
Summary Table
All checks pass — this PR is compliant with the team template and cleared to merge.Powered by: Copilot CLI (claude-opus-4.8) | Last updated: Wed, 12 Aug 2026 23:43:53 GMT |
Port signing package restore from hotfix commit 604b39d to main. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: f9b5ee70-7383-48ff-8369-546822edfba0
Brian Lam (lambrianmsft)
force-pushed
the
lambrianmsft-fix-nuget-cfs-signing
branch
from
August 12, 2026 23:34
a1a65f3 to
ae6c089
Compare
Elaina Lee (Elaina-Lee)
approved these changes
Aug 12, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Routes VS Code extension signing dependencies through the authenticated CFS NuGet feed under network isolation.
Changes:
- Generates a CFS-only NuGet configuration.
- Authenticates and explicitly restores signing dependencies.
- Prevents the signing build from restoring again.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
NuGet.config |
Defines the CFS azcode package source. |
.azure-pipelines/templates/sign.yml |
Adds authentication, explicit restore, and --no-restore. |
.azure-pipelines/templates/setup.yml |
Generates the runtime NuGet configuration and pipeline variable. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
This was referenced Aug 13, 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.
Commit Type
Risk Level
What & Why
The release build can complete npm packaging but fail while signing because MSBuild implicitly restores
Microsoft.Build.NoTargetsfrom public nuget.org, which is blocked by SR21 network isolation. This ports the fix from hotfix PR #9532 tomain: signing dependencies restore through the authenticatedazcodeCFS NuGet endpoint, and the subsequent build cannot perform another implicit restore.Impact of Change
NuGet.configafter release-tag checkout and exposes it throughnugetConfigFile.--no-restore. Setup and signing remain in the same build job so the pipeline variable persists.Test Plan
yaml@2.8.3; parsed and asserted the checked-in and generated NuGet configs contain only the DevDivazcodeendpoint; verified task ordering,nugetConfigFilewiring, exact patch equivalence to604b39df6, the exact three-file diff,git diff --check, and an independent read-only code review.Contributors
Brian Lam (@lambrianmsft)
Screenshots/Videos
Not applicable — pipeline-only change with no visual impact.