build: validate dependency updates through CFS - #1698
Merged
Conversation
wenyt (wenytang-ms)
requested review from
Changyong Gong (chagong),
Sheng Chen (jdneo) and
Jinbo Wang (testforstephen)
as code owners
September 10, 2026 06:27
There was a problem hiding this comment.
🟢 Approval recommended
The changes are limited to CI/dependency automation configuration and the new PR gate reuses the existing CFS npm setup already used by other pipeline jobs.
Pull request overview
This PR adjusts dependency-update and CI gating to ensure npm dependency changes are validated against the Central Feed Service (CFS) before merge, while keeping the full build/packaging pipeline for non-PR runs.
Changes:
- Remove scheduled Dependabot npm version updates (leaving grouped GitHub Actions updates).
- Add an Azure Pipelines PR trigger scoped to dependency + pipeline inputs and a PR-only
CFSValidationjob that runsnpm ciafter applying the repo’s CFS npm configuration. - Keep the existing full CI job and artifact publication for non-PR builds.
File summaries
| File | Description |
|---|---|
| .github/dependabot.yml | Removes scheduled npm Dependabot version updates; retains GitHub Actions updates configuration. |
| .azure-pipelines/ci.yml | Adds PR path filters and a PR-only CFS validation job; gates the full build job to non-PR runs. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Changyong Gong (chagong)
approved these changes
Sep 10, 2026
wenyt (wenytang-ms)
deleted the
build/cfs-restore-only-pr-validation
branch
September 10, 2026 06:51
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.
Summary
Why
The ADO build restores packages through CFS, where newly published upstream versions may not be available immediately. A dependency PR can therefore pass GitHub Actions but fail the ADO build with a CFS 404. A dedicated PR gate checks actual feed availability before merge without running the full extension build.
ADO
Updated
microsoft.vscode-java-debug-ci-vsixto usemain, themicrosoft (7)GitHub connection, and automatic PR validation without requiring an/azp runcomment.There are no Gradle, Maven, or NuGet dependency manifests in this repository. The gate covers the actual CFS consumer here: npm.