Skip to content

ci: keep Windows opam cache resident (base-only dune saves, trim, stable key) - #232

Merged
tiensonqin merged 1 commit into
feat/ml-backendfrom
ci/cache-retention
Oct 13, 2026
Merged

tiensonqin merged 1 commit into
feat/ml-backendfrom
ci/cache-retention

Conversation

@tiensonqin

Copy link
Copy Markdown
Collaborator

Repo Actions cache was at 12.9GB (>10GB cap): per-PR dune caches (~0.8-1GB each) evicted the Windows OCaml switch, so Windows native-tests fell back to ~20-25 min cold opam setup.

  • dune cache: PRs restore read-only (actions/cache/restore); only push runs trim (dune cache trim --size=400MB) and save.
  • OCaml env: drop the weekly epoch from the key (stable per image + opam hash); save only on non-PR events.
  • warm-cache.yml comments updated; it re-runs on this change to warm all OSes.

@tiensonqin
tiensonqin merged commit d7155b7 into feat/ml-backend Oct 13, 2026
8 checks passed
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