Skip to content

test(v9/e2e): Fix stale e2e test apps and only test Next.js 15 - #24793

Merged
chargome merged 2 commits into
v9from
fix/v9-e2e-pin-nextjs-15
Sep 28, 2026
Merged

chargome merged 2 commits into
v9from
fix/v9-e2e-pin-nextjs-15

Conversation

@chargome

@chargome chargome commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

v9 CI had gone red for reasons unrelated to the changes being tested (see #24760): dependency ranges in the e2e test apps kept floating to newer releases.

  • Next.js latest variants now install next@15, and the canary variants are removed. v9 does not support Next.js 16, and there are no Next.js 15 canaries anymore.
  • Test apps whose deps drifted to releases that need Node 22 (nuxt via cssnano 8, wrangler) or that no longer fit the other pinned versions (pg-protocol types, @opentelemetry/api on TS 3.8, MCP SDK/zod, remix-oxygen, astro) are pinned to the versions that were current around the last v9 release.
  • node-profiling-cjs/esm, cloudflare-astro and cloudflare-hono had no active .npmrc, so they installed @sentry/* from npm (now v11) instead of the local build. They now use the test registry. The profiling apps only route the @sentry scope because @sentry-internal/node-cpu-profiler is only on npm.
  • geist is dropped from nextjs-t3 because its OFL-1.1 license fails the license check. develop already did the same.

The optional send-to-sentry jobs still fail because transactions can no longer be looked up by event ID. develop moved those tests to the trace endpoint, and porting that is left for a follow-up. cloudflare-astro builds now but fails when deploying to Cloudflare Pages with an auth error from the Cloudflare API.

v9 does not support Next.js 16, but the optional latest and canary e2e variants
install next@latest and next@canary, which now resolve to 16. Pin latest to
next@15 and drop the canary variants since there is no Next.js 15 canary.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chargome chargome self-assigned this Sep 28, 2026
@github-actions

github-actions Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size % Change Change
@sentry/browser 23.79 kB added added
@sentry/browser - with treeshaking flags 22.36 kB added added
@sentry/browser (incl. Tracing) 39.66 kB added added
@sentry/browser (incl. Tracing, Replay) 77.93 kB added added
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.71 kB added added
@sentry/browser (incl. Tracing, Replay with Canvas) 82.63 kB added added
@sentry/browser (incl. Tracing, Replay, Feedback) 94.76 kB added added
@sentry/browser (incl. Feedback) 40.48 kB added added
@sentry/browser (incl. sendFeedback) 28.48 kB added added
@sentry/browser (incl. FeedbackAsync) 33.37 kB added added
@sentry/react 25.55 kB added added
@sentry/react (incl. Tracing) 41.62 kB added added
@sentry/vue 28.24 kB added added
@sentry/vue (incl. Tracing) 41.45 kB added added
@sentry/svelte 23.81 kB added added
CDN Bundle 25.18 kB added added
CDN Bundle (incl. Tracing) 39.42 kB added added
CDN Bundle (incl. Tracing, Replay) 75.55 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) 81.02 kB added added
CDN Bundle - uncompressed 73.45 kB added added
CDN Bundle (incl. Tracing) - uncompressed 116.86 kB added added
CDN Bundle (incl. Tracing, Replay) - uncompressed 231.75 kB added added
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 244.56 kB added added
@sentry/nextjs (client) 43.66 kB added added
@sentry/sveltekit (client) 40.08 kB added added
@sentry/node 169.39 kB added added
@sentry/node - without tracing 100.54 kB added added
@sentry/aws-serverless 128.69 kB added added

Several test apps float on ranges that now resolve to releases requiring
Node 22 or newer peers than the ones they pin. Pin them to the versions that
were current around the last v9 release.

node-profiling-cjs/esm, cloudflare-astro and cloudflare-hono had no active
.npmrc, so they installed @sentry/* from npm (now v11) instead of the local
build. Route the @sentry scope to the test registry.

Drop geist from nextjs-t3 since its OFL-1.1 license fails the license check.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chargome chargome changed the title test(v9/e2e): Only test Next.js apps against Next.js 15 test(v9/e2e): Fix stale e2e test apps and only test Next.js 15 Sep 28, 2026
@chargome
chargome marked this pull request as ready for review September 28, 2026 16:41
@chargome
chargome merged commit f898e27 into v9 Sep 28, 2026
161 of 165 checks passed
@chargome
chargome deleted the fix/v9-e2e-pin-nextjs-15 branch September 28, 2026 16:44
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