Skip to content

Seed innerloop build caches from main - #136238

Merged
sbomer merged 1 commit into
mainfrom
sbomer/illink-cache-seeding
Oct 22, 2026
Merged

sbomer merged 1 commit into
mainfrom
sbomer/illink-cache-seeding

Conversation

@sbomer

@sbomer sbomer commented Oct 21, 2026

Copy link
Copy Markdown
Member

Run the existing cached Release analyzers/linker jobs on Linux x64, Windows x64, and macOS arm64 in batched main builds. This gives new PRs a shared baseline of ILLink and compiler cache snapshots to restore, instead of requiring a cold first run to populate their own caches.

Skip the unrelated developer-workflow jobs on automatic push-triggered runs, preserving existing PR and manual-run behavior. The cached jobs and their cache keys are unchanged.

Note

This content was created with assistance from AI (GitHub Copilot).

Run the existing cached Release jobs on batched main builds so PRs can restore shared cache snapshots. Skip unrelated jobs on automatic CI runs while preserving PR and manual behavior.

Assisted-by: GitHub Copilot CLI:gpt-6.1-sol
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 561d1c87-e14b-46f8-be7f-a08f544ec537
@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.

@sbomer
sbomer requested a review from agocke October 21, 2026 19:44
@sbomer
sbomer requested review from a team and a balanced review from Copilot October 22, 2026 18:09

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.

🟢 Approval recommended

The scoped trigger and condition changes preserve existing PR and manual behavior, with no unresolved findings.

No open issues 🎉

What changed in this PR

This PR enables batched main builds to seed shared caches for the existing Release analyzers/linker jobs, reducing cold starts for new PRs.

Changes:

  • Adds a main push trigger with documentation and metadata exclusions.
  • Skips unrelated developer-workflow jobs on automatic push runs while preserving PR and manual-run behavior.
  • Leaves cached jobs and cache keys unchanged.

Pipeline execution was not verified.

File Description
eng/​pipelines/​global-build.yml Enables batched cache-seeding builds and limits unrelated jobs to non-push runs.

Review effort: Balanced

@sbomer

sbomer commented Oct 22, 2026

Copy link
Copy Markdown
Member Author

/ba-g "Unrelated failures look like error downstream of #136190, not caught by build analysis"

@sbomer
sbomer merged commit 9da2195 into main Oct 22, 2026
183 of 191 checks passed
@sbomer
sbomer deleted the sbomer/illink-cache-seeding branch October 22, 2026 19:02
@github-project-automation github-project-automation Bot moved this to Done in AppModel Oct 22, 2026
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 12.0-preview1 milestone Oct 23, 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