Skip to content

Float main OptProf inputs and freeze release profiles - #15423

Merged
JanProvaznik merged 4 commits into
dotnet:mainfrom
AlesProkop:alesprokop-central-optprof-consumption
Nov 2, 2026
Merged

JanProvaznik merged 4 commits into
dotnet:mainfrom
AlesProkop:alesprokop-central-optprof-consumption

Conversation

@AlesProkop

@AlesProkop AlesProkop commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Related to #14019

Context

Use VS's central OptProf profiles instead of maintaining our own collection pipeline.

Changes Made

  • Switched official main builds to the latest available profiles from VS main.
  • Kept release branches on fixed profile drops and preserved manual overrides.
  • Deleted .opt-prof.yml and updated the release instructions.

Testing

Local configuration and lookup checks passed. ExpPerf 15857688 successfully applied a central drop to all four core assemblies. The new floating lookup still needs validation with the pipeline's job token.

Notes

  • Disable the old MSBuild-OptProf pipeline when rolling out this change.
  • Frozen release drops must remain retained for the required support and rebuild lifetime.
  • main builds can use different profiles when rebuilding the same commit.

Reuse the installed branch-aware VS tag lookup and existing Arcade profile application. Retire only the legacy main collection schedule and preserve release defaults and explicit overrides.

Co-authored-by: Copilot App <[email protected]>
@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

🔍 Skill Validator Results

⚠️ Warnings or advisories found

Scope Checked
Skills 1
Agents 0
Total 1
Severity Count
--- ---:
❌ Errors 0
⚠️ Warnings 1
ℹ️ Advisories 0

Summary

Level Finding
ℹ️ Found 1 skill(s)
ℹ️ [release] 📊 release: 4,159 BPE tokens [chars/4: 4,280] (standard ~), 14 sections, 1 code blocks
ℹ️ [release] ⚠ Skill is 4,159 BPE tokens (chars/4 estimate: 4,280) — approaching "comprehensive" range where gains diminish.
ℹ️ ✅ All checks passed (1 skill(s))
Full validator output ```text Found 1 skill(s) [release] 📊 release: 4,159 BPE tokens [chars/4: 4,280] (standard ~), 14 sections, 1 code blocks [release] ⚠ Skill is 4,159 BPE tokens (chars/4 estimate: 4,280) — approaching "comprehensive" range where gains diminish. ✅ All checks passed (1 skill(s)) ```

Keep release profile drops fixed through servicing, retain manual-only legacy collection YAML, and require branch-cut compatibility and retention evidence. Preserve upstream VSSetup publication and change-wave checklist integration.

Co-authored-by: Copilot App <[email protected]>
@AlesProkop AlesProkop changed the title Float main OptProf consumption on central VS profiles Float main OptProf inputs and freeze release profiles Nov 2, 2026
Delete the unneeded collector YAML while preserving central profiling inputs, main consumption and frozen release drops. Document the separately authorized live-definition disable required before deployment.

Co-authored-by: Copilot App <[email protected]>
@AlesProkop
AlesProkop marked this pull request as ready for review November 2, 2026 09:01
Copilot AI balanced review requested due to automatic review settings November 2, 2026 09:01
@AlesProkop
AlesProkop requested a review from a team as a code owner November 2, 2026 09:01

Copilot AI 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.

🔵 Needs a closer look

The floating official-main path remains unverified in an official pipeline for job-token access, plugin loading, and external-template integration, while rollout also requires separately authorized disabling of collector definition 17389.

No open issues 🎉

What changed in this PR

Moves official main builds to centrally collected VS main OptProf inputs while preserving fixed release-branch profiles. This advances #14019 by removing the legacy collection workflow without changing existing release pins.

Changes:

  • Resolves and validates central profiles for main, preserving explicit overrides, disable behavior, and the existing Arcade optimization path.
  • Deletes the legacy collector YAML; disabling the live pipeline definition remains a separate deployment requirement.
  • Updates release guidance to require recorded profile compatibility, retention evidence, and reviewed exceptions.
File Description
documentation/​release.md Documents floating main inputs, frozen release pins, and collector retirement.
documentation/​release-checklist.md Adds pin validation, retention checks, and exception handling to release steps.
azure-pipelines/​.vsts-dotnet-build-jobs.yml Adds central profile lookup and validation using the build job token.
.vsts-dotnet.yml Enables central lookup for main while preserving release baselines and overrides.
.opt-prof.yml Removes the obsolete OptProf collection workflow.
.github/​skills/​release/​SKILL.md Aligns release guidance with frozen pins and historical-input discovery.

Review effort: Balanced

Comment thread .vsts-dotnet.yml Resolved
Comment thread documentation/release.md Resolved
@JanProvaznik
JanProvaznik merged commit c49bd4e into dotnet:main Nov 2, 2026
14 checks passed
@JanProvaznik

Copy link
Copy Markdown
Member

The new floating lookup still needs validation with the pipeline's job token.

pls check that in an hour when the official build runs @AlesProkop and paste the result here for tracking

@AlesProkop

Copy link
Copy Markdown
Member Author

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.

4 participants