Skip to content

fix: isolate SDL npm registry from build CFS configuration - #1235

Merged
wenyt (wenytang-ms) merged 1 commit into
mainfrom
wenytang-ms-symmetrical-tribble
Oct 30, 2026
Merged

wenyt (wenytang-ms) merged 1 commit into
mainfrom
wenytang-ms-symmetrical-tribble

Conversation

@wenytang-ms

Copy link
Copy Markdown
Contributor

Summary

Add npm_config_registry to extends.parameters.sdl.sourceAnalysisVariablesToReset in CI, Nightly and RC. This isolates SDL/Guardian from the Build-only global CFS registry.

Preserve global Build CFS routing, all existing sourceAnalysisPool/pool settings, SpotBugs and network-isolation settings where present, Node versions and permissions. Release YAMLs are unchanged.

Validation

  • Parsed the actual source YAML and checked its diff against main at abd147414b94e240ef3ec6698b77dbc9d01e9833.
  • Baseline/final previewRun:true + yamlOverride compilations succeeded for every enabled source definition: 11975, 13433, 14397, with self fixed to that SHA.
  • Whole-document comparison confirms the only compiled change is npm_config_registry: '' in SDLSources_self; all other compiled content is identical.
  • All enabled release definitions (21787, 21788) compiled without SDL source analysis, so their YAMLs remain unchanged.
  • git diff --check passed.

Scope and limitations

This is the same narrow isolation used in microsoft/vscode-spring-boot-dashboard#453.

Preview compiles but does not execute Guardian/feed authentication. No repository-specific npm6/E401 reproduction or post-fix runtime success is claimed. No build or release was manually queued.

@chagong Changyong Gong (chagong) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reviewed the complete diff and pipeline context. The change only resets npm_config_registry in SDL source analysis for CI, Nightly and RC; global Build CFS routing, pools, Node versions, permissions and release YAMLs are unchanged. No blocking code issues found. The SDL check has passed; the remaining CFS build validation must still finish successfully before merge.

@wenytang-ms
wenyt (wenytang-ms) merged commit 6af9d72 into main Oct 30, 2026
32 checks passed
@wenytang-ms
wenyt (wenytang-ms) deleted the wenytang-ms-symmetrical-tribble branch October 30, 2026 06:06
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.

2 participants