Skip to content

fix(nextjs): Update glob for cache output #31177

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

Merged
merged 1 commit into from
May 12, 2025
Merged

Conversation

ndcunningham
Copy link
Contributor

@ndcunningham ndcunningham commented May 12, 2025

This PR refines the Next.js package plugin’s output glob to exclude the .next/cache directory. Caching that path via AWS S3 leads to checksum mismatches when restoring from the remote cache, so it’s now omitted.

related: #30338

@ndcunningham ndcunningham self-assigned this May 12, 2025
@ndcunningham ndcunningham requested a review from a team as a code owner May 12, 2025 18:18
@ndcunningham ndcunningham requested a review from xiongemi May 12, 2025 18:18
Copy link

vercel bot commented May 12, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Updated (UTC)
nx-dev ⬜️ Ignored (Inspect) Visit Preview May 12, 2025 6:30pm

Copy link

nx-cloud bot commented May 12, 2025

View your CI Pipeline Execution ↗ for commit 244c236.

Command Status Duration Result
nx affected --targets=lint,test,build,e2e,e2e-c... ✅ Succeeded 24m 43s View ↗
nx run-many -t check-imports check-commit check... ✅ Succeeded 16s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx format:check ✅ Succeeded 2s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded 1s View ↗
nx documentation ✅ Succeeded 30s View ↗

☁️ Nx Cloud last updated this comment at 2025-05-12 18:59:22 UTC

@ndcunningham ndcunningham force-pushed the fix/nextjs-output-cache branch from 944b1b0 to 244c236 Compare May 12, 2025 18:27
@jaysoo jaysoo merged commit f20b2e6 into master May 12, 2025
6 checks passed
@jaysoo jaysoo deleted the fix/nextjs-output-cache branch May 12, 2025 20:42
FrozenPandaz pushed a commit that referenced this pull request May 16, 2025
This PR refines the Next.js package plugin’s output glob to exclude the
.next/cache directory. Caching that path via AWS S3 leads to checksum
mismatches when restoring from the remote cache, so it’s now omitted.

related: #30338
(cherry picked from commit f20b2e6)
Copy link

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants