Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docs/releases/cloudflare.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,17 @@ The `production` GitHub environment allows only `main`. Store
out of command arguments and logs. After a verified deployment, remove any
repository-level copy of `CLOUDFLARE_API_TOKEN`.

The MCP package pins Wrangler to 4.151.3. Since 4.136.1, Wrangler reads
`workers.dev` and version-preview URLs from the Worker resource. Older versions
can upload successfully with a Worker-scoped token, then fail while reading the
account-level subdomain. This upgrade requires Node 22 or newer. When changing
the pin, run the local smoke workflow as well as the build: Wrangler 4.125.0
previously caused the local Worker to exit during OAuth metadata requests.

`upload_source_maps` stays explicitly disabled for Cloudflare uploads; the Vite
plugin uploads source maps to Sentry. Wrangler 4.150.0 changed its default to
upload source maps when this setting is omitted.

See `github-actions.md` for detailed setup instructions.

Manual recovery is available through `Recover Cloudflare Deployment` on
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"vite": "catalog:",
"vitest": "catalog:",
"miniflare": "catalog:",
"wrangler": "4.80.0"
"wrangler": "4.151.3"
},
"dependencies": {
"@ai-sdk/mcp": "catalog:",
Expand Down
2 changes: 2 additions & 0 deletions packages/mcp-cloudflare/wrangler.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
// Available environment variables:
// - AUTORAG_INDEX_NAME: Name of the AutoRAG index to use for documentation search (default: "sentry-docs")
"keep_vars": true,
// Source maps are uploaded to Sentry by the Vite plugin.
"upload_source_maps": false,
"assets": {
"directory": "./public",
"binding": "ASSETS",
Expand Down
Loading
Loading