Skip to content

Upgrade Wrangler to 4.136.3 - #14

Closed
adewale wants to merge 3 commits into
mainfrom
claude/upbeat-pascal-5v19jz
Closed

adewale wants to merge 3 commits into
mainfrom
claude/upbeat-pascal-5v19jz

Conversation

@adewale

@adewale adewale commented Sep 23, 2026 •

Copy link
Copy Markdown
Owner

Summary

CI's npm audit --audit-level=high step now fails on main. New high-severity undici advisories (pulled in through miniflare) put every Wrangler release from 4.16.0 through 4.130.0 in the vulnerable range:

Lockfile npm audit --audit-level=high
main (Wrangler 4.114.0) 4 high
#13 (Wrangler 4.127.1) 3 high
this PR (Wrangler 4.136.3) 0

This PR pins Wrangler 4.136.3, the version npm recommends as the fix, and updates the toolchain contract test in tests/test_app.py to match.

Stacked on #13. This branch is built on #13's head, so until #13 merges, the diff also shows its two commits. Once #13 is in main, only the Upgrade Wrangler to 4.136.3 commit remains.

Verification

Run locally on Node 22.22.2 / Python 3.13 after a clean npm ci --ignore-scripts and uv sync --locked --all-groups, with pywrangler dev --port 9696 running on Wrangler 4.136.3:

  • make verify: every step passed except browser-layout-test (see below). That includes 225 unit tests, SEO/cache lint, verify-examples, all quality checks, search-ranking-test, lint and check-generated.
  • scripts/format_examples.py --check
  • make verify-python-version VERSION=3.13 (109 examples verified)
  • git diff --check
  • npm audit --audit-level=high: 0 vulnerabilities
  • Added or updated regression tests and verified they fail when the fix is reverted: not applicable, since the existing test that pins the toolchain version was updated.
  • Manual verification: make smoke-deployment URL=http://localhost:9696 passed 9 GETs and 5 Dynamic Worker POST runs, including the edited-code, async, networking-boundary and subprocess-boundary runs.

browser-layout-test fails locally on two checks, "Search focus indicator is too weak" and "CodeMirror focus indicator is too weak". The same two checks fail with #13's Wrangler 4.127.1, which passes CI, so the cause is the sandbox's Playwright Chromium build rather than this change. This PR changes no CSS or page code. CI runs the check with Google Chrome.

🤖 Generated with Claude Code

https://claude.ai/code/session_0112H6AesYWoaS2XdDEHUJ4b

adewale and others added 3 commits August 31, 2026 01:15
New high-severity advisories for undici (via miniflare) put every
Wrangler release from 4.16.0 through 4.130.0 in the vulnerable range,
so CI's `npm audit --audit-level=high` step fails on both the previous
pin (4.114.0) and PR #13's 4.127.1. Wrangler 4.136.3 is npm's
remediation target and audits clean; the toolchain contract test pins
the new version.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112H6AesYWoaS2XdDEHUJ4b

adewale commented Sep 23, 2026

Copy link
Copy Markdown
Owner Author

Closing as superseded by #13. Its head (df6fb8c) now pins Wrangler 4.137.0, which passes npm audit --audit-level=high with 0 vulnerabilities, and its CI is green. This PR was built on #13's earlier head, so after #13 merges it would only conflict on the same version lines.


Generated by Claude Code

@adewale adewale closed this Sep 23, 2026
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