Skip to content

ci: keep bun caches slim and free of stale entries - #50

Merged
devin-ai-integration[bot] merged 1 commit into
mainfrom
devin/1795445925-ci-slim-caches
Nov 23, 2026
Merged

devin-ai-integration[bot] merged 1 commit into
mainfrom
devin/1795445925-ci-slim-caches

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

Drops restore-keys from every bun package-cache entry and gives lint-running jobs their own cache key.

Why: with restore-keys, every lockfile bump restored the previous cache wholesale and re-saved it under the new key — the cache only grows, forever. Linux-bun- reached 577MB and Linux-bun-web- 572MB, so each actions/cache restore cost up to ~7s per job (the largest remaining fixed cost in CI). On a bump, each job now does one cold bun install and saves a cache containing only resolved deps (~5–80MB), so restores stay fast permanently.

checks, web-checks, and release verify-and-package get -checks- keys because scripts/lint.ts pulls bun@canary into the global cache on Bun 1.4.5 — sharing the test/build keys would either bloat them or re-download canary every run.

Link to Devin session: https://app.devin.ai/sessions/8b5e1e71f16e4e6d9a7a991126697c6f
Open in Devin Desktop: https://app.devin.ai/desktop/session/8b5e1e71f16e4e6d9a7a991126697c6f?variant=devin
Requested by: @extoci

Dropping restore-keys stops resurrecting stale cache entries on every
lockfile bump, so each saved cache contains only the resolved deps
instead of growing forever (Linux-bun had reached 577MB, bun-web 572MB;
restores took up to 7s per job).

Jobs that run lint get their own cache key because scripts/lint.ts
installs bun@canary into the global cache on Bun 1.4.5; keeping it out
of the shared key keeps test/build restores small too. On a lockfile
bump each job pays one cold install instead of inheriting cruft.
@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
fleet Ready Ready Preview Nov 23, 2026 2:59pm UTC

@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration
devin-ai-integration Bot merged commit 1689191 into main Nov 23, 2026
9 checks passed
@devin-ai-integration
devin-ai-integration Bot deleted the devin/1795445925-ci-slim-caches branch November 23, 2026 15:04
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