Skip to content

ci: Run a daily cron job to populate the CI cache #4542

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 8, 2025

Conversation

tgross35
Copy link
Contributor

@tgross35 tgross35 commented Jul 8, 2025

The merge queue doesn't have a cache available because CI runs before the push to main happens, and cache can only be retrieved from branches that the testing commit is derived from. Work around this by adding a daily CI run on main so there will be something in the cache usable to PRs. It can also be run manually with workflow_dispatch.

Link: https://github.com/orgs/community/discussions/66430

The merge queue doesn't have a cache available because CI runs before
the push to `main` happens, and cache can only be retrieved from
branches that the testing commit is derived from. Work around this by
adding a daily CI run on `main` so there will be something in the cache
usable to PRs. It can also be run manually with `workflow_dispatch`.

Link: https://github.com/orgs/community/discussions/66430
@rustbot rustbot added A-CI Area: CI-related items S-waiting-on-review labels Jul 8, 2025
@tgross35 tgross35 enabled auto-merge July 8, 2025 06:39
@tgross35 tgross35 added this pull request to the merge queue Jul 8, 2025
Merged via the queue into rust-lang:main with commit 6e8350e Jul 8, 2025
48 of 52 checks passed
@tgross35 tgross35 deleted the ci-cron branch July 8, 2025 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CI Area: CI-related items
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants