Skip to content

Refactor durableUseCacheEntries configuration - #101930

Merged
mischnic merged 5 commits into
canaryfrom
fx/durable-use-cache-config
Nov 18, 2026
Merged

mischnic merged 5 commits into
canaryfrom
fx/durable-use-cache-config

Conversation

@mischnic

@mischnic mischnic commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

The core problem is that config.ts can only determine the bundler for next build/dev. For next start, we don't know the used bundler during config resolution.

@vercel

vercel Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Vercel Agent finished reviewing your changes and approved this pull request.
01680d8 • Tue, 17 Nov 2026 22:49:47 GMT

Explanation

The pending manifest finding is resolved in 01680d8, and no remaining blocking findings or escalation triggers were identified. Checked local and cross-route module-ID round trips with durability disabled and stable-name resolution with durability enabled; full runtime tests remain unverified because dependencies are not installed.

Resolved issues (1)

packages/next/src/server/app-render/manifests-singleton.ts:311 — With durability disabled, development cache entries containing cross-route client references now fail to decode because the manifest fallback still emits raw module IDs but this branch only resolves stable names from the current route.

Review steps (54.9s)

Preparing the workspace 18.5s
Analyzing the changes 28.4s
Finalizing the review 8.0s

@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Tests Passed

Commit: 01680d8
View workflow run

vercel[bot]
vercel Bot previously approved these changes Nov 17, 2026
@mischnic
mischnic force-pushed the fx/durable-use-cache-config branch from 6db5078 to a370478 Compare November 17, 2026 13:43
vercel[bot]
vercel Bot previously approved these changes Nov 17, 2026
@mischnic
mischnic marked this pull request as ready for review November 17, 2026 14:03
@mischnic
mischnic force-pushed the fx/durable-use-cache-config branch from a370478 to 087ada9 Compare November 17, 2026 21:29
vercel[bot]
vercel Bot previously approved these changes Nov 17, 2026
vercel[bot]
vercel Bot previously approved these changes Nov 17, 2026
@vercel
vercel Bot dismissed stale reviews from themself November 17, 2026 22:11

Vercel Agent found issues that need attention.

@mischnic
mischnic requested a review from unstubbable November 17, 2026 23:53
Comment thread packages/next/src/server/config.ts Resolved
@mischnic
mischnic merged commit 5434ea1 into canary Nov 18, 2026
127 checks passed
@mischnic
mischnic deleted the fx/durable-use-cache-config branch November 18, 2026 13:01
mischnic added a commit that referenced this pull request Nov 26, 2026
### What?

Enable durable `"use cache"` remote cache entries across deployments by
default for Turbopack production builds.

### Why?

Allow supported builds to reuse durable cache entries across deployments
without opting in.

### How?

Set the configuration default to true and update affected test
expectations and fixtures. Built on #101930.

### Verification

- Verified that the two split commits preserve the original final tree
with `git diff --exit-code 54d52c8a877 HEAD`.
- Not run: runtime tests (history-only split; no additional
implementation changes).

Co-authored-by: vercel-fleet-prod[bot] <318278635+vercel-fleet-prod[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants