Skip to content

feat(cloudflare): allow CDN warmup without promotion - #3016

Merged
james-elicx merged 1 commit into
codex/rsc-prewarm-concurrency-25from
codex/rsc-prewarm-no-promote
Aug 24, 2026
Merged

feat(cloudflare): allow CDN warmup without promotion#3016
james-elicx merged 1 commit into
codex/rsc-prewarm-concurrency-25from
codex/rsc-prewarm-no-promote

Conversation

@james-elicx

Copy link
Copy Markdown
Member

Summary

  • add --warm-cdn-no-promote
  • leave a successfully staged Worker version at 0% after CDN warmup
  • skip the propagation delay and 100% promotion command when requested
  • fail rather than silently promote when the current deployment cannot stage the upload at 0%

Test plan

  • vp test run tests/cloudflare-cdn-warm-deploy.test.ts tests/deploy.test.ts
  • vp check packages/cloudflare/src/deploy.ts packages/cloudflare/src/cli.ts packages/cloudflare/src/deploy-help.ts tests/cloudflare-cdn-warm-deploy.test.ts tests/deploy.test.ts

Stacked on #3015.

@pkg-pr-new

pkg-pr-new Bot commented Aug 21, 2026

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 17fe916

@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
@github-actions

Copy link
Copy Markdown
Contributor

Performance benchmarks

Compared 17fe916 against base 2a86cec using alternating same-runner rounds. Next.js was unchanged and skipped.

0 improved · 0 regressed · 6 within ±1.5%

Scenario Framework Baseline Current Change
Client bundle size (gzip) vinext 141.8 KB 141.8 KB ⚫ +0.0%
Client entry size (gzip) vinext 129.2 KB 129.2 KB ⚫ -0.0%
Dev server cold start vinext 3.16 s 3.14 s ⚫ -0.4%
Production build time vinext 3.61 s 3.62 s ⚫ +0.2%
RSC entry closure size (gzip) vinext 116.0 KB 116.0 KB ⚫ +0.0%
Server bundle size (gzip) vinext 197.5 KB 197.5 KB ⚫ +0.0%

View detailed results and traces

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

@james-elicx
james-elicx marked this pull request as ready for review August 21, 2026 23:21
@james-elicx
james-elicx merged commit 7bf6910 into main Aug 24, 2026
70 checks passed
@james-elicx
james-elicx deleted the codex/rsc-prewarm-no-promote branch August 24, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant