chore: fix turbo cache configuration in ci#7950
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
better-auth
@better-auth/cli
@better-auth/core
@better-auth/drizzle-adapter
@better-auth/electron
@better-auth/expo
@better-auth/i18n
@better-auth/kysely-adapter
@better-auth/memory-adapter
@better-auth/mongo-adapter
@better-auth/oauth-provider
@better-auth/passkey
@better-auth/prisma-adapter
@better-auth/redis-storage
@better-auth/scim
@better-auth/sso
@better-auth/stripe
@better-auth/telemetry
@better-auth/test-utils
commit: |
himself65
approved these changes
Feb 13, 2026
Merged
AndreaJ-Vasquez
pushed a commit
to AndreaJ-Vasquez/better-auth
that referenced
this pull request
Feb 26, 2026
Co-authored-by: starslingdev[bot] <248995740+starslingdev[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
chore: fix turbo cache configuration in ci
Your workflows set
TURBO_CACHE: remote:rw, which disables Turborepo's local cache. Sinceremote:rwomits thelocal:source, Turborepo never writes to.turbo/cache, the directory is never created, andactions/cachehas nothing to save.This is a pre-existing issue that StarSling has identified - the
.turbodirectory was a stale ~68 MB artifact restored from GHES cache (never regenerated byturbo build), and thePost Cache turbo build setupsilently failed every time withUnable to reserve cache with key.Linux-turbo-3877e588069d03dfaa67741a9e9d65e90b4a8543Unable to reserve cache with key Linux-turbo-78562610cc...Fix
Remove
TURBO_CACHE: remote:rwand let it default tolocal:rw,remote:rw. This is what Turborepo's GitHub Actions guide recommends — both local and remote caching active, withactions/cachepersisting.turboacross CI runs. Your remote cache (84% hit rate, 2,445/2,900 lookups) continues working as before; the local cache adds a faster first-check layer.Changes
.github/workflows/ci.yml.github/workflows/e2e.yml.github/workflows/preview.ymlReferences
--cacheflag —TURBO_CACHEsyntax; omittinglocal:disables local reads and writesactions/cachesetup with local + remote caching.turbo/cacheas default local cache directory (v2+)node_modules/.cache/turboto.turbo/cachein v2Summary by cubic
Enable Turborepo local caching in CI by removing TURBO_CACHE=remote:rw, so actions/cache can save .turbo and reduce build times. Remote caching remains active.
Written for commit 3dd0932. Summary will update on new commits.