Skip to content

test(cloudflare): align test runtime with Wrangler - #1676

Merged
betegon merged 1 commit into
mainfrom
bt/cloudflare-test-runtime
Oct 27, 2026
Merged

betegon merged 1 commit into
mainfrom
bt/cloudflare-test-runtime

Conversation

@betegon

@betegon betegon commented Oct 27, 2026

Copy link
Copy Markdown
Member

The Cloudflare test plugin still used an older Miniflare/workerd than Wrangler, so updating the direct dependency alone left different runtimes in local and integration tests.

Switch to @cloudflare/vitest-plugin 1.4.6 and align Miniflare/workerd with Wrangler. Miniflare 5 removed fetchMock; an Undici outbound service preserves the existing fixtures and disableNetConnect() policy.

This is the prerequisite for #1670 (HTTP Code Mode), followed by #1675 (agent evals). Only seven test/dependency files move here; the broker, permissions and production integration remain in #1670.

Validated independently on Node 24: 443 Cloudflare tests across 34 files, root typechecks, lint and frozen install. The earlier full workspace run had unrelated CLI fixture/platform failures; CLI fixes are excluded. No deployment performed.

@vercel

vercel Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
sentry-local Ready Ready Preview Oct 27, 2026 1:31pm UTC

Request Review

@betegon
betegon force-pushed the bt/cloudflare-test-runtime branch from 7fb178a to 49d10be Compare October 27, 2026 13:28
@betegon
betegon merged commit b36fbf0 into main Oct 27, 2026
42 checks passed
@betegon
betegon deleted the bt/cloudflare-test-runtime branch October 27, 2026 13:42

This branch was successfully deployed

1 active deployment
Preview — 49d10be2 Deployed Oct 27, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant