Skip to content

feat(build): support independently deployed worker stages - #3084

Draft
james-elicx wants to merge 1 commit into
codex/cdn-entrypoint-cachefrom
codex/cdn-stack-http
Draft

feat(build): support independently deployed worker stages#3084
james-elicx wants to merge 1 commit into
codex/cdn-entrypoint-cachefrom
codex/cdn-stack-http

Conversation

@james-elicx

@james-elicx james-elicx commented Aug 25, 2026

Copy link
Copy Markdown
Member

Summary

  • let adapters add independently deployable request and response build entries
  • preserve existing host inputs and reject reserved entry-name collisions
  • demonstrate an adapter-owned HTTP transport between two separate Node processes
  • cover App, Pages, API, revalidation, streaming, static assets, and forged transport metadata

The Cloudflare adapter does not use output.entries; it remains on the preceding PR and owns its ctx.exports transport.

Stack

  1. tooling baseline (chore(deps): update Cloudflare Workers tooling #3082)
  2. transport-neutral worker stages (feat(build): add transport-neutral worker stages #3083)
  3. Cloudflare Workers Cache entrypoint isolation (feat(cloudflare): isolate Workers Cache with staged entrypoints #3079)
  4. This PR: independently deployed HTTP stages (feat(build): support independently deployed worker stages #3084)
  5. Workers Cache tag parity (fix(cloudflare): preserve Workers Cache tag parity #3085)

Validation

  • CI: all 68 checks passed
  • independent HTTP stages: 8/8
  • build/config coverage: 188 passed, 2 skipped
  • targeted vp check passed
@pkg-pr-new

pkg-pr-new Bot commented Aug 25, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: a5a3fc1

@james-elicx
james-elicx force-pushed the codex/cdn-entrypoint-cache branch from 4d186de to 9d0abbb Compare August 25, 2026 23:15
@james-elicx
james-elicx force-pushed the codex/cdn-stack-http branch from dad2728 to ade8f76 Compare August 25, 2026 23:15
@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
web preview production
@james-elicx
james-elicx force-pushed the codex/cdn-entrypoint-cache branch from 9d0abbb to 379ae5b Compare August 25, 2026 23:19
@james-elicx
james-elicx force-pushed the codex/cdn-stack-http branch from ade8f76 to a5a3fc1 Compare August 25, 2026 23:19
@github-actions

Copy link
Copy Markdown
Contributor

Performance benchmarks

Compared a5a3fc1 against base 379ae5b using alternating same-runner rounds. Next.js was unchanged and skipped.

1 improved · 1 regressed · 4 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 2.43 s 2.39 s 🟢 -1.9%
Production build time vinext 2.43 s 2.50 s 🔴 +3.0%
RSC entry closure size (gzip) vinext 121.1 KB 121.1 KB ⚫ +0.0%
Server bundle size (gzip) vinext 205.0 KB 205.0 KB ⚫ +0.0%

View detailed results and traces

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

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

Labels

None yet

1 participant