Skip to content

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

Open
JPeer264 wants to merge 1 commit into
developfrom
jp/cloudflare-integration-tests-latest-wrangler
Open

JPeer264 wants to merge 1 commit 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.

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 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

This branch has not been deployed

No deployments
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.

1 participant