Skip to content

fix(ci): deploy scaffolded Cloudflare Build Output - #3527

Merged
james-elicx merged 2 commits into
mainfrom
codex/fix-scaffold-deploy-ci
Sep 28, 2026
Merged

james-elicx merged 2 commits into
mainfrom
codex/fix-scaffold-deploy-ci

Conversation

@james-elicx

@james-elicx james-elicx commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Both scaffold deployment workflows have failed on main since #3504 switched Cloudflare init to typed config/Build Output. They still try to read wrangler.jsonc, aborting before the build (create-next-app failure, create-vinext-app failure). The core CI workflow remains green.

Update both workflows to configure cloudflare.config.ts and verify the generated Build Output. Preserve the deployed application names, preview URLs, KV namespace, and Response Store service identity; deploy the auxiliary service through its generated deploy:response-store script. Make the create-next-app data-cache choice explicit for noninteractive runs. The CI namespace override targets the KV binding call, supporting both the old placeholder and the bindings.kv() autoprovisioning form introduced in #3528.

Validation:

  • Replayed fresh, locally packed create-next-app and create-vinext-app setup/configure/build steps; the original configure steps reproduce ENOENT, and the updated steps pass.
  • Verified emitted application names, preview URLs, KV namespace, and Response Store identity. Both application deployments and the generated Response Store deployment pass cf --dry-run.
  • Replayed the updated configure/build/output-verification steps with both bindings.kv({ id: "<your-kv-namespace-id>" }) and bindings.kv(). Both compile with the expected CI namespace, Worker name, and preview URLs, and both deployment dry runs pass.
  • vp test run tests/init-cloudflare.test.ts tests/create-vinext-app.test.ts: 118 tests passed.
  • vp check, actionlint, zizmor --offline, and git diff --check passed.
  • All 83 GitHub checks passed on c38bcdae98c16d5f9a12ebffe176fbe7889f682b, including the KV compatibility update.

These deployment workflows run only on main. Live deployment and their remote smoke tests will run after merge; local validation used dry runs.

@pkg-pr-new

pkg-pr-new Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@vinext/cloudflare

npm i https://pkg.pr.new/@vinext/cloudflare@3527

create-vinext-app

npm i https://pkg.pr.new/create-vinext-app@3527

@vinext/types

npm i https://pkg.pr.new/@vinext/types@3527

vinext

npm i https://pkg.pr.new/vinext@3527

@cloudflare/workers-response-store

npm i https://pkg.pr.new/@cloudflare/workers-response-store@3527

commit: c38bcda

@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Performance benchmarks

Compared c38bcda against base 94f1bd1 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 142.3 KB 142.3 KB ⚫ -0.0%
Client entry size (gzip) vinext 130.4 KB 130.4 KB ⚫ 0.0%
Dev server cold start vinext 3.38 s 3.33 s ⚫ -1.4%
Production build time vinext 3.87 s 3.87 s ⚫ +0.0%
RSC entry closure size (gzip) vinext 128.3 KB 128.3 KB ⚫ +0.0%
Server bundle size (gzip) vinext 226.9 KB 226.9 KB ⚫ +0.0%

View detailed results and traces

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

@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
response-store-demo preview production
workers-cache preview production
kv preview production
static-assets-cache preview production
static-export preview production
web preview production

@james-elicx
james-elicx merged commit 81ef602 into main Sep 28, 2026
83 checks passed
@james-elicx
james-elicx deleted the codex/fix-scaffold-deploy-ci branch September 28, 2026 12:07
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