Skip to content

Comments

Remove D1 database config causing Cloudflare Worker deployment failure#39

Merged
zerozero-0-0 merged 2 commits into5-サーバーの導入from
copilot/sub-pr-32
Dec 17, 2025
Merged

Remove D1 database config causing Cloudflare Worker deployment failure#39
zerozero-0-0 merged 2 commits into5-サーバーの導入from
copilot/sub-pr-32

Conversation

Copy link

Copilot AI commented Dec 17, 2025

D1 database configuration in wrangler.jsonc was causing deployment failures on Cloudflare Workers. The config was added during a merge conflict resolution but is not needed for the current server implementation.

Changes

  • Removed D1 database config from wrangler.jsonc:

    • Deleted d1_databases array with binding, database_name, database_id, and migrations_dir
    • Reverted compatibility_date to 2025-12-02
    • Restored original assets configuration structure
  • Applied Prettier formatting to fix CI failures:

    • Formatted index.html, src/components/Layout.jsx, src/index.css

The wrangler.jsonc now matches the original configuration without database bindings, allowing Workers deployment to succeed.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI self-assigned this Dec 17, 2025
Co-authored-by: zerozero-0-0 <167419177+zerozero-0-0@users.noreply.github.com>
@cloudflare-workers-and-pages
Copy link
Contributor

cloudflare-workers-and-pages bot commented Dec 17, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
group-a cbe8cf1 Commit Preview URL

Branch Preview URL
Dec 17 2025, 02:05 AM

Copilot AI changed the title [WIP] Fix formatting issues in code according to Prettier Remove D1 database config causing Cloudflare Worker deployment failure Dec 17, 2025
Copilot AI requested a review from zerozero-0-0 December 17, 2025 02:06
@zerozero-0-0 zerozero-0-0 marked this pull request as ready for review December 17, 2025 03:22
@zerozero-0-0 zerozero-0-0 merged commit 4c3194c into 5-サーバーの導入 Dec 17, 2025
5 checks passed
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.

2 participants