You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cf deploy --dry-run still fails on a migrated Astro + Worker project: "Build Output Specification: no root config found" (1.0.0-beta.29, regression of #18?) #587
After cf migrate on a Wrangler project that serves an Astro static build through a Worker (main + assets.directory + run_worker_first), cf deploy --dry-run runs the Astro build and then fails because no Build Output Specification is written. This looks like the error in #18, which was closed as completed on 2026-09-30, but it reproduces on 1.0.0-beta.29.
Versions
cf 1.0.0-beta.29 (project devDependency)
wrangler 4.160.0 (project devDependency)
astro 7.4.10, output: "static", no Cloudflare adapter
package.jsonbuild script: astro build (with prebuild/postbuild steps). No @cloudflare/vite-plugin.
Steps
npx cf migrate --dry-run # "Using the Wrangler bundler…", would update cloudflare.config.ts + wrangler.config.ts, no follow-up items
npx cf migrate --no-install
npx cf deploy --dry-run
cf migrate output: √ Migration complete. It generated a valid-looking cloudflare.config.ts (DO export with sqlite storage, KV, rate limit, cron, assets) and wrangler.config.ts with assetsDirectory: "./dist".
Actual
The Astro build runs and completes (29 page(s) built, [build] Complete!), then:
┌ Error
│ Build Output Specification: no root config found at
│ <project>/.cloudflare/output/v0/config.json.
└
Expected
cf deploy --dry-run bundles worker/index.ts, picks up ./dist as assets, and prints the bindings, the same way wrangler deploy --dry-run does on the unmigrated project (which succeeds with wrangler 4.160.0).
Activity
test: cf build runs the Astro build instead of the Wrangler bundler o…
[autoconfig] Set up the framework after migrating a Wrangler project
[autoconfig] Set up the framework after migrating a Wrangler project
[autoconfig] Set up the framework after migrating a Wrangler project
[autoconfig] Set up the framework after migrating a Wrangler project
[autoconfig] Set up the framework after migrating a Wrangler project