Skip to content

[7.9.x] Static analysis now uses  NetCore-Public  only for public builds (#7830) - #7834

Merged
donnie-msft merged 1 commit into
release/7.9.xfrom
dev-donnie-msft-cherrypick-7830-7.9.x
Oct 30, 2026
Merged

donnie-msft merged 1 commit into
release/7.9.xfrom
dev-donnie-msft-cherrypick-7830-7.9.x

Conversation

@donnie-msft

Copy link
Copy Markdown
Contributor

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-Public when System.TeamProject is public, and VSEng-MicroBuildVSStable otherwise.

Validation in the isolated backport worktree:

  • git merge-base --is-ancestor 9e1d99d3ac5ef89e12d305551d2df4576e5aa52f origin/release/7.9.x returned 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 9e1d99d3ac5ef89e12d305551d2df4576e5aa52f passed without conflicts.
  • dotnet format whitespace --verify-no-changes NuGet.sln passed (exit 0; workspace-loading warnings).
  • git diff origin/release/7.9.x...HEAD --check passed.
  • git diff origin/release/7.9.x...HEAD --stat verified only eng/pipelines/pr.yml changed: 5 insertions, 2 deletions.
  • git diff --cached | git patch-id --stable before committing and git show 9e1d99d3ac5ef89e12d305551d2df4576e5aa52f --pretty=format: | git patch-id --stable both produced eb39c1a817869cd3a90d96b9cbd7bf7760a682b4; the patch matches the source.
  • git status --porcelain was 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

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc.

…lds (#7830)

(cherry picked from commit 9e1d99d)

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 6228602f-6ce0-4e97-a3de-2437e044a7a9
@donnie-msft donnie-msft added the Engineering Changes related to the build infrastructure of the repo and that do not change product code label Oct 30, 2026
@donnie-msft
donnie-msft requested a review from a team as a code owner October 30, 2026 19:13
@donnie-msft
donnie-msft merged commit 5a3033d into release/7.9.x Oct 30, 2026
1 of 18 checks passed
@donnie-msft
donnie-msft deleted the dev-donnie-msft-cherrypick-7830-7.9.x branch October 30, 2026 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Engineering Changes related to the build infrastructure of the repo and that do not change product code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants