Repository navigation
[7.9.x] Static analysis now uses NetCore-Public only for public builds (#7830) - #7834
Merged
Merged
Conversation
…lds (#7830) (cherry picked from commit 9e1d99d) Co-authored-by: Copilot <[email protected]> Copilot-Session: 6228602f-6ce0-4e97-a3de-2437e044a7a9
zivkan
approved these changes
Oct 30, 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.
Bug
Fixes: engineering
Description
Cherry-pick of #7830 (9e1d99d) onto
release/7.9.x.Fixes Trusted CI validation failure, "Could not find a pool with name NetCore-Public", by matching static analysis pool selection to the Windows test jobs: use
NetCore-PublicwhenSystem.TeamProjectispublic, andVSEng-MicroBuildVSStableotherwise.Validation in the isolated backport worktree:
git merge-base --is-ancestor 9e1d99d3ac5ef89e12d305551d2df4576e5aa52f origin/release/7.9.xreturned 1; source is not already an ancestor.git cherry origin/release/7.9.x 9e1d99d3ac5ef89e12d305551d2df4576e5aa52f 9e1d99d3ac5ef89e12d305551d2df4576e5aa52f^returned+; no equivalent source patch was present.git cherry-pick -x --no-commit 9e1d99d3ac5ef89e12d305551d2df4576e5aa52fpassed without conflicts.dotnet format whitespace --verify-no-changes NuGet.slnpassed (exit 0; workspace-loading warnings).git diff origin/release/7.9.x...HEAD --checkpassed.git diff origin/release/7.9.x...HEAD --statverified onlyeng/pipelines/pr.ymlchanged: 5 insertions, 2 deletions.git diff --cached | git patch-id --stablebefore committing andgit show 9e1d99d3ac5ef89e12d305551d2df4576e5aa52f --pretty=format: | git patch-id --stableboth producedeb39c1a817869cd3a90d96b9cbd7bf7760a682b4; the patch matches the source.git status --porcelainwas empty after committing.No build or tests were run for this YAML-only engineering change. Azure DevOps pool availability and pipeline runtime behavior cannot be validated locally; the backport must be validated by CI.
Original dev validation (not validation of this backport): https://dev.azure.com/devdiv/DevDiv/_build/results?buildId=15875676&view=results
PR Checklist