Skip to content

Seed Debug Roslyn compiler caches from rolling builds - #135130

Merged
agocke merged 1 commit into
dotnet:mainfrom
agocke:seed-debug-roslyn-cache
Oct 3, 2026
Merged

agocke merged 1 commit into
dotnet:mainfrom
agocke:seed-debug-roslyn-cache

Conversation

@agocke

@agocke agocke commented Oct 2, 2026

Copy link
Copy Markdown
Member

Summary

  • Add rolling-only Debug CoreCLR_AllSubsets builds for Linux x64, Linux musl x64, and macOS arm64, matching the corresponding PR build arguments.
  • Separate Debug and Release Roslyn cache entries so both rolling configurations can seed immutable caches independently. Existing v1 entries remain a restore fallback.

Measurements

The earlier Roslyn cache validation in #133748 measured libs.tests at 4m53s with the cache versus 6m32s without it (25.25% faster). Debug-specific hit rates cannot be measured until the first rolling Debug build seeds its cache.

Note

This pull request description was generated with GitHub Copilot.

Add rolling-only Debug CoreCLR builds for cache-enabled Unix PR legs and isolate their Roslyn cache entries from Release builds.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 6b47078d-4fe1-4db0-93fd-264f9a651be7
@azure-pipelines

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

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

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.

Copilot review overview

🟢 Approval recommended

The rolling jobs and cache-key changes consistently match the existing pipeline configuration.

Review effort: Balanced
Findings: None

What changed in this PR

Adds rolling Debug builds to seed configuration-specific Roslyn caches for matching PR jobs.

Changes:

  • Adds Debug cache-seeding jobs for three Unix platforms.
  • Separates Debug and Release cache keys while retaining v1 fallback.
File Description
eng/​pipelines/​runtime.yml Adds rolling-only Debug build legs.
eng/​pipelines/​coreclr/​templates/​setup-roslyn-cache.yml Versions and partitions Roslyn caches by configuration.

@agocke

agocke commented Oct 3, 2026

Copy link
Copy Markdown
Member Author

/ba-g failures are unrelated

@agocke
agocke merged commit b60e14a into dotnet:main Oct 3, 2026
196 of 198 checks passed
@agocke
agocke deleted the seed-debug-roslyn-cache branch October 3, 2026 01:22
@github-project-automation github-project-automation Bot moved this to Done in AppModel Oct 3, 2026
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done
Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants