Skip to content

Seed pre-commit cache from main builds - #1100

Merged
rapids-bot[bot] merged 1 commit into
rapidsai:mainfrom
bdice:pre-commit-cache-seed
Oct 1, 2026
Merged

rapids-bot[bot] merged 1 commit into
rapidsai:mainfrom
bdice:pre-commit-cache-seed

Conversation

@bdice

@bdice bdice commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Run the shared checks workflow as a style-only job on main builds so it writes the pre-commit cache, and make PR checks restore that cache read-only.

Today pre-commit cache entries are scoped to each PR's merge ref, which other PRs cannot read. The first style check on every PR runs cold, and the per-PR entries fill the repository's GitHub Actions cache quota.

Mirrors NVIDIA/cudf#24093.

Part of rapidsai/build-planning#332.

@bdice
bdice requested a review from a team as a code owner October 1, 2026 17:42
@bdice
bdice requested a review from msarahan October 1, 2026 17:42
@bdice bdice added non-breaking Introduces a non-breaking change improvement Improves an existing functionality labels Oct 1, 2026
@bdice

bdice commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

/merge

@rapids-bot
rapids-bot Bot merged commit 008faba into rapidsai:main Oct 1, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants