Skip to content

Run the Next.js e2e suite on Bun, Deno and Cloudflare from one app #24830

Description

@JPeer264

Run the Next.js e2e suite on Node, Bun, Deno and Cloudflare from one app, following #24598 (react-router-8-framework). Node stays the required job. Bun, Deno and Cloudflare start as optional variants and become required once green.

Depends on #24598 (runtime matrix key, runtimeEntryPlugin, README convention) and #24612 (Bun diagnostics channels, missing http.server span).

Apps

  • Base: nextjs-16
  • Fold in, then delete: nextjs-16-bun, nextjs-16-cf-workers
  • New variants: deno

Runtime variants run on the default build only, not on every webpack and Turbopack combination.

Using @sentry/nextjs together with @sentry/cloudflare crashed every request (#24603). The Cloudflare variant uses the entry the follow-up to #24603 settles on.

Cover on every runtime

The existing suite runs unchanged and branches on RUNTIME only where runtimes are expected to differ. Add assertions where the suite has none today:

  • Errors
  • Parameterized route names
  • Per-request isolation
  • Incoming trace continuation
  • Outgoing fetch with sentry-trace and baggage
  • Logs

Findings to confirm (runtime audit, September 2026, develop 6f2da7483d; database spans were measured with mysql or mysql2):

Setups the audit ran: Bun, Deno, Cloudflare

Done when

  • nextjs-16 runs its suite on Node, Bun, Deno and Cloudflare
  • Every variant is green and required, or this issue records why a runtime is not supported
  • nextjs-16-bun and nextjs-16-cf-workers are deleted
  • SDK defects the variants surface are fixed here, or split into their own issue when the fix is large or shared with other libraries

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions