Skip to content

test(e2e): Pin @cloudflare/vite-plugin to 1.43.1 in Cloudflare E2E test apps#22115

Merged
andreiborza merged 1 commit into
developfrom
ab/pin-wrangler-cf-e2e
Jul 8, 2026
Merged

test(e2e): Pin @cloudflare/vite-plugin to 1.43.1 in Cloudflare E2E test apps#22115
andreiborza merged 1 commit into
developfrom
ab/pin-wrangler-cf-e2e

Conversation

@andreiborza

@andreiborza andreiborza commented Jul 8, 2026

Copy link
Copy Markdown
Member

@cloudflare/vite-plugin@1.43.2 peer-requires wrangler ^4.108.0, but wrangler@4.108.0 is deprecated ("causing deployment failures in CI, downgrade to 4.107.1") so latest stays at 4.107.1. Installs resolve the healthy 4.107.1 and the plugin throws at build. Fails on develop and every PR.

Pins the plugin to 1.43.1 (last version whose peer is wrangler ^4.107.1) rather than adopting the deprecated wrangler; astro-6-cf-workers gets it transitively so uses a pnpm override. Temporary; #22116 reverts once upstream ships a plugin compatible with a non-deprecated wrangler.

…st apps

`@cloudflare/vite-plugin@1.43.2` peer-requires `wrangler ^4.108.0`, but
`wrangler@4.108.0` is deprecated ("causing deployment failures in CI,
downgrade to 4.107.1") and `latest` stays at `4.107.1`. Installs resolve
the healthy 4.107.1, so the plugin's `assertWranglerVersion` throws at
build:

    The installed version of Wrangler (4.107.1) does not satisfy the peer
    dependency required by @cloudflare/vite-plugin (^4.108.0).

Pin the plugin to 1.43.1 (peer `wrangler ^4.107.1`), the last version that
works with the non-deprecated wrangler, instead of adopting the deprecated
4.108.0. astro-6-cf-workers pulls the plugin transitively via
@astrojs/cloudflare, so it uses a pnpm override.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@andreiborza andreiborza force-pushed the ab/pin-wrangler-cf-e2e branch from e096435 to 5a764fb Compare July 8, 2026 19:51
@andreiborza andreiborza changed the title test(e2e): Pin wrangler to 4.108.0 in Cloudflare E2E test apps test(e2e): Pin @cloudflare/vite-plugin to 1.43.1 in Cloudflare E2E test apps Jul 8, 2026
@andreiborza

Copy link
Copy Markdown
Member Author

No this is bad actually

$ npm view wrangler@4.108.0
wrangler@4.108.0 | MIT OR Apache-2.0 | deps: 8 | versions: 4907
Command-line interface for all things Cloudflare Workers
https://github.com/cloudflare/workers-sdk#readme

DEPRECATED ⚠️  - This version was causing deployment failures in CI for some users. Downgrade to 4.107.1

keywords: assembly, cli, cloudflare, cloudflare workers, compute, edge, emscripten, graphql, http, router, rust, serverless, serverless application, serverless module, typescript, wasm, web, webassembly, workers, wrangler

bin: wrangler, wrangler2, cf-wrangler

dist
.tarball: https://registry.npmjs.org/wrangler/-/wrangler-4.108.0.tgz
.shasum: 6700eca775efe522cde2018bcd92585910707fe4
.integrity: sha512-mJnY6vf2Tminfo0Jy5OreBgUjIKW3iM1TQtOrZZRpFUyiQvAYUDVN0aRcDn8/aEfF0bmZgcixRdwwVHZMZaE7w==
.unpackedSize: 18.8 MB

dependencies:
@cloudflare/kv-asset-handler: 0.5.0 blake3-wasm: 2.1.5                  miniflare: 4.20260706.0             unenv: 2.0.0-rc.24
@cloudflare/unenv-preset: 2.16.1    esbuild: 0.28.1                     path-to-regexp: 6.3.0               workerd: 1.20260706.1

maintainers:
- wrangler-publisher <workers-devprod@cloudflare.com>

dist-tags:
latest: 4.107.1        legacy: 3.114.17       wrangler@2.2.4: 2.2.4

published 23 hours ago by GitHub Actions <npm-oidc-no-reply@github.com>

@andreiborza andreiborza merged commit ea2fb67 into develop Jul 8, 2026
52 checks passed
@andreiborza andreiborza deleted the ab/pin-wrangler-cf-e2e branch July 8, 2026 20:23
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