21 July 2026
An hour spent debugging why a D1 binding vanished after moving a Cloudflare Worker to GitHub + wrangler.jsonc — the fix was defining a proper main entrypoint alongside the static-assets binding, not just adding the binding in the dashboard.