Skip to content

feat(rsc): remove hard RSDW requirement - #3123

Draft
james-elicx wants to merge 7 commits into
mainfrom
codex/remove-rsdw-hard-requirement
Draft

feat(rsc): remove hard RSDW requirement#3123
james-elicx wants to merge 7 commits into
mainfrom
codex/remove-rsdw-hard-requirement

Conversation

@james-elicx

Copy link
Copy Markdown
Member

Summary

  • use the Flight runtime vendored by @vitejs/plugin-rsc by default
  • preserve an explicitly declared, version-aligned react-server-dom-webpack override
  • make init, custom-root resolution, optimizer configuration, standalone output, fixtures, examples, and documentation follow the new dependency model
  • add isolated default-runtime and explicit-override production E2E coverage, including hydration, navigation, Flight, relocation, and Server Actions

Validation

  • vp test run tests/init.test.ts tests/react-rsc-compatibility.test.ts tests/app-router-rsc-plugin.test.ts
  • vp test run tests/app-router-dev-server.test.ts tests/pages-router.test.ts tests/build-optimization.test.ts tests/deploy.test.ts
  • PLAYWRIGHT_PROJECT=app-rsdw-override-prod pnpm run test:e2e
  • PLAYWRIGHT_PROJECT=app-rsc-isolated-standalone pnpm run test:e2e
  • vp check
  • repeated independent review until clean

Diff size

Most touched files are one-line dependency removals across App Router examples and fixtures. The shared lockfile and isolated E2E setup account for most changed lines; runtime behavior is concentrated in the RSC plugin/configuration and React compatibility helpers.

@pkg-pr-new

pkg-pr-new Bot commented Aug 28, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@vinext/cloudflare@3123
npm i https://pkg.pr.new/create-vinext-app@3123
npm i https://pkg.pr.new/@vinext/types@3123
npm i https://pkg.pr.new/vinext@3123

commit: ae5df94

@github-actions

Copy link
Copy Markdown
Contributor
Example Preview Production Original
app-router-cloudflare preview production
pages-router-cloudflare preview production
app-router-playground preview production original
realworld-api-rest preview production
nextra-docs-template preview production
benchmarks preview production
hackernews preview production original
workers-cache preview production
static-export preview production
web preview production

@github-actions

github-actions Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Performance benchmarks

Compared ae5df94 against base 5d0b530 using alternating same-runner rounds. Next.js was unchanged and skipped.

1 improved · 0 regressed · 5 within ±1.5%

Scenario Framework Baseline Current Change
Client bundle size (gzip) vinext 142.2 KB 142.2 KB ⚫ -0.0%
Client entry size (gzip) vinext 129.5 KB 129.5 KB ⚫ -0.0%
Dev server cold start vinext 3.18 s 3.13 s 🟢 -1.8%
Production build time vinext 3.38 s 3.38 s ⚫ -0.1%
RSC entry closure size (gzip) vinext 116.6 KB 116.6 KB ⚫ +0.0%
Server bundle size (gzip) vinext 198.2 KB 198.2 KB ⚫ +0.0%

View detailed results and traces

🟢 improvement · 🔴 regression · ⚫ change below 1.5% · paired base/head

@james-elicx
james-elicx force-pushed the codex/remove-rsdw-hard-requirement branch from e05b08f to df13c9c Compare August 28, 2026 15:22
@james-elicx
james-elicx marked this pull request as draft August 28, 2026 15:23
@james-elicx

Copy link
Copy Markdown
Member Author

/bigbonk review for issues

@james-elicx

Copy link
Copy Markdown
Member Author

/bigbonk review for issues

@ask-bonk

ask-bonk Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

@james-elicx Bonk workflow was cancelled.

View workflow run · To retry, trigger Bonk again.

@james-elicx

Copy link
Copy Markdown
Member Author

/bigbonk review for issues

1 similar comment
@james-elicx

Copy link
Copy Markdown
Member Author

/bigbonk review for issues

@james-elicx

Copy link
Copy Markdown
Member Author

/bigbonk review for issues

You have a hard 10-minute workflow limit. Timebox the review, prioritize the highest-risk actionable regressions, stop exploratory testing early enough to synthesize, and post your findings or an explicit no-findings verdict before the timeout.

Comment thread packages/vinext/src/index.ts Outdated
@ask-bonk

ask-bonk Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Posted 1 actionable inline review finding.

github run

@james-elicx

Copy link
Copy Markdown
Member Author

/bigbonk review for issues

You have a hard 10-minute workflow limit. Review the current exact head, prioritize the highest-risk actionable regressions, stop exploratory testing early enough to synthesize, and post your findings or an explicit no-findings verdict before the timeout. Pay particular attention to the just-addressed manual RSC distinct-plugin-copy validation.

Comment thread packages/vinext/src/index.ts
@ask-bonk

ask-bonk Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Posted 1 actionable inline review finding. Focused RSC suites pass: 17/17.

github run

@james-elicx

Copy link
Copy Markdown
Member Author

/bigbonk review for issues

You have a hard 10-minute workflow limit. Review the current exact head, prioritize the highest-risk actionable regressions, stop exploratory testing early enough to synthesize, and post findings or an explicit no-findings verdict before timeout. Focus on whether the manual RSC manager-identity validation and genuine distinct-copy regression fully address the prior finding without breaking supported manual, auto, or Pages-only configurations.

@ask-bonk

ask-bonk Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

LGTM!

github run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant