fix: make Cloudflare binding config portable - #2
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
codra | 74e3ddd | Sep 20 2026, 06:14 PM |
|
Hosted Workers Build reached the corrected config and successfully provisioned/inherited the portable bindings. It then stopped before version creation on the intentional No Worker version was deployed and no remote D1 migration was run. The required-secret guard has intentionally not been weakened. |
|
Final build-fix update (head
No Worker version was deployed and no remote D1 migrations were run. |
|
Deploy-stage follow-up: The pasted Cloudflare run completed Cloudflare Workers Builds is now configured with:
Validated locally with the matching non-mutating command:
The dry-run resolved the pinned KV, D1, Queue, Workflow, AI, and Assets bindings and exited successfully. |
|
Final production-state check after the failed automatic deploy:
I did not retry production deployment or run remote D1 migrations, preserving the explicit task boundary. |
|
Production deployment completed after explicit authorization:
No remote D1 migrations were run. |
|
Production follow-up completed.
No additional D1 migrations were run after the initial authorized migration. |
Summary
codra-dbbinding for the connected Cloudflare accountBuild failure
PR #1's build command succeeded, but its preview upload initially failed because the root-level Workers Builds command could not discover
apps/worker/wrangler.jsonc. The Workers Builds version command is now configured as:npx wrangler versions upload --config apps/worker/wrangler.jsoncThat exposed the stale KV namespace ID, which this PR fixes.
Validation
npm run buildnpm run typechecknpx wrangler versions upload --dry-run --config apps/worker/wrangler.jsoncgit diff --checkNo Worker deployment or remote D1 migration was run.