Skip to content

docs(cloudflare): fix Worker deploy filename and stale redeploy callout - #11222

Merged
MarkusNeusinger merged 3 commits into
mainfrom
docs/cloudflare-worker-deploy-filename
Sep 4, 2026
Merged

docs(cloudflare): fix Worker deploy filename and stale redeploy callout#11222
MarkusNeusinger merged 3 commits into
mainfrom
docs/cloudflare-worker-deploy-filename

Conversation

@MarkusNeusinger

Copy link
Copy Markdown
Owner

Summary

  • Fix the scripted Worker deploy recipe in infra/cloudflare/README.md: the multipart curl example uploaded the module under curl's default filename (the local basename anyplot-api-proxy.js), which Cloudflare's main_module: "worker.js" never matches, so a scripted deploy answered 400 — Uncaught Error: No such module: worker.js (observed live 2026-09-04). Add the explicit filename=worker.js override plus a sentence explaining why Cloudflare needs it.
  • Replace the stale "After this lands, the Worker needs a redeploy" callout with a "Deployed state (2026-09-04)" note: the Worker was redeployed from the current .js after feat(security): an origin gate for the app container, shipped off #11221, the Transform Rule now covers anyplot.ai, www.anyplot.ai and api.anyplot.ai, and /api/event measured off-seen. The standing rule (the .js mirrors the deployed bytes) is kept.

Plan

N/A — docs-only fix, no spec/plan file.

Test plan

  • Read the full corrected recipe and callout in infra/cloudflare/README.md to confirm the filename=worker.js attribute and the new deployed-state note read correctly in context.
  • uv run python -m tools.changelog check --base origin/main passes with the new fragment.
  • No live redeploy performed by this PR (docs-only); a future scripted deploy is the real-world verification of the fixed recipe.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UEScQMZFvxxNNyNJYryfa3

…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
Copilot AI balanced review requested due to automatic review settings September 4, 2026 19:00

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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.

Comment thread changelog.d/cloudflare-worker-deploy-filename.md
Comment thread infra/cloudflare/README.md Outdated
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
@MarkusNeusinger
MarkusNeusinger merged commit 601d305 into main Sep 4, 2026
10 checks passed
@MarkusNeusinger
MarkusNeusinger deleted the docs/cloudflare-worker-deploy-filename branch September 4, 2026 19:05
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