Skip to content

chore: bump wrangler to 4.156.0 - #28

Merged
imconnorngl merged 1 commit into
devfrom
bump-wrangler-4.156.0
Nov 1, 2026
Merged

imconnorngl merged 1 commit into
devfrom
bump-wrangler-4.156.0

Conversation

@colinmcdonald22

Copy link
Copy Markdown
Member

Fixes the branch deploy failure in #27: `Upload Preview` failed with `Authentication error [code: 10000]` on `/accounts/***/workers/subdomain`.

Wrangler 4.134.0 uploads the preview version first, then calls the account-level `GET /workers/subdomain` just to print the "Version Preview URL" line. That endpoint needs account-wide `Workers Scripts Read`, which the Worker-scoped `cloudflare-development` token doesn't have. Since 4.136.1 (cloudflare/workers-sdk#15678), Wrangler reads `preview_url_suffix` from the Worker's own `GET /workers/scripts/skycrypt-embed/subdomain` instead, which the token can already read.

The lockfile changes are Wrangler's own tree (workerd, miniflare, unenv-preset, sharp). esbuild dedupes to the 0.28.2 already in use, and `@cloudflare/workers-types` drops out of drizzle-orm's peer suffix because Wrangler no longer lists it as a peer. Nothing in the repo imports it.

This branch's own `Deploy Workers` run is the check: `Upload Preview` should pass and print the preview URLs. Once this is on `dev`, #27 needs `dev` merged in.

🤖 Generated with Claude Code

Wrangler 4.134.0 builds the version preview URL from the account-level
workers.dev subdomain (GET /accounts/{id}/workers/subdomain), which
needs account-wide Workers Scripts Read. The Worker-scoped deploy token
can't read it, so branch preview uploads failed with 10000 after the
version had already uploaded. Since 4.136.1 Wrangler reads the preview
URL suffix from the Worker's own subdomain endpoint instead
(cloudflare/workers-sdk#15678).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Approved. Cursor Security Agent completed with no findings that need human review; Cursor Bugbot was not present, so that signal was skipped. No prior approval from this automation to keep or dismiss.

Open in Web View Automation 

Sent by Cursor Approval Agent: Pull Request Approver

@imconnorngl
imconnorngl merged commit aca9329 into dev Nov 1, 2026
14 checks passed
@imconnorngl
imconnorngl deleted the bump-wrangler-4.156.0 branch November 1, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants