Skip to content

CI saves Rust caches only on dev, releases save none on tags - #292

Merged
fylorn merged 1 commit into
devfrom
ci/cache-save-on-dev
Oct 8, 2026
Merged

fylorn merged 1 commit into
devfrom
ci/cache-save-on-dev

Conversation

@fylorn

@fylorn fylorn commented Oct 8, 2026

Copy link
Copy Markdown
Contributor
  • ci.yml: rust-cache saves only on pushes to dev. A PR reads its own
    caches, its base branch's (dev) and the default branch's (main), never
    another PR's, so a cache saved on a PR served only a later push to that same
    PR while taking as much of the 10 GB quota as dev's. main is only ever
    fast-forwarded to a dev commit, so its caches duplicated dev's.
  • release.yml: no cache is saved on tags. A tag run's cache is filed under
    that tag and no later tag can read it; v2026.10.7 left 3.3 GB. Rehearsal
    branches still save, since a rehearsal often takes several pushes.

🤖 Generated with Claude Code

- ci.yml: `rust-cache` saves only on pushes to dev. A PR reads its own
  caches, its base branch's (dev) and the default branch's (main), never
  another PR's, so a cache saved on a PR served only a later push to that same
  PR while taking as much of the 10 GB quota as dev's. main is only ever
  fast-forwarded to a dev commit, so its caches duplicated dev's.
- release.yml: no cache is saved on tags. A tag run's cache is filed under
  that tag and no later tag can read it; v2026.10.7 left 3.3 GB. Rehearsal
  branches still save, since a rehearsal often takes several pushes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fylorn
fylorn merged commit 46fe40e into dev Oct 8, 2026
4 checks passed
@fylorn
fylorn deleted the ci/cache-save-on-dev branch October 8, 2026 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant