Skip to content

build: validate dependency updates through CFS - #1698

Merged
wenyt (wenytang-ms) merged 1 commit into
mainfrom
build/cfs-restore-only-pr-validation
Sep 10, 2026
Merged

build: validate dependency updates through CFS#1698
wenyt (wenytang-ms) merged 1 commit into
mainfrom
build/cfs-restore-only-pr-validation

Conversation

@wenytang-ms

Copy link
Copy Markdown
Contributor

Summary

  • remove scheduled npm Dependabot version updates while keeping grouped GitHub Actions updates
  • add a PR-only CFS validation job for the npm package lockfile
  • keep the existing full build, VSIX packaging, and artifact publication for non-PR runs
  • trigger the CFS gate only when dependency inputs or CFS pipeline configuration changes

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-vsix to use main, the microsoft (7) GitHub connection, and automatic PR validation without requiring an /azp run comment.

There are no Gradle, Maven, or NuGet dependency manifests in this repository. The gate covers the actual CFS consumer here: npm.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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 CFSValidation job that runs npm ci after 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.

@wenytang-ms
wenyt (wenytang-ms) merged commit fb25a29 into main Sep 10, 2026
9 checks passed
@wenytang-ms
wenyt (wenytang-ms) deleted the build/cfs-restore-only-pr-validation branch September 10, 2026 06:51
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