Skip to content

test(nextjs): Add next@16 e2e test - #17922

Merged
chargome merged 12 commits into
developfrom
cg-nextjs-e2e-16
Oct 14, 2025
Merged

chargome merged 12 commits into
developfrom
cg-nextjs-e2e-16

Conversation

@chargome

@chargome chargome commented Oct 13, 2025 •

Copy link
Copy Markdown
Member
  • adds a new next 16 test
  • removes canary testing for app dir and pages dir tests (this is becoming too cumbersome to maintain across canary/bundler versions etc. – will instead move these tests into next 16 going forward)

Note that next@canary will now always resolve to next@16

@chargome chargome self-assigned this Oct 13, 2025
cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@github-actions

github-actions Bot commented Oct 14, 2025 •

Copy link
Copy Markdown
Contributor

node-overhead report 🧳

Note: This is a synthetic benchmark with a minimal express app and does not necessarily reflect the real-world performance impact in an application.

Scenario Requests/s % of Baseline Prev. Requests/s Change %
GET Baseline 8,432 - 8,966 -6%
GET With Sentry 1,364 16% 1,412 -3%
GET With Sentry (error only) 5,966 71% 6,242 -4%
POST Baseline 1,167 - 1,211 -4%
POST With Sentry 496 43% 531 -7%
POST With Sentry (error only) 1,035 89% 1,089 -5%
MYSQL Baseline 3,279 - 3,373 -3%
MYSQL With Sentry 435 13% 484 -10%
MYSQL With Sentry (error only) 2,686 82% 2,768 -3%

View base workflow run

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

@chargome
chargome merged commit 6b83234 into develop Oct 14, 2025
@chargome
chargome deleted the cg-nextjs-e2e-16 branch October 14, 2025 10:13
andreiborza pushed a commit to thedanchez/sentry-javascript that referenced this pull request Oct 15, 2025
- adds a new next 16 test
- removes canary testing for app dir and pages dir tests (this is
becoming too cumbersome to maintain across canary/bundler versions etc.
– will instead move these tests into next 16 going forward)

Note that next@canary will now always resolve to next@16
mydea added a commit that referenced this pull request Nov 10, 2026
**Why:** Many test apps install packages that nothing imports or runs.
Most are leftovers from project templates, such as jest and supertest in
Nest apps, karma in Angular apps, ESLint packages in apps with no ESLint
config, and vitest helpers with no unit tests. Others are old
workarounds. They make installs slower and give Dependabot more to bump.
Every removal is a package.json change only.

**How to review:** Groups worth a closer look:
- `import-in-the-middle` and `require-in-the-middle` in the Next 16 apps
and nextjs-otlp. #17922 added them as a Turbopack/pnpm workaround. No
SDK package depends on them or on `@opentelemetry/instrumentation`
anymore, and neither do these apps. CI is the real check here.
- `isbot`: removed only from React Router apps whose own `entry.server`
doesn't use it. Apps without an `entry.server` keep it, because the
default one imports it.
- ESLint: removed from apps that have no ESLint config. The `lint`
scripts in create-remix-app-express(-vite-dev) and remix-hydrogen were
removed too; without a config they already failed.
- nestjs-webpack keeps `ts-loader`, because webpack mode needs it.
nestjs-12 also drops `@nestjs/testing@latest` from its
`test:build-latest` script.
- `@babel/plugin-proposal-decorators` in the Cloudflare agent apps:
`agents` already depends on it.

**Unsure about:** Ember apps were not changed, because ember-cli loads
addons from package.json without any import. Some dependencies are left
in for now: `@astrojs/internal-helpers`, nitro-3 `rolldown`, nuxt-5
`db0`, and the `@types/*` packages the build type-checks against.

**Checks run:** oxfmt only. I didn't run the E2E apps locally because
they need the packed tarballs, so this relies on CI.

Related: the same cleanup for the workspace packages is in its own PR.

<!-- junior-request-attribution:start -->
via **Francesco Gringl-Novy**.
<!-- junior-request-attribution:end -->

<!-- junior-session-footer:start -->
<!-- junior-conversation-id:slack%3AD0CA8FXFXAS%3A1794301479.516639 -->

--

[View
Session](https://junior-prod.sentry.dev/conversations/slack%3AD0CA8FXFXAS%3A1794301479.516639)
[[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AD0CA8FXFXAS%3A1794301479.516639/?project=4510944073809921)

<!-- junior-session-footer:end -->

---------

Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: Francesco Gringl-Novy <francesco.novy@sentry.io>
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.

3 participants