mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 08:25:34 +02:00
[PR #637] [MERGED] refactor: extract app page boundary render runtime #735
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#735
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/637
Author: @southpolesteve
Created: 3/22/2026
Status: ✅ Merged
Merged: 3/22/2026
Merged by: @southpolesteve
Base:
main← Head:codex/app-page-boundary-render-runtime📝 Commits (2)
270e906refactor: extract app page boundary render runtime6b8db50test: harden navigation noindex assertions📊 Changes
6 files changed (+944 additions, -1380 deletions)
View changed files
📝
packages/vinext/src/entries/app-rsc-entry.ts(+54 -197)➕
packages/vinext/src/server/app-page-boundary-render.ts(+335 -0)📝
tests/__snapshots__/entry-templates.test.ts.snap(+312 -1170)➕
tests/app-page-boundary-render.test.ts(+230 -0)📝
tests/app-router.test.ts(+8 -11)📝
tests/nextjs-compat/navigation.test.ts(+5 -2)📄 Description
Summary
app-rsc-entry.tsfocused on thin generated wiring by delegating boundary rendering toapp-page-boundary-render.tsVerification
vp check packages/vinext/src/server/app-page-boundary-render.ts packages/vinext/src/entries/app-rsc-entry.ts tests/app-page-boundary-render.test.ts tests/app-router.test.tsvp test run tests/app-page-boundary-render.test.ts tests/app-page-boundary.test.ts tests/app-page-stream.test.ts tests/nextjs-compat/global-error.test.tsvp test run tests/app-router.test.ts --testTimeout=120000 -t "renders custom not-found.tsx for unmatched routes|notFound\(\) escalates to nearest ancestor not-found.tsx"vp test run tests/app-router.test.ts -t "generated code delegates page boundary rendering to typed helpers|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"vp test run tests/entry-templates.test.ts -uvp run vinext#buildWritten by Codex.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.