Skip to content

[release/11.0.2xx] Make official PGO verticals optional with non-1xx defaults - #10672

Merged
akoeplinger merged 1 commit into
dotnet:release/11.0.2xxfrom
mmitche:dev/mmitche/disable-pgo-11.0.2xx
Nov 4, 2026
Merged

akoeplinger merged 1 commit into
dotnet:release/11.0.2xxfrom
mmitche:dev/mmitche/disable-pgo-11.0.2xx

Conversation

@mmitche

@mmitche mmitche commented Nov 3, 2026

Copy link
Copy Markdown
Member

Summary

Port of #10669 to public release/11.0.2xx.

  • Parameterize all five official PGO verticals with desiredPgo: Enabled, Disabled, or Default (disabled for non-1xx release branches).
  • Default to automatic mode: disable PGO on non-1xx release/* and internal/release/* branches, enable on 1xx releases and non-release branches.
  • Thus release/11.0.2xx defaults off; explicit Enabled/Disabled override branch-based defaults.
  • Preserve shared-template defaults and existing job parameters for other callers.

Validation

Azure Pipelines server-side YAML previews with controlled branch-name inputs verify:

  • Main and public/internal 1xx release branches: five PGO jobs.
  • Public/internal non-1xx release branches: zero PGO jobs.
  • Explicit Enabled on a non-1xx release restores all five jobs.
  • Explicit Disabled on a 1xx release removes all five jobs.

Non-PGO jobs are unchanged throughout the seven-case matrix. These are preview-only controlled branch inputs, not a completed official build. No new official build queued.

Based on the public GitHub release/11.0.2xx branch.

…x releases

Keep 1xx releases and non-release branches enabled by default, with explicit Enabled and Disabled overrides. Port of dotnet#10671 to public release/11.0.2xx.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: bd158b95-18d0-4569-9eb1-b85888894d14
@mmitche
mmitche requested review from a team as code owners November 3, 2026 20:18
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

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