From 22d729fec859bde3853c4f5e35780d6454a5a03b Mon Sep 17 00:00:00 2001 From: Charly Gomez Date: Tue, 1 Sep 2026 16:52:11 +0200 Subject: [PATCH] test(e2e): Port nextjs-16-userfeedback to span streaming Removes the `traceLifecycle: 'static'` pins. The specs assert on feedback and error envelopes via `waitForEnvelopeItem`, which span streaming does not change, so no spec rewrite is needed. Ref #23802 Co-Authored-By: Claude Opus 5 (1M context) --- .../nextjs-16-userfeedback/instrumentation-client.ts | 1 - .../nextjs-16-userfeedback/sentry.edge.config.ts | 1 - .../nextjs-16-userfeedback/sentry.server.config.ts | 1 - 3 files changed, 3 deletions(-) diff --git a/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/instrumentation-client.ts b/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/instrumentation-client.ts index 116df51984d9..674efa276615 100644 --- a/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/instrumentation-client.ts +++ b/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/instrumentation-client.ts @@ -1,7 +1,6 @@ import * as Sentry from '@sentry/nextjs'; Sentry.init({ - traceLifecycle: 'static', environment: 'qa', // dynamic sampling bias to keep transactions dsn: process.env.NEXT_PUBLIC_E2E_TEST_DSN, tunnel: `http://localhost:3031/`, // proxy server diff --git a/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/sentry.edge.config.ts b/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/sentry.edge.config.ts index f9aa41ff3064..63142d16707d 100644 --- a/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/sentry.edge.config.ts +++ b/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/sentry.edge.config.ts @@ -1,7 +1,6 @@ import * as Sentry from '@sentry/nextjs'; Sentry.init({ - traceLifecycle: 'static', environment: 'qa', // dynamic sampling bias to keep transactions dsn: process.env.NEXT_PUBLIC_E2E_TEST_DSN, tunnel: `http://localhost:3031/`, // proxy server diff --git a/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/sentry.server.config.ts b/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/sentry.server.config.ts index f9aa41ff3064..63142d16707d 100644 --- a/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/sentry.server.config.ts +++ b/dev-packages/e2e-tests/test-applications/nextjs-16-userfeedback/sentry.server.config.ts @@ -1,7 +1,6 @@ import * as Sentry from '@sentry/nextjs'; Sentry.init({ - traceLifecycle: 'static', environment: 'qa', // dynamic sampling bias to keep transactions dsn: process.env.NEXT_PUBLIC_E2E_TEST_DSN, tunnel: `http://localhost:3031/`, // proxy server