migrate to cloudflare deployment - #334
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true📝 WalkthroughWalkthroughThe web package now targets Cloudflare Workers through the Astro Cloudflare adapter. Wrangler provides preview, type generation, deployment configuration, worker entrypoint settings, asset handling, and workspace support. ChangesCloudflare deployment
Estimated code review effort: 2 (Simple) | ~10 minutes Mergeability Score: 🟡 Moderate · up to The migration can fail during clean deployments because its tracked deployment configuration references missing files, and full request logging may retain sensitive URL data. These issues should be fixed or explicitly accepted before merging. Sequence Diagram(s)sequenceDiagram
participant PackageScripts
participant Astro
participant Wrangler
participant WorkerAssets
PackageScripts->>Astro: build the web package
Astro->>Wrangler: provide the server entrypoint and dist output
Wrangler->>WorkerAssets: serve configured static assets
PackageScripts->>Wrangler: run preview and deployment commands
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1⚔️ Resolve merge conflicts 💡
📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@packages/web/.wrangler/deploy/config.json`:
- Line 1: Remove the generated packages/web/.wrangler/deploy/config.json file
and add the .wrangler/ directory pattern to the applicable gitignore file so
Wrangler-generated artifacts are not tracked.
In `@packages/web/wrangler.jsonc`:
- Around line 11-14: Before production deployment, validate that enabling
invocation_logs in the observability configuration complies with the URL-data
privacy policy and log-retention requirements. If URLs may contain identifiers
or tokens, configure an approved sampling or privacy-control setting, or disable
invocation_logs, while preserving the intended observability behavior.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: d2d39e9c-d484-491a-8c7a-33f11112dde5
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (7)
packages/web/.wrangler/deploy/config.jsonpackages/web/astro.config.mjspackages/web/package.jsonpackages/web/public/.assetsignorepackages/web/tsconfig.jsonpackages/web/wrangler.jsoncpnpm-workspace.yaml
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
web | 9ae7211 | Aug 24 2026, 11:50 PM |
136750f to
31da3f4
Compare
52086fd to
6b6d9f3
Compare
|



Summary by CodeRabbit
New Features
Chores