Skip to content

ci(cloudflare): Run the integration tests on the latest wrangler too - #25508

Merged
JPeer264 merged 2 commits into
developfrom
jp/cloudflare-integration-tests-latest-wrangler
Oct 21, 2026
Merged

JPeer264 merged 2 commits into
developfrom
jp/cloudflare-integration-tests-latest-wrangler

Conversation

@JPeer264

Copy link
Copy Markdown
Member

This adds an optional CI job that runs the Cloudflare integration tests with the latest wrangler and @cloudflare/vite-plugin. The required job stays on the pinned versions (wrangler 4.86.0), so an older runtime stays tested. Like the optional E2E tests, the new job cannot block a PR and does not run on release branches.

The runner now starts wrangler dev on 127.0.0.1, because with the latest wrangler localhost connects over IPv6 and changes the captured client address.

Why

New runtime features, for example Span.spanContext() in workerd 1.20261009.1, need a new wrangler to be tested. A bug in a new wrangler release must not block PRs.

CI decisions

The optional job reuses the steps of the required job through a YAML anchor. Anchors are new in this repo. The alternative is to copy the 5 steps.

@JPeer264
JPeer264 marked this pull request as ready for review October 19, 2026 09:08
@JPeer264
JPeer264 requested a review from a team as a code owner October 19, 2026 09:08
@JPeer264
JPeer264 requested review from isaacs and mydea and removed request for a team October 19, 2026 09:08
@JPeer264 JPeer264 self-assigned this Oct 19, 2026
@JPeer264
JPeer264 requested review from andreiborza and removed request for mydea October 19, 2026 09:08
The required Cloudflare integration test job keeps the wrangler and
`@cloudflare/vite-plugin` versions of the package. A new optional job
runs the same steps with the latest versions of both, so a new wrangler
or workerd release shows up in CI early but cannot block a PR. Like the
optional E2E tests, it does not run on release branches. The two jobs
share their steps through a YAML anchor.

The runner starts `wrangler dev` on 127.0.0.1, because with the latest
wrangler `localhost` connects over IPv6 and changes the captured client
address.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@JPeer264
JPeer264 force-pushed the jp/cloudflare-integration-tests-latest-wrangler branch from 83f5f2d to 805fa97 Compare October 21, 2026 11:29
@github-actions

github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

size-limit report 📦

Compared: 61e664d (PR test merge using develop at 7a19df2)

Against: 7a19df2 (develop) · base run #62902

✅ Baseline matches: this diff contains only this PR's changes.

Path Size % Change Change
@sentry/browser 29.91 kB - -
@sentry/browser - with treeshaking flags 28.05 kB - -
@sentry/browser - with treeshaking flags tracing without tracing 27.95 kB - -
@sentry/browser (incl. Tracing) 52.1 kB - -
@sentry/browser (incl. Tracing + Span Streaming) 52.1 kB - -
@sentry/browser (incl. Tracing, Profiling) 55.05 kB - -
@sentry/browser (incl. Tracing, Replay) 91.85 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 80.72 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 96.58 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 109.52 kB - -
@sentry/browser (incl. Feedback) 47.42 kB - -
@sentry/browser (incl. sendFeedback) 34.97 kB - -
@sentry/browser (incl. FeedbackAsync) 40.07 kB - -
@sentry/browser (incl. Metrics) 30.93 kB - -
@sentry/browser (incl. Logs) 31.21 kB - -
@sentry/browser (incl. Metrics & Logs) 31.84 kB - -
@sentry/react 31.73 kB - -
@sentry/react (incl. Tracing) 54.41 kB - -
@sentry/vue 38.07 kB - -
@sentry/vue (incl. Tracing) 55.03 kB - -
@sentry/svelte 29.93 kB - -
@sentry/remix (Remix 3 client bundle) 57.11 kB - -
CDN Bundle 31.67 kB - -
CDN Bundle (incl. Tracing) 52.61 kB - -
CDN Bundle (incl. Logs, Metrics) 33.87 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) 54.55 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) 74.79 kB - -
CDN Bundle (incl. Tracing, Replay) 90.28 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) 92.21 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 96.42 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) 98.37 kB - -
CDN Bundle - uncompressed 93.29 kB - -
CDN Bundle (incl. Tracing) - uncompressed 156.14 kB - -
CDN Bundle (incl. Logs, Metrics) - uncompressed 99.84 kB - -
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed 162.11 kB - -
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed 229.88 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 276.31 kB - -
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed 282.26 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 290.01 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed 295.96 kB - -
@sentry/nextjs (client) 57.31 kB - -
@sentry/sveltekit (client) 52.48 kB - -
@sentry/core/server 41.8 kB - -
@sentry/core/browser 13.81 kB - -
@sentry/node 155.32 kB +0.01% +1 B 🔺
@sentry/node/import (ESM hook with diagnostics-channel injection) 84.06 kB +0.01% +2 B 🔺
@sentry/node - without tracing 96.95 kB +0.01% +1 B 🔺
@sentry/node - without channel injection 133.3 kB +0.01% +1 B 🔺
@sentry/aws-serverless 105.13 kB +0.01% +1 B 🔺
@sentry/cloudflare (withSentry) - minified 211.11 kB - -
@sentry/cloudflare (withSentry) 523.83 kB - -
@sentry/nextjs/cloudflare (withSentry) - minified 230.74 kB - -

View base workflow run

@JPeer264
JPeer264 merged commit 5e2b904 into develop Oct 21, 2026
748 of 751 checks passed
@JPeer264
JPeer264 deleted the jp/cloudflare-integration-tests-latest-wrangler branch October 21, 2026 12:00
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