mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #625] [MERGED] refactor: extract app route handler cache helpers #722
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#722
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/625
Author: @southpolesteve
Created: 3/21/2026
Status: ✅ Merged
Merged: 3/21/2026
Merged by: @southpolesteve
Base:
main← Head:codex/app-route-handler-cache-runtime📝 Commits (2)
416965crefactor: extract app route handler cache helpersa6fb9bfchore: remove dead app route cache import📊 Changes
6 files changed (+698 additions, -535 deletions)
View changed files
📝
packages/vinext/src/entries/app-rsc-entry.ts(+41 -75)➕
packages/vinext/src/server/app-route-handler-cache.ts(+138 -0)📝
packages/vinext/src/server/app-route-handler-execution.ts(+6 -6)📝
tests/__snapshots__/entry-templates.test.ts.snap(+228 -450)➕
tests/app-route-handler-cache.test.ts(+278 -0)📝
tests/app-router.test.ts(+7 -4)📄 Description
Summary
app-route-handler-cache.tsruntime moduleapp-rsc-entry.tsdelegate route-handler cache orchestration instead of inlining cache reads, stale response construction, and background regeneration wiringVerification
vp check packages/vinext/src/server/app-route-handler-cache.ts packages/vinext/src/server/app-route-handler-execution.ts packages/vinext/src/entries/app-rsc-entry.ts tests/app-route-handler-cache.test.ts tests/app-router.test.tsvp test run tests/app-route-handler-cache.test.ts tests/app-route-handler-execution.test.ts tests/app-route-handler-runtime.test.ts tests/app-route-handler-response.test.ts tests/app-route-handler-policy.test.tsvp test run tests/entry-templates.test.ts -uvp test run tests/app-router.test.ts -t 'route handler'vp test run tests/nextjs-compat/app-routes.test.tsvp run vinext#buildStacked on #624.
Written by Codex.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.