docs(cloudflare): fix Worker deploy filename and stale redeploy callout - #11222
Merged
Conversation
…le callout The curl example uploaded the module under the local basename (`anyplot-api-proxy.js`), which Cloudflare's `main_module: "worker.js"` never matches, so a scripted deploy answered 400 "No such module: worker.js" (observed live 2026-09-04). Add the explicit `filename=worker.js` override and one sentence on why it's required. Also replace the stale "needs a redeploy" callout with the actual deployed state as of 2026-09-04. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UEScQMZFvxxNNyNJYryfa3
…ment Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UEScQMZFvxxNNyNJYryfa3
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The deployment correction is consistent, with only two non-blocking punctuation comments.
Pull request overview
Corrects the Cloudflare Worker deployment documentation and records the current deployed state.
Changes:
- Forces the uploaded module filename to match
main_module. - Replaces the stale redeployment warning.
- Adds the required changelog fragment.
File summaries
| File | Description |
|---|---|
infra/cloudflare/README.md |
Fixes and explains the deployment recipe. |
changelog.d/cloudflare-worker-deploy-filename.md |
Records both documentation fixes. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 2
- Review effort level: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Applies the repository prose rule (write-docs skill) per Copilot review on PR #11222. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UEScQMZFvxxNNyNJYryfa3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
infra/cloudflare/README.md: the multipartcurlexample uploaded the module under curl's default filename (the local basenameanyplot-api-proxy.js), which Cloudflare'smain_module: "worker.js"never matches, so a scripted deploy answered400 — Uncaught Error: No such module: worker.js(observed live 2026-09-04). Add the explicitfilename=worker.jsoverride plus a sentence explaining why Cloudflare needs it..jsafter feat(security): an origin gate for the app container, shipped off #11221, the Transform Rule now coversanyplot.ai,www.anyplot.aiandapi.anyplot.ai, and/api/eventmeasuredoff-seen. The standing rule (the.jsmirrors the deployed bytes) is kept.Plan
N/A — docs-only fix, no spec/plan file.
Test plan
infra/cloudflare/README.mdto confirm thefilename=worker.jsattribute and the new deployed-state note read correctly in context.uv run python -m tools.changelog check --base origin/mainpasses with the new fragment.🤖 Generated with Claude Code
https://claude.ai/code/session_01UEScQMZFvxxNNyNJYryfa3