Skip to content
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

[BUG] Build cache not being uploaded #249

Open
wesbos opened this issue Jan 10, 2025 · 0 comments
Open

[BUG] Build cache not being uploaded #249

wesbos opened this issue Jan 10, 2025 · 0 comments
Labels

Comments

@wesbos
Copy link
Contributor

wesbos commented Jan 10, 2025

Describe the bug

I'm not sure if this is a wrangler/cloudflare worker CI bug, or an opennextjs bug, but the build cache between builds is not persisted.

I've confirmed I have build cache enabled:

Screenshot 2025-01-10 at 2 37 57 PM

When the build starts, we see this in the Cloudflare Dashboard:

⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache

this page says .next/cache is supported

When the build finishes we see this error, which as far as I can tell is a specific error to cloudflare's CI?

14:01:58.955    Uploading to build output cache
14:01:59.531    Failed to upload build output to build cache. Skipping.

inspecting a build, I see the .next/cache folder is inside of .open-next/.next/cache - could that be the issue? I don't see a way to configure where the cache lives with workers.

Steps to reproduce

x

Expected behavior

x

@opennextjs/cloudflare version

0.3.7

Wrangler version

3.0.99

next info output

latest

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants