Skip to content

Commit b139c53

Browse files
nicohrubeccodex
andauthored
test(node): port filesystem integration tests to span streaming (#25019)
Run filesystem instrumentation tests with the default span-streaming lifecycle. Preserve the existing path, error, and recording-option assertions while adapting them to streamed span fields. Each test asserts its request's span container directly. Closes #24141 (JS-3611) --------- Co-authored-by: GPT-6 <codex@openai.com>
1 parent 2237750 commit b139c53

4 files changed

Lines changed: 279 additions & 264 deletions

File tree

‎dev-packages/node-integration-tests/suites/fs-instrumentation/instrument-record-errors-only.mjs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import * as Sentry from '@sentry/node';
22
import { loggingTransport } from '@sentry-internal/node-integration-tests';
33

44
Sentry.init({
5-
traceLifecycle: 'static',
65
dsn: 'https://public@dsn.ingest.sentry.io/1337',
76
release: '1.0',
87
transport: loggingTransport,

‎dev-packages/node-integration-tests/suites/fs-instrumentation/instrument-record-paths-only.mjs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import * as Sentry from '@sentry/node';
22
import { loggingTransport } from '@sentry-internal/node-integration-tests';
33

44
Sentry.init({
5-
traceLifecycle: 'static',
65
dsn: 'https://public@dsn.ingest.sentry.io/1337',
76
release: '1.0',
87
transport: loggingTransport,

‎dev-packages/node-integration-tests/suites/fs-instrumentation/instrument.mjs‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import * as Sentry from '@sentry/node';
22
import { loggingTransport } from '@sentry-internal/node-integration-tests';
33

44
Sentry.init({
5-
traceLifecycle: 'static',
65
dsn: 'https://public@dsn.ingest.sentry.io/1337',
76
release: '1.0',
87
transport: loggingTransport,

0 commit comments

Comments
 (0)