Skip to content

test(e2e): Restore @cloudflare/vite-plugin version ranges in Cloudflare E2E test apps#22116

Merged
andreiborza merged 4 commits into
developfrom
ab/unpin-wrangler-cf-e2e
Jul 10, 2026
Merged

test(e2e): Restore @cloudflare/vite-plugin version ranges in Cloudflare E2E test apps#22116
andreiborza merged 4 commits into
developfrom
ab/unpin-wrangler-cf-e2e

Conversation

@andreiborza

@andreiborza andreiborza commented Jul 8, 2026

Copy link
Copy Markdown
Member

Reverts the temporary @cloudflare/vite-plugin@1.43.1 pin (and astro override) from #22115 back to the original version ranges.

wrangler@4.110.0 is out now and should be fine.

…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
…re E2E test apps

Reverts the temporary `@cloudflare/vite-plugin@1.43.1` pin (and the
astro-6-cf-workers pnpm override) now that a plugin release works with a
non-deprecated wrangler again, restoring the original ranges so the plugin
tracks upstream.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@andreiborza andreiborza force-pushed the ab/unpin-wrangler-cf-e2e branch from d70405a to 81d5039 Compare July 8, 2026 19:51
@andreiborza andreiborza changed the title test(e2e): Restore wrangler version ranges in Cloudflare E2E test apps test(e2e): Restore @cloudflare/vite-plugin version ranges in Cloudflare E2E test apps Jul 8, 2026
@github-actions

github-actions Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 27.59 kB - -
@sentry/browser - with treeshaking flags 26.03 kB - -
@sentry/browser (incl. Tracing) 46.34 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 48.13 kB - -
@sentry/browser (incl. Tracing, Profiling) 51.12 kB - -
@sentry/browser (incl. Tracing, Replay) 85.62 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 75.26 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 90.32 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 102.97 kB - -
@sentry/browser (incl. Feedback) 44.76 kB - -
@sentry/browser (incl. sendFeedback) 32.38 kB - -
@sentry/browser (incl. FeedbackAsync) 37.51 kB - -
@sentry/browser (incl. Metrics) 28.67 kB - -
@sentry/browser (incl. Logs) 28.91 kB - -
@sentry/browser (incl. Metrics & Logs) 29.59 kB - -
@sentry/react 29.38 kB - -
@sentry/react (incl. Tracing) 48.61 kB - -
@sentry/vue 33.02 kB - -
@sentry/vue (incl. Tracing) 48.31 kB - -
@sentry/svelte 27.61 kB - -
CDN Bundle 30 kB - -
CDN Bundle (incl. Tracing) 48.32 kB - -
CDN Bundle (incl. Logs, Metrics) 31.57 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 49.64 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 70.81 kB - -
CDN Bundle (incl. Tracing, Replay) 85.84 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 87.14 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 91.64 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 92.92 kB - -
CDN Bundle - uncompressed 89.35 kB - -
CDN Bundle (incl. Tracing) - uncompressed 146.1 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 94.05 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 150.07 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 218.78 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 265.3 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 269.26 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 279 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 282.95 kB - -
@sentry/nextjs (client) 51.16 kB - -
@sentry/sveltekit (client) 46.78 kB - -
@sentry/core/server 78.43 kB - -
@sentry/core/browser 64.76 kB - -
@sentry/node-core 62.72 kB -0.01% -1 B 🔽
@sentry/node 125.38 kB +0.01% +1 B 🔺
@sentry/node (incl. diagnostics channel injection) 138.55 kB - -
@sentry/node/import (ESM hook with diagnostics-channel injection) 69.95 kB - -
@sentry/node/light 50.72 kB +0.01% +1 B 🔺
@sentry/node - without tracing 74.06 kB -0.01% -3 B 🔽
@sentry/aws-serverless 83.25 kB +0.01% +1 B 🔺
@sentry/cloudflare (withSentry) - minified 181.71 kB - -
@sentry/cloudflare (withSentry) 449.16 kB - -

View base workflow run

andreiborza added a commit that referenced this pull request Jul 8, 2026
…st apps (#22115)

`@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.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Base automatically changed from ab/pin-wrangler-cf-e2e to develop July 8, 2026 20:23
@andreiborza andreiborza marked this pull request as ready for review July 9, 2026 22:41
@andreiborza andreiborza requested review from isaacs and logaretm July 9, 2026 22:41
@andreiborza andreiborza enabled auto-merge (squash) July 9, 2026 22:47
@andreiborza andreiborza requested review from Lms24, chargome and mydea July 10, 2026 07:31

@JPeer264 JPeer264 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thx for taking care

@andreiborza andreiborza merged commit 479f353 into develop Jul 10, 2026
48 checks passed
@andreiborza andreiborza deleted the ab/unpin-wrangler-cf-e2e branch July 10, 2026 08:31
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