Skip to content

Enable ILLink caching and post-build purging in CI - #135067

Open
sbomer wants to merge 1 commit into
sbomer/illink-runtime-cachefrom
sbomer/illink-ci-cache
Open

sbomer wants to merge 1 commit into
sbomer/illink-runtime-cachefrom
sbomer/illink-ci-cache

Conversation

@sbomer

@sbomer sbomer commented Oct 1, 2026

Copy link
Copy Markdown
Member

Enable experimental ILLink caching in jobs that already use setup-sccache.yml, under its existing platform gate. Restore a job-private cache snapshot and record build start, then purge entries unused by that build before saving the next snapshot.

Purge runs after all post-build steps because some of them still compile tests. Maintenance failures are nonfatal, and canceled jobs skip purge.

This content was created with assistance from AI.

@dotnet-policy-service dotnet-policy-service Bot added the linkable-framework Issues associated with delivering a linker friendly framework label Oct 1, 2026
@github-actions github-actions Bot added the area-Tools-ILLink .NET linker development as well as trimming analyzers label Oct 1, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 6 pipeline(s).
10 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: @agocke, @dotnet/illink
See info in area-owners.md if you want to be subscribed.

Reuse the existing compiler-cache job selection and purge only after all post-build work has finished, before saving the next cache snapshot.

Assisted-by: Copilot:gpt-6-astra
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 561d1c87-e14b-46f8-be7f-a08f544ec537

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-Tools-ILLink .NET linker development as well as trimming analyzers linkable-framework Issues associated with delivering a linker friendly framework

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant