mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #634] [MERGED] refactor: extract app page boundary helpers #731
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#731
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/634
Author: @southpolesteve
Created: 3/21/2026
Status: ✅ Merged
Merged: 3/21/2026
Merged by: @southpolesteve
Base:
main← Head:codex/app-page-boundary-runtime📝 Commits (1)
d9556adrefactor: extract app page boundary helpers📊 Changes
5 files changed (+1468 additions, -1277 deletions)
View changed files
📝
packages/vinext/src/entries/app-rsc-entry.ts(+152 -207)➕
packages/vinext/src/server/app-page-boundary.ts(+189 -0)📝
tests/__snapshots__/entry-templates.test.ts.snap(+899 -1070)➕
tests/app-page-boundary.test.ts(+215 -0)📝
tests/app-router.test.ts(+13 -0)📄 Description
Summary
app-page-boundary.tsapp-rsc-entry.tsfocused on route-specific metadata and tree wiring while delegating fallback/error boundary response orchestration to typed helpersTesting
vp check packages/vinext/src/server/app-page-boundary.ts packages/vinext/src/entries/app-rsc-entry.ts tests/app-page-boundary.test.ts tests/app-router.test.tsvp test run tests/app-page-boundary.test.ts tests/app-router.test.ts -t 'app page boundary helpers|generated code delegates page boundary rendering'vp test run tests/app-page-boundary.test.ts tests/app-page-request.test.ts tests/app-page-stream.test.ts tests/app-page-execution.test.ts tests/app-page-cache.test.ts tests/app-page-response.test.ts tests/error-boundary.test.tsvp test run tests/entry-templates.test.ts -uvp test run tests/app-router.test.ts -t 'notFound\(\) inside Suspense boundary preserves digest for not-found UI|renders intercepted photo modal on RSC navigation from feed|renders custom not-found.tsx for unmatched routes|notFound\(\) escalates to nearest ancestor not-found.tsx|forbidden\(\) from Server Component returns 403 with forbidden.tsx|unauthorized\(\) from Server Component returns 401 with unauthorized.tsx|renders error boundary wrapper for routes with error.tsx|generated code delegates page boundary rendering to typed helpers|generated code|dynamicParams = false|page ISR \+ searchParams'vp run vinext#buildWritten by Codex.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.