Skip to content

feat(core): Add sentry.trace_lifecycle: 'static' to transactions and their spans #60686

feat(core): Add sentry.trace_lifecycle: 'static' to transactions and their spans

feat(core): Add sentry.trace_lifecycle: 'static' to transactions and their spans #60686

Triggered via pull request October 7, 2026 08:02
Status Failure
Total duration 11m 27s
Artifacts 31

build.yml

on: pull_request
Get CI Metadata  /  Get Metadata
7s
Get CI Metadata / Get Metadata
Check lockfile
0s
Check lockfile
Check file formatting
37s
Check file formatting
Check PR branches
3s
Check PR branches
Build tarballs
1m 8s
Build tarballs
Build Lambda layer
1m 31s
Build Lambda layer
Matrix: job_bun_integration_tests
Matrix: job_bundler_plugin_integration_tests
Matrix: job_cloudflare_integration_tests
Matrix: job_deno_integration_tests
Matrix: job_node_integration_tests
Matrix: job_node_unit_tests
Check for faulty .d.ts files
45s
Check for faulty .d.ts files
Matrix: job_browser_loader_tests
Matrix: job_browser_playwright_tests
Matrix: job_optional_e2e_tests
Upload Artifacts
0s
Upload Artifacts
Matrix: job_e2e_tests
All required jobs passed or were skipped
3s
All required jobs passed or were skipped
Fit to window
Zoom out
Zoom in

Annotations

302 errors and 327 notices
Browser Unit Tests
Process completed with exit code 1.
test/performance.test.ts > Sentry.trackComponent() > creates an update span, if `trackUpdates` is `true`: packages/svelte/test/performance.test.ts#L99
AssertionError: expected { data: { …(3) }, …(13) } to deeply equal { data: { …(2) }, …(13) } - Expected + Received @@ -1,9 +1,10 @@ { "data": { "sentry.op": "ui.mount", "sentry.origin": "auto.ui.svelte", + "sentry.trace_lifecycle": "static", }, "description": "<Svelte Component>", "exclusive_time": undefined, "links": undefined, "measurements": undefined, ❯ test/performance.test.ts:99:35
test/performance.test.ts > Sentry.trackComponent() > creates init spans on component initialization by default: packages/svelte/test/performance.test.ts#L54
AssertionError: expected { data: { …(3) }, …(13) } to deeply equal { data: { …(2) }, …(13) } - Expected + Received @@ -1,9 +1,10 @@ { "data": { "sentry.op": "ui.mount", "sentry.origin": "auto.ui.svelte", + "sentry.trace_lifecycle": "static", }, "description": "<Svelte Component>", "exclusive_time": undefined, "links": undefined, "measurements": undefined, ❯ test/performance.test.ts:54:35
Bundler Plugin Integration Tests (Node 22)
Process completed with exit code 1.
fixtures/vite8/telemetry.test.ts > Vite v8 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/vite8/telemetry.test.ts#L6
Error: Snapshot `Vite v8 > telemetry 1` mismatched - Expected + Received @@ -10,9 +10,9 @@ })(); console.log("hello world"); //#endregion ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"8"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"8"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/vite8/telemetry.test.ts:6:29 ❯ fixtures/vite8/utils.ts:39:7
fixtures/webpack5/telemetry.test.ts > webpack v5 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/webpack5/telemetry.test.ts#L6
Error: Snapshot `webpack v5 > telemetry 1` mismatched - Expected + Received @@ -5,9 +5,9 @@ console.log("hello world"); /******/ })() ;", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"webpack","bundler-major-version":"5"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"webpack","bundler-major-version":"5"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/webpack5/telemetry.test.ts:6:29 ❯ fixtures/webpack5/utils.ts:33:5
fixtures/vite7/telemetry.test.ts > Vite v7 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/vite7/telemetry.test.ts#L6
Error: Snapshot `Vite v7 > telemetry 1` mismatched - Expected + Received @@ -9,9 +9,9 @@ } })(); console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"7"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"7"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/vite7/telemetry.test.ts:6:29 ❯ fixtures/vite7/utils.ts:39:7
fixtures/vite4/telemetry.test.ts > Vite v4 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/vite4/telemetry.test.ts#L6
Error: Snapshot `Vite v4 > telemetry 1` mismatched - Expected + Received @@ -9,9 +9,9 @@ } }(); console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/vite4/telemetry.test.ts:6:29 ❯ fixtures/vite4/utils.ts:33:5
fixtures/rollup4/telemetry.test.ts > rollup v4 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/rollup4/telemetry.test.ts#L6
Error: Snapshot `rollup v4 > telemetry 1` mismatched - Expected + Received { "basic.js": "// eslint-disable-next-line no-console !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"}
fixtures/rolldown/telemetry.test.ts > rolldown > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/rolldown/telemetry.test.ts#L6
Error: Snapshot `rolldown > telemetry 1` mismatched - Expected + Received @@ -10,9 +10,9 @@ })(); console.log("hello world"); //#endregion ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/rolldown/telemetry.test.ts:6:29 ❯ fixtures/rolldown/utils.ts:39:7
fixtures/rollup3/telemetry.test.ts > rollup v3 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/rollup3/telemetry.test.ts#L6
Error: Snapshot `rollup v3 > telemetry 1` mismatched - Expected + Received { "basic.js": "// eslint-disable-next-line no-console !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"3"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"3"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"}
fixtures/esbuild/telemetry.test.ts > esbuild > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/esbuild/telemetry.test.ts#L6
Error: Snapshot `esbuild > telemetry 1` mismatched - Expected + Received @@ -1,8 +1,8 @@ { "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"esbuild","bundler-major-version":"28"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"esbuild","bundler-major-version":"28"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", "telemetry.js": "(() => { // _sentry-injection-stub !(function() { ❯ fixtures/esbuild/telemetry.test.ts:6:29 ❯ fixtures/esbuild/utils.ts:42:5
Bundler Plugin Integration Tests (Node 26)
Process completed with exit code 1.
fixtures/webpack5/telemetry.test.ts > webpack v5 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/webpack5/telemetry.test.ts#L6
Error: Snapshot `webpack v5 > telemetry 1` mismatched - Expected + Received @@ -5,9 +5,9 @@ console.log("hello world"); /******/ })() ;", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"webpack","bundler-major-version":"5"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"webpack","bundler-major-version":"5"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/webpack5/telemetry.test.ts:6:29 ❯ fixtures/webpack5/utils.ts:33:5
fixtures/vite8/telemetry.test.ts > Vite v8 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/vite8/telemetry.test.ts#L6
Error: Snapshot `Vite v8 > telemetry 1` mismatched - Expected + Received @@ -10,9 +10,9 @@ })(); console.log("hello world"); //#endregion ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"8"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"8"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/vite8/telemetry.test.ts:6:29 ❯ fixtures/vite8/utils.ts:39:7
fixtures/vite7/telemetry.test.ts > Vite v7 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/vite7/telemetry.test.ts#L6
Error: Snapshot `Vite v7 > telemetry 1` mismatched - Expected + Received @@ -9,9 +9,9 @@ } })(); console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"7"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"7"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/vite7/telemetry.test.ts:6:29 ❯ fixtures/vite7/utils.ts:39:7
fixtures/vite4/telemetry.test.ts > Vite v4 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/vite4/telemetry.test.ts#L6
Error: Snapshot `Vite v4 > telemetry 1` mismatched - Expected + Received @@ -9,9 +9,9 @@ } }(); console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/vite4/telemetry.test.ts:6:29 ❯ fixtures/vite4/utils.ts:33:5
fixtures/rollup4/telemetry.test.ts > rollup v4 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/rollup4/telemetry.test.ts#L6
Error: Snapshot `rollup v4 > telemetry 1` mismatched - Expected + Received { "basic.js": "// eslint-disable-next-line no-console !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"}
fixtures/rollup3/telemetry.test.ts > rollup v3 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/rollup3/telemetry.test.ts#L6
Error: Snapshot `rollup v3 > telemetry 1` mismatched - Expected + Received { "basic.js": "// eslint-disable-next-line no-console !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"3"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"3"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"}
fixtures/esbuild/telemetry.test.ts > esbuild > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/esbuild/telemetry.test.ts#L6
Error: Snapshot `esbuild > telemetry 1` mismatched - Expected + Received @@ -1,8 +1,8 @@ { "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"esbuild","bundler-major-version":"28"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"esbuild","bundler-major-version":"28"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", "telemetry.js": "(() => { // _sentry-injection-stub !(function() { ❯ fixtures/esbuild/telemetry.test.ts:6:29 ❯ fixtures/esbuild/utils.ts:42:5
fixtures/rolldown/telemetry.test.ts > rolldown > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/rolldown/telemetry.test.ts#L6
Error: Snapshot `rolldown > telemetry 1` mismatched - Expected + Received @@ -10,9 +10,9 @@ })(); console.log("hello world"); //#endregion ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/rolldown/telemetry.test.ts:6:29 ❯ fixtures/rolldown/utils.ts:39:7
Bundler Plugin Integration Tests (Node 24)
Process completed with exit code 1.
fixtures/webpack5/telemetry.test.ts > webpack v5 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/webpack5/telemetry.test.ts#L6
Error: Snapshot `webpack v5 > telemetry 1` mismatched - Expected + Received @@ -5,9 +5,9 @@ console.log("hello world"); /******/ })() ;", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"webpack","bundler-major-version":"5"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"webpack","bundler-major-version":"5"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/webpack5/telemetry.test.ts:6:29 ❯ fixtures/webpack5/utils.ts:33:5
fixtures/vite8/telemetry.test.ts > Vite v8 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/vite8/telemetry.test.ts#L6
Error: Snapshot `Vite v8 > telemetry 1` mismatched - Expected + Received @@ -10,9 +10,9 @@ })(); console.log("hello world"); //#endregion ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"8"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"8"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/vite8/telemetry.test.ts:6:29 ❯ fixtures/vite8/utils.ts:39:7
fixtures/vite7/telemetry.test.ts > Vite v7 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/vite7/telemetry.test.ts#L6
Error: Snapshot `Vite v7 > telemetry 1` mismatched - Expected + Received @@ -9,9 +9,9 @@ } })(); console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"7"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"7"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/vite7/telemetry.test.ts:6:29 ❯ fixtures/vite7/utils.ts:39:7
fixtures/vite4/telemetry.test.ts > Vite v4 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/vite4/telemetry.test.ts#L6
Error: Snapshot `Vite v4 > telemetry 1` mismatched - Expected + Received @@ -9,9 +9,9 @@ } }(); console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/vite4/telemetry.test.ts:6:29 ❯ fixtures/vite4/utils.ts:33:5
fixtures/rollup4/telemetry.test.ts > rollup v4 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/rollup4/telemetry.test.ts#L6
Error: Snapshot `rollup v4 > telemetry 1` mismatched - Expected + Received { "basic.js": "// eslint-disable-next-line no-console !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"}
fixtures/rollup3/telemetry.test.ts > rollup v3 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/rollup3/telemetry.test.ts#L6
Error: Snapshot `rollup v3 > telemetry 1` mismatched - Expected + Received { "basic.js": "// eslint-disable-next-line no-console !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"3"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"3"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"}
fixtures/esbuild/telemetry.test.ts > esbuild > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/esbuild/telemetry.test.ts#L6
Error: Snapshot `esbuild > telemetry 1` mismatched - Expected + Received @@ -1,8 +1,8 @@ { "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"esbuild","bundler-major-version":"28"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"esbuild","bundler-major-version":"28"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", "telemetry.js": "(() => { // _sentry-injection-stub !(function() { ❯ fixtures/esbuild/telemetry.test.ts:6:29 ❯ fixtures/esbuild/utils.ts:42:5
fixtures/rolldown/telemetry.test.ts > rolldown > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/rolldown/telemetry.test.ts#L6
Error: Snapshot `rolldown > telemetry 1` mismatched - Expected + Received @@ -10,9 +10,9 @@ })(); console.log("hello world"); //#endregion ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/rolldown/telemetry.test.ts:6:29 ❯ fixtures/rolldown/utils.ts:39:7
Deno Integration Tests (1/2)
Process completed with exit code 1.
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for POST requests [cjs]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L137
AssertionError: expected { …(36) } to deeply equal { Object (http.request.method, url.query, ...) } - Expected + Received @@ -43,10 +43,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 40785, "url.full": "http://localhost:40785/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:137:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for GET requests [cjs]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L95
AssertionError: expected { …(33) } to deeply equal { 'http.request.method': 'GET', …(31) } - Expected + Received @@ -36,10 +36,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 42103, "url.full": "http://localhost:42103/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:95:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for POST requests [esm]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L137
AssertionError: expected { …(36) } to deeply equal { Object (http.request.method, url.query, ...) } - Expected + Received @@ -43,10 +43,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 40357, "url.full": "http://localhost:40357/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:137:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for GET requests [esm]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L95
AssertionError: expected { …(33) } to deeply equal { 'http.request.method': 'GET', …(31) } - Expected + Received @@ -36,10 +36,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 46339, "url.full": "http://localhost:46339/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:95:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
Bundler Plugin Integration Tests (Node 20.19)
Process completed with exit code 1.
fixtures/webpack5/telemetry.test.ts > webpack v5 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/webpack5/telemetry.test.ts#L6
Error: Snapshot `webpack v5 > telemetry 1` mismatched - Expected + Received @@ -5,9 +5,9 @@ console.log("hello world"); /******/ })() ;", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"webpack","bundler-major-version":"5"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"webpack","bundler-major-version":"5"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/webpack5/telemetry.test.ts:6:29 ❯ fixtures/webpack5/utils.ts:33:5
fixtures/vite8/telemetry.test.ts > Vite v8 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/vite8/telemetry.test.ts#L6
Error: Snapshot `Vite v8 > telemetry 1` mismatched - Expected + Received @@ -10,9 +10,9 @@ })(); console.log("hello world"); //#endregion ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"8"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"8"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/vite8/telemetry.test.ts:6:29 ❯ fixtures/vite8/utils.ts:39:7
fixtures/vite7/telemetry.test.ts > Vite v7 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/vite7/telemetry.test.ts#L6
Error: Snapshot `Vite v7 > telemetry 1` mismatched - Expected + Received @@ -9,9 +9,9 @@ } })(); console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"7"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"7"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/vite7/telemetry.test.ts:6:29 ❯ fixtures/vite7/utils.ts:39:7
fixtures/vite4/telemetry.test.ts > Vite v4 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/vite4/telemetry.test.ts#L6
Error: Snapshot `Vite v4 > telemetry 1` mismatched - Expected + Received @@ -9,9 +9,9 @@ } }(); console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"vite","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/vite4/telemetry.test.ts:6:29 ❯ fixtures/vite4/utils.ts:33:5
fixtures/rollup3/telemetry.test.ts > rollup v3 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/rollup3/telemetry.test.ts#L6
Error: Snapshot `rollup v3 > telemetry 1` mismatched - Expected + Received { "basic.js": "// eslint-disable-next-line no-console !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"3"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"3"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"}
fixtures/rollup4/telemetry.test.ts > rollup v4 > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/rollup4/telemetry.test.ts#L6
Error: Snapshot `rollup v4 > telemetry 1` mismatched - Expected + Received { "basic.js": "// eslint-disable-next-line no-console !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"CURRENT_SHA"};var n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="00000000-0000-0000-0000-000000000000",e._sentryDebugIdIdentifier="sentry-dbid-00000000-0000-0000-0000-000000000000");}catch(e){}}();console.log("hello world"); ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"}
fixtures/rolldown/telemetry.test.ts > rolldown > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/rolldown/telemetry.test.ts#L6
Error: Snapshot `rolldown > telemetry 1` mismatched - Expected + Received @@ -10,9 +10,9 @@ })(); console.log("hello world"); //#endregion ", "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"rollup","bundler-major-version":"4"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", } ❯ fixtures/rolldown/telemetry.test.ts:6:29 ❯ fixtures/rolldown/utils.ts:39:7
fixtures/esbuild/telemetry.test.ts > esbuild > telemetry: dev-packages/bundler-plugin-integration-tests/fixtures/esbuild/telemetry.test.ts#L6
Error: Snapshot `esbuild > telemetry 1` mismatched - Expected + Received @@ -1,8 +1,8 @@ { "sentry-telemetry.json": "[{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":true,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"ok","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], - [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"esbuild","bundler-major-version":"28"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], + [{"event_id":"UUID","sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"},"trace":{"environment":"production","release":"PLUGIN_VERSION","public_key":"UUID","trace_id":"UUID","org_id":"1","transaction":"Sentry Bundler Plugin execution","sampled":"true","sample_rand":"SAMPLE_RAND","sample_rate":"0.3"}},[[{"type":"transaction"},{"contexts":{"trace":{"span_id":"SHORT_UUID","trace_id":"UUID","data":{"sentry.origin":"manual","sentry.segment.name.source":"custom","sentry.sample_rate":0.3,"sentry.trace_lifecycle":"static"},"status":"ok","origin":"manual"},"runtime":{"name":"node","version":"NODE_VERSION"}},"spans":[],"start_timestamp":START_TIMESTAMP,"timestamp":TIMESTAMP,"transaction":"Sentry Bundler Plugin execution","type":"transaction","transaction_info":{"source":"custom"},"platform":"PLATFORM","event_id":"UUID","environment":"production","release":"PLUGIN_VERSION","tags":{"upload-legacy-sourcemaps":false,"module-metadata":false,"inject-build-information":false,"set-commits":"auto","finalize-release":true,"deploy-options":false,"custom-error-handler":false,"sourcemaps-assets":false,"delete-after-upload":false,"sourcemaps-disabled":false,"react-annotate":false,"node":"NODE_VERSION","platform":"PLATFORM","meta-framework":"none","application-key-set":false,"ci":true,"project":"undefined","bundler":"esbuild","bundler-major-version":"28"},"user":{},"sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION","integrations":[],"packages":[{"name":"npm:@sentry/node","version":"SDK_VERSION"}]}}]]], [{"sent_at":"TIMESTAMP","sdk":{"name":"sentry.javascript.node","version":"SDK_VERSION"}},[[{"type":"session"},{"sid":"UUID","init":false,"started":"TIMESTAMP","timestamp":"TIMESTAMP","status":"exited","errors":0,"duration":DURATION,"attrs":{"release":"PLUGIN_VERSION","environment":"production"}}]]], ", "telemetry.js": "(() => { // _sentry-injection-stub !(function() { ❯ fixtures/esbuild/telemetry.test.ts:6:29 ❯ fixtures/esbuild/utils.ts:42:5
Node (24) Integration Tests (1/3)
Process completed with exit code 1.
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for POST requests [cjs]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L137
AssertionError: expected { …(36) } to deeply equal { Object (http.request.method, url.query, ...) } - Expected + Received @@ -43,10 +43,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 44499, "url.full": "http://localhost:44499/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:137:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for GET requests [cjs]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L95
AssertionError: expected { …(33) } to deeply equal { 'http.request.method': 'GET', …(31) } - Expected + Received @@ -36,10 +36,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 33941, "url.full": "http://localhost:33941/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:95:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for POST requests [esm]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L137
AssertionError: expected { …(36) } to deeply equal { Object (http.request.method, url.query, ...) } - Expected + Received @@ -43,10 +43,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 43505, "url.full": "http://localhost:43505/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:137:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for GET requests [esm]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L95
AssertionError: expected { …(33) } to deeply equal { 'http.request.method': 'GET', …(31) } - Expected + Received @@ -36,10 +36,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 40711, "url.full": "http://localhost:40711/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:95:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
test/integration/transactions.test.ts > Integration | Transactions > correctly creates concurrent transaction & spans: packages/node/test/integration/transactions.test.ts#L222
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…}, …(1) ] Received: 1st vi.fn() call: @@ -1,7 +1,7 @@ [ - ObjectContaining { + { "breadcrumbs": [ { "message": "test breadcrumb 1", "timestamp": 123456, }, @@ -12,40 +12,296 @@ { "message": "test breadcrumb 3", "timestamp": 123456, }, ], - "contexts": ObjectContaining { + "contexts": { + "runtime": { + "name": "node", + "version": "v22.23.3", + }, "trace": { "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.sample_rate": 1, "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", "test.outer": "test value", }, + "links": undefined, "op": "test op", "origin": "auto.test", - "span_id": StringMatching /[a-f0-9]{16}/, + "parent_span_id": undefined, + "span_id": "b8c30620dbfc95c3", "status": "ok", - "trace_id": StringMatching /[a-f0-9]{32}/, + "trace_id": "0494e3b0daf64272aec4f474f3cdc792", + }, + }, + "environment": "production", + "event_id": "a4290d4d59764cd6a898f55157045855", + "platform": "node", + "release": "2cb08bddea8bdc80303c26389f0464f3123f2b39", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [ + { + "message": "test breadcrumb 1", + "timestamp": 123456, + }, + { + "message": "test breadcrumb 2", + "timestamp": 123456, + }, + { + "message": "test breadcrumb 3", + "timestamp": 123456, + }, + ], + "_client": undefined, + "_contexts": {}, + "_conversationId": undefined, + "_eventProcessors": [], + "_extra": {}, + "_fingerprint": undefined, + "_lastEventId": undefined, + "_level": undefined, + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.8450337592407839, + "traceId": "d3dcd0740ed34cbd801c509cfc29f6b0", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_session": undefined, + "_tags": { + "test.tag": "test value", + }, + "_transactionName": undefined, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": NodeClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_disposeCallbacks": [], + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], +
test/integration/transactions.test.ts > Integration | Transactions > correctly creates transaction & spans: packages/node/test/integration/transactions.test.ts#L76
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(5) }, op: 'test op', …(4) } - Expected + Received @@ -2,13 +2,16 @@ "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.sample_rate": 1, "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", "test.outer": "test value", }, + "links": undefined, "op": "test op", "origin": "auto.test", + "parent_span_id": undefined, "span_id": "8404210bea42ae34", "status": "ok", "trace_id": "62492a676c2641fbb41bd75f6d50aacc", } ❯ test/integration/transactions.test.ts:76:41
test/integration/scope.test.ts > Integration | Scope > with tracing > correctly syncs OTEL context & Sentry hub/scope: packages/node/test/integration/scope.test.ts#L103
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…}, …(1) ] Received: 1st vi.fn() call: [ - ObjectContaining { - "contexts": ObjectContaining { + { + "breadcrumbs": undefined, + "contexts": { + "runtime": { + "name": "node", + "version": "v22.23.3", + }, "trace": { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "a60877433f9a910a", "status": "ok", + "trace_id": "d7e04a22c4fa4fb3a299d4cc712eb4ad", + }, + }, + "environment": "production", + "event_id": "1b31d4d14cf44acfafb7a7de099b9b39", + "platform": "node", + "release": "2cb08bddea8bdc80303c26389f0464f3123f2b39", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_contexts": {}, + "_eventProcessors": [], + "_extra": {}, + "_lastEventId": "6da059620d2f4b6b948d07a13e22f302", + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.9371102591418632, + "traceId": "f786cca94f114781adb036ba398fbe2f", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_tags": { + "tag4": "val4", + }, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": NodeClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_disposeCallbacks": [], + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], + }, + "afterCaptureMetric": Set { + [Function uniqueCallback], + }, + "beforeCaptureLog": Set { + [Function uniqueCallback], + }, + "flush": Set { + [Function uniqueCallback], + [Function uniqueCallback], + [Function uniqueCallback], + }, + "flushLogs": Set { + [Function uniqueCallback], + }, + "flushMetrics": Set { + [Function uniqueCallback], + }, + "prepareSpanScope": Set { + [Function uniqueCallback], + }, + "processMetric": Set { + [Function uniqueCallback], + }, + }, + "_integrations": {}, + "_logOnExitFlushListener": [Function anonymous], + "_metricsOnExitFlushListener": [Function anonymous],
test/integration/transactions.test.ts > Integration | Transactions > correctly creates transaction & spans with a trace header data: packages/opentelemetry/test/integration/transactions.test.ts#L335
AssertionError: expected last "vi.fn()" call to have been called with [ ObjectContaining{…}, …(1) ] - Expected + Received @@ -1,21 +1,167 @@ [ { + "breadcrumbs": undefined, "contexts": { "trace": { "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", }, + "links": undefined, "op": "test op", "origin": "auto.test", "parent_span_id": "6e0c63257de34c92", "span_id": "b3e622f8bba6e8f9", "status": "ok", + "trace_id": "d4cda95b652f4a1592b449d5929fda1b", + }, + }, + "environment": "production", + "event_id": "6fa213691aa84de5ae607e45a6ba9b45", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_contexts": {}, + "_eventProcessors": [], + "_extra": {}, + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.15634830622616613, + "traceId": "7268c01e58734998a71b62680c1e3752", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_tags": {}, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": TestClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], + }, + "afterCaptureMetric": Set { + [Function uniqueCallback], + }, + "flush": Set { + [Function uniqueCallback], + [Function uniqueCallback], + }, + "flushLogs": Set { + [Function uniqueCallback], + }, + "flushMetrics": Set { + [Function uniqueCallback], + }, + "prepareSpanScope": Set { + [Function uniqueCallback], + }, + }, + "_integrations": {}, + "_numProcessing": 0, + "_options": { + "attachStacktrace": true, + "beforeSendTransaction": [Function Mock], + "dsn": "https://username@domain/123", + "integrations": [], + "stackParser": [Function stackParser], + "traceLifecycle": "static", + "tracesSampleRate": 1, + "transport": [Function transport], + }, + "_outcomes": {}, + "_promiseBuffer": { + "$": [], + "add": [Function add], + "drain": [Function drain], + }, + "_transport": { + "flush": [Function flush], + "send": [Functi
test/integration/transactions.test.ts > Integration | Transactions > correctly creates concurrent transaction & spans: packages/opentelemetry/test/integration/transactions.test.ts#L217
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…}, …(1) ] Received: 1st vi.fn() call: @@ -1,7 +1,7 @@ [ - ObjectContaining { + { "breadcrumbs": [ { "message": "test breadcrumb 1", "timestamp": 123456, }, @@ -12,40 +12,243 @@ { "message": "test breadcrumb 3", "timestamp": 123456, }, ], - "contexts": ObjectContaining { + "contexts": { "trace": { "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.sample_rate": 1, "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", "test.outer": "test value", }, + "links": undefined, "op": "test op", "origin": "auto.test", - "span_id": StringMatching /[a-f0-9]{16}/, + "parent_span_id": undefined, + "span_id": "a570ad758d2797d4", "status": "ok", - "trace_id": StringMatching /[a-f0-9]{32}/, + "trace_id": "353d8215f10042ceb6740655544802f1", + }, + }, + "environment": "production", + "event_id": "8175dd25ea5d4d59b2e5e3d8b607f05d", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [ + { + "message": "test breadcrumb 1", + "timestamp": 123456, + }, + { + "message": "test breadcrumb 2", + "timestamp": 123456, + }, + { + "message": "test breadcrumb 3", + "timestamp": 123456, + }, + ], + "_client": undefined, + "_contexts": {}, + "_conversationId": undefined, + "_eventProcessors": [], + "_extra": {}, + "_fingerprint": undefined, + "_lastEventId": undefined, + "_level": undefined, + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.9128414343971873, + "traceId": "3cf4fef5ddd44873ae2b1546337b926f", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_session": undefined, + "_tags": { + "test.tag": "test value", + }, + "_transactionName": undefined, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": TestClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], + }, + "afterCaptureMetric": Set { + [Function uniqueCallback], + }, + "flush": Set { + [Function uniqueCallback], + [Function u
test/integration/transactions.test.ts > Integration | Transactions > correctly creates transaction & spans: packages/opentelemetry/test/integration/transactions.test.ts#L76
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(5) }, op: 'test op', …(4) } - Expected + Received @@ -2,13 +2,16 @@ "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.sample_rate": 1, "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", "test.outer": "test value", }, + "links": undefined, "op": "test op", "origin": "auto.test", + "parent_span_id": undefined, "span_id": "a2d6f75690efb699", "status": "ok", "trace_id": "caf40288fa124eeeab7020aa8d3ec403", } ❯ test/integration/transactions.test.ts:76:41
test/integration/scope.test.ts > Integration | Scope > with tracing > correctly syncs OTEL context & Sentry hub/scope: packages/opentelemetry/test/integration/scope.test.ts#L104
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…}, …(1) ] Received: 1st vi.fn() call: [ - ObjectContaining { - "contexts": ObjectContaining { + { + "breadcrumbs": undefined, + "contexts": { "trace": { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "b24f7519d94cd242", "status": "ok", + "trace_id": "7f64435bc98945c4bb2710f227f45a13", + }, + }, + "environment": "production", + "event_id": "fdeca34925164be79f1b0c99de0cc5d8", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_contexts": {}, + "_eventProcessors": [], + "_extra": {}, + "_lastEventId": "c824830a5e264d8e97dc3f4a0a4068e8", + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.3693263838508598, + "traceId": "e4a4c959867c4dfa81929220e30309f3", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_tags": { + "tag4": "val4", + }, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": TestClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], + }, + "afterCaptureMetric": Set { + [Function uniqueCallback], + }, + "flush": Set { + [Function uniqueCallback], + [Function uniqueCallback], + }, + "flushLogs": Set { + [Function uniqueCallback], + }, + "flushMetrics": Set { + [Function uniqueCallback], + }, + "prepareSpanScope": Set { + [Function uniqueCallback], + }, + }, + "_integrations": {}, + "_numProcessing": 0, + "_options": { + "attachStacktrace": true, + "beforeSend": [Function Mock], + "beforeSendTransaction": [Function Mock], + "dsn": "https://username@domain/123", + "integrations": [], + "stackParser": [Function stackParser], + "traceLifecycle": "static", + "tracesSampleRate": 1, + "transport": [Function transport], + }, + "_outcomes": {}, + "_promiseBuffer": { + "$": [], +
test/trace.test.ts > trace > startSpanManual > allows to force a transaction with forceTransaction=true: packages/opentelemetry/test/trace.test.ts#L1170
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(3) }, …(4) } - Expected + Received { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "8045dce780ae1e7a", "status": "ok", "trace_id": "4baca24ff9b542b1b973be6211ff9622", } ❯ test/trace.test.ts:1170:49
test/trace.test.ts > trace > startInactiveSpan > allows to force a transaction with forceTransaction=true: packages/opentelemetry/test/trace.test.ts#L785
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(3) }, …(4) } - Expected + Received { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "be5ec3ab7c6b2a85", "status": "ok", "trace_id": "36b8bd0a6e564cb5b474d1df9e1091bb", } ❯ test/trace.test.ts:785:49
test/trace.test.ts > trace > startSpan > allows to force a transaction with forceTransaction=true: packages/opentelemetry/test/trace.test.ts#L457
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(3) }, …(4) } - Expected + Received { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "9dbaddf3d81a3404", "status": "ok", "trace_id": "16858d7699e94694a83924c1db3865a9", } ❯ test/trace.test.ts:457:49
Node (26) Integration Tests (1/3)
Process completed with exit code 1.
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for POST requests [cjs]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L137
AssertionError: expected { …(36) } to deeply equal { Object (http.request.method, url.query, ...) } - Expected + Received @@ -43,10 +43,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 40773, "url.full": "http://localhost:40773/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:137:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for GET requests [cjs]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L95
AssertionError: expected { …(33) } to deeply equal { 'http.request.method': 'GET', …(31) } - Expected + Received @@ -36,10 +36,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 43987, "url.full": "http://localhost:43987/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:95:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for POST requests [esm]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L137
AssertionError: expected { …(36) } to deeply equal { Object (http.request.method, url.query, ...) } - Expected + Received @@ -43,10 +43,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 46567, "url.full": "http://localhost:46567/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:137:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for GET requests [esm]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L95
AssertionError: expected { …(33) } to deeply equal { 'http.request.method': 'GET', …(31) } - Expected + Received @@ -36,10 +36,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 34599, "url.full": "http://localhost:34599/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:95:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
test/integration/transactions.test.ts > Integration | Transactions > correctly creates concurrent transaction & spans: packages/node/test/integration/transactions.test.ts#L222
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…}, …(1) ] Received: 1st vi.fn() call: @@ -1,7 +1,7 @@ [ - ObjectContaining { + { "breadcrumbs": [ { "message": "test breadcrumb 1", "timestamp": 123456, }, @@ -12,40 +12,293 @@ { "message": "test breadcrumb 3", "timestamp": 123456, }, ], - "contexts": ObjectContaining { + "contexts": { + "runtime": { + "name": "node", + "version": "v24.21.0", + }, "trace": { "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.sample_rate": 1, "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", "test.outer": "test value", }, + "links": undefined, "op": "test op", "origin": "auto.test", - "span_id": StringMatching /[a-f0-9]{16}/, + "parent_span_id": undefined, + "span_id": "a90e98519bd4a521", "status": "ok", - "trace_id": StringMatching /[a-f0-9]{32}/, + "trace_id": "90305b72f1e6493d96c2664554dfdea5", + }, + }, + "environment": "production", + "event_id": "723f123ee6c849609b10b8c8926e50c5", + "platform": "node", + "release": "2cb08bddea8bdc80303c26389f0464f3123f2b39", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [ + { + "message": "test breadcrumb 1", + "timestamp": 123456, + }, + { + "message": "test breadcrumb 2", + "timestamp": 123456, + }, + { + "message": "test breadcrumb 3", + "timestamp": 123456, + }, + ], + "_client": undefined, + "_contexts": {}, + "_conversationId": undefined, + "_eventProcessors": [], + "_extra": {}, + "_fingerprint": undefined, + "_lastEventId": undefined, + "_level": undefined, + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.8185326572097205, + "traceId": "58383da17b4d4cb28d57eeeb18ad28c1", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_session": undefined, + "_tags": { + "test.tag": "test value", + }, + "_transactionName": undefined, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": NodeClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_disposeCallbacks": [], + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], +
test/integration/transactions.test.ts > Integration | Transactions > correctly creates transaction & spans: packages/node/test/integration/transactions.test.ts#L76
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(5) }, op: 'test op', …(4) } - Expected + Received @@ -2,13 +2,16 @@ "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.sample_rate": 1, "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", "test.outer": "test value", }, + "links": undefined, "op": "test op", "origin": "auto.test", + "parent_span_id": undefined, "span_id": "aea3a9d9ad69fdd6", "status": "ok", "trace_id": "f4cc744a9c624f8aa42c95f520e892a6", } ❯ test/integration/transactions.test.ts:76:41
test/integration/scope.test.ts > Integration | Scope > with tracing > correctly syncs OTEL context & Sentry hub/scope: packages/node/test/integration/scope.test.ts#L103
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…}, …(1) ] Received: 1st vi.fn() call: [ - ObjectContaining { - "contexts": ObjectContaining { + { + "breadcrumbs": undefined, + "contexts": { + "runtime": { + "name": "node", + "version": "v24.21.0", + }, "trace": { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "99465ef299994cde", "status": "ok", "trace_id": "98ecc35ad6d74b0eb053ba5c8b14c8ba", }, }, + "environment": "production", + "event_id": "523782a90b0048ef828881f8f5db361d", + "platform": "node", + "release": "2cb08bddea8bdc80303c26389f0464f3123f2b39", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_contexts": {}, + "_eventProcessors": [], + "_extra": {}, + "_lastEventId": "2948142733674e1ca0d6f5409d2e86b4", + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.5093707004616562, + "traceId": "f5b8a927d4634b6fb4765498bbad8e31", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_tags": { + "tag4": "val4", + }, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": NodeClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_disposeCallbacks": [], + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], + }, + "afterCaptureMetric": Set { + [Function uniqueCallback], + }, + "beforeCaptureLog": Set { + [Function uniqueCallback], + }, + "flush": Set { + [Function uniqueCallback], + [Function uniqueCallback], + [Function uniqueCallback], + }, + "flushLogs": Set { + [Function uniqueCallback], + }, + "flushMetrics": Set { + [Function uniqueCallback], + }, + "prepareSpanScope": Set { + [Function uniqueCallback], + }, + "processMetric": Set { + [Function uniqueCallback], + }, + }, + "_integrations": {}, + "_logOnExitFlushListener": [Function anonymous], + "_metricsOnExitFlushListener": [Function anonymous],
test/integration/transactions.test.ts > Integration | Transactions > correctly creates transaction & spans with a trace header data: packages/opentelemetry/test/integration/transactions.test.ts#L335
AssertionError: expected last "vi.fn()" call to have been called with [ ObjectContaining{…}, …(1) ] - Expected + Received @@ -1,21 +1,167 @@ [ { + "breadcrumbs": undefined, "contexts": { "trace": { "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", }, + "links": undefined, "op": "test op", "origin": "auto.test", "parent_span_id": "6e0c63257de34c92", "span_id": "848c4168bc3bd569", "status": "ok", + "trace_id": "d4cda95b652f4a1592b449d5929fda1b", + }, + }, + "environment": "production", + "event_id": "ebd410c2fc19459482e4302dedfdc3ca", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_contexts": {}, + "_eventProcessors": [], + "_extra": {}, + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.9690065603328112, + "traceId": "3d824259408f4c9dbd3e38628d3c0a2b", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_tags": {}, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": TestClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], + }, + "afterCaptureMetric": Set { + [Function uniqueCallback], + }, + "flush": Set { + [Function uniqueCallback], + [Function uniqueCallback], + }, + "flushLogs": Set { + [Function uniqueCallback], + }, + "flushMetrics": Set { + [Function uniqueCallback], + }, + "prepareSpanScope": Set { + [Function uniqueCallback], + }, + }, + "_integrations": {}, + "_numProcessing": 0, + "_options": { + "attachStacktrace": true, + "beforeSendTransaction": [Function Mock], + "dsn": "https://username@domain/123", + "integrations": [], + "stackParser": [Function stackParser], + "traceLifecycle": "static", + "tracesSampleRate": 1, + "transport": [Function transport], + }, + "_outcomes": {}, + "_promiseBuffer": { + "$": [], + "add": [Function add], + "drain": [Function drain], + }, + "_transport": { + "flush": [Function flush], + "send": [Functio
test/integration/transactions.test.ts > Integration | Transactions > correctly creates concurrent transaction & spans: packages/opentelemetry/test/integration/transactions.test.ts#L217
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…}, …(1) ] Received: 1st vi.fn() call: @@ -1,7 +1,7 @@ [ - ObjectContaining { + { "breadcrumbs": [ { "message": "test breadcrumb 1", "timestamp": 123456, }, @@ -12,40 +12,243 @@ { "message": "test breadcrumb 3", "timestamp": 123456, }, ], - "contexts": ObjectContaining { + "contexts": { "trace": { "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.sample_rate": 1, "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", "test.outer": "test value", }, + "links": undefined, "op": "test op", "origin": "auto.test", - "span_id": StringMatching /[a-f0-9]{16}/, + "parent_span_id": undefined, + "span_id": "884ef91bc07377c5", "status": "ok", - "trace_id": StringMatching /[a-f0-9]{32}/, + "trace_id": "fd839bd499ed483e97a4bc7c2815af05", + }, + }, + "environment": "production", + "event_id": "a4f716198ee64a0fa0bfbc7b61a4f8a9", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [ + { + "message": "test breadcrumb 1", + "timestamp": 123456, + }, + { + "message": "test breadcrumb 2", + "timestamp": 123456, + }, + { + "message": "test breadcrumb 3", + "timestamp": 123456, + }, + ], + "_client": undefined, + "_contexts": {}, + "_conversationId": undefined, + "_eventProcessors": [], + "_extra": {}, + "_fingerprint": undefined, + "_lastEventId": undefined, + "_level": undefined, + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.6333954355094874, + "traceId": "98b995af5e7a43fda493312d86692b1a", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_session": undefined, + "_tags": { + "test.tag": "test value", + }, + "_transactionName": undefined, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": TestClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], + }, + "afterCaptureMetric": Set { + [Function uniqueCallback], + }, + "flush": Set { + [Function uniqueCallback], + [Function u
test/integration/transactions.test.ts > Integration | Transactions > correctly creates transaction & spans: packages/opentelemetry/test/integration/transactions.test.ts#L76
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(5) }, op: 'test op', …(4) } - Expected + Received @@ -2,13 +2,16 @@ "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.sample_rate": 1, "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", "test.outer": "test value", }, + "links": undefined, "op": "test op", "origin": "auto.test", + "parent_span_id": undefined, "span_id": "bd4fb4b28ed36604", "status": "ok", "trace_id": "2d8cb614631f495c848dc259903d95ed", } ❯ test/integration/transactions.test.ts:76:41
test/integration/scope.test.ts > Integration | Scope > with tracing > correctly syncs OTEL context & Sentry hub/scope: packages/opentelemetry/test/integration/scope.test.ts#L104
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…}, …(1) ] Received: 1st vi.fn() call: [ - ObjectContaining { - "contexts": ObjectContaining { + { + "breadcrumbs": undefined, + "contexts": { "trace": { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "baa335ca9a2865ed", "status": "ok", + "trace_id": "7e735ef932b1475988edde22bc0bdd4e", + }, + }, + "environment": "production", + "event_id": "6d4150dd1137496da04f9e3d2a9a4c12", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_contexts": {}, + "_eventProcessors": [], + "_extra": {}, + "_lastEventId": "dbd0cc09e2944574abcb97cc459be8d6", + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.8768992014684799, + "traceId": "7af3e76d70ed403a8b08c830aa728f1a", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_tags": { + "tag4": "val4", + }, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": TestClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], + }, + "afterCaptureMetric": Set { + [Function uniqueCallback], + }, + "flush": Set { + [Function uniqueCallback], + [Function uniqueCallback], + }, + "flushLogs": Set { + [Function uniqueCallback], + }, + "flushMetrics": Set { + [Function uniqueCallback], + }, + "prepareSpanScope": Set { + [Function uniqueCallback], + }, + }, + "_integrations": {}, + "_numProcessing": 0, + "_options": { + "attachStacktrace": true, + "beforeSend": [Function Mock], + "beforeSendTransaction": [Function Mock], + "dsn": "https://username@domain/123", + "integrations": [], + "stackParser": [Function stackParser], + "traceLifecycle": "static", + "tracesSampleRate": 1, + "transport": [Function transport], + }, + "_outcomes": {}, + "_promiseBuffer": { + "$": [], +
test/trace.test.ts > trace > startSpanManual > allows to force a transaction with forceTransaction=true: packages/opentelemetry/test/trace.test.ts#L1170
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(3) }, …(4) } - Expected + Received { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "8481906ab72ffcfd", "status": "ok", "trace_id": "3c1c0f7139fe43fd85e52d5bd27f62a8", } ❯ test/trace.test.ts:1170:49
test/trace.test.ts > trace > startInactiveSpan > allows to force a transaction with forceTransaction=true: packages/opentelemetry/test/trace.test.ts#L785
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(3) }, …(4) } - Expected + Received { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "8b1eed883fcd8b5b", "status": "ok", "trace_id": "fa5ab84405af4e2faa6c1f9a6b806a58", } ❯ test/trace.test.ts:785:49
test/trace.test.ts > trace > startSpan > allows to force a transaction with forceTransaction=true: packages/opentelemetry/test/trace.test.ts#L457
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(3) }, …(4) } - Expected + Received { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "80fe66434988c288", "status": "ok", "trace_id": "7f25d002a6f54f54a034e9921c916063", } ❯ test/trace.test.ts:457:49
E2E node-express-static Test
Process completed with exit code 1.
[chromium] › tests/transactions.test.ts:143:5 › Sends an API route transaction for an errored route: ../../_temp/test-application/tests/transactions.test.ts#L163
2) [chromium] › tests/transactions.test.ts:143:5 › Sends an API route transaction for an errored route Error: expect(received).toContainEqual(expected) // deep equality Expected value: {"data": {"express.name": "query", "express.type": "middleware", "sentry.op": "middleware", "sentry.origin": "auto.http.express"}, "description": "query", "op": "middleware", "origin": "auto.http.express", "parent_span_id": StringMatching /[a-f0-9]{16}/, "span_id": StringMatching /[a-f0-9]{16}/, "start_timestamp": Any<Number>, "status": "ok", "timestamp": Any<Number>, "trace_id": StringMatching /[a-f0-9]{32}/} Received array: [{"data": {"express.name": "query", "express.type": "middleware", "sentry.op": "middleware", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "query", "op": "middleware", "origin": "auto.http.express", "parent_span_id": "a54f9b002cc15265", "span_id": "9bcd866600e4b507", "start_timestamp": 1791360447.516366, "status": "ok", "timestamp": 1791360447.5164979, "trace_id": "4a2358c4214741d8a1095165e1e7de96"}, {"data": {"express.name": "expressInit", "express.type": "middleware", "sentry.op": "middleware", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "expressInit", "op": "middleware", "origin": "auto.http.express", "parent_span_id": "a54f9b002cc15265", "span_id": "8097896926b860fa", "start_timestamp": 1791360447.5165367, "status": "ok", "timestamp": 1791360447.5166535, "trace_id": "4a2358c4214741d8a1095165e1e7de96"}, {"data": {"express.name": "jsonParser", "express.type": "middleware", "sentry.op": "middleware", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "jsonParser", "op": "middleware", "origin": "auto.http.express", "parent_span_id": "a54f9b002cc15265", "span_id": "8ca44d7140176c2e", "start_timestamp": 1791360447.5167134, "status": "ok", "timestamp": 1791360447.516759, "trace_id": "4a2358c4214741d8a1095165e1e7de96"}, {"data": {"express.name": "", "express.type": "router", "sentry.op": "router", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "", "op": "router", "origin": "auto.http.express", "parent_span_id": "a54f9b002cc15265", "span_id": "a64adba7b5984b0f", "start_timestamp": 1791360447.5167828, "status": "ok", "timestamp": 1791360447.5168674, "trace_id": "4a2358c4214741d8a1095165e1e7de96"}, {"data": {"error.type": "Error", "express.name": "/test-exception/:id", "express.type": "request_handler", "http.route": "/test-exception/:id", "sentry.op": "handler", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "/test-exception/:id", "op": "handler", "origin": "auto.http.express", "parent_span_id": "a54f9b002cc15265", "span_id": "9efb0fcb7f97825f", "start_timestamp": 1791360447.5169785, "status": "internal_error", "timestamp": 1791360447.5412712, "trace_id": "4a2358c4214741d8a1095165e1e7de96"}] 161 | const spans = transactionEvent.spans || []; 162 | > 163 | expect(spans).toContainEqual({ | ^ 164 | data: { 165 | 'sentry.origin': 'auto.http.express', 166 | 'sentry.op': 'middleware', at /home/runner/work/_temp/test-application/tests/transactions.test.ts:163:17
[chromium] › tests/transactions.test.ts:4:5 › Sends an API route transaction: ../../_temp/test-application/tests/transactions.test.ts#L16
1) [chromium] › tests/transactions.test.ts:4:5 › Sends an API route transaction ────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -37,10 +37,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 3030, "url.full": "http://localhost:3030/test-transaction", "url.path": "/test-transaction", "url.scheme": "http", 14 | const transactionEvent = await pageloadTransactionEventPromise; 15 | > 16 | expect(transactionEvent.contexts?.trace).toEqual({ | ^ 17 | data: { 18 | 'sentry.segment.name.source': 'route', 19 | 'sentry.origin': 'auto.http.http_server', at /home/runner/work/_temp/test-application/tests/transactions.test.ts:16:44
E2E node-express (tracer provider) Test
Process completed with exit code 1.
[chromium] › tests/transactions.test.ts:143:5 › Sends an API route transaction for an errored route: ../../_temp/test-application/tests/transactions.test.ts#L163
2) [chromium] › tests/transactions.test.ts:143:5 › Sends an API route transaction for an errored route Error: expect(received).toContainEqual(expected) // deep equality Expected value: {"data": {"express.name": "query", "express.type": "middleware", "sentry.op": "middleware", "sentry.origin": "auto.http.express"}, "description": "query", "op": "middleware", "origin": "auto.http.express", "parent_span_id": StringMatching /[a-f0-9]{16}/, "span_id": StringMatching /[a-f0-9]{16}/, "start_timestamp": Any<Number>, "status": "ok", "timestamp": Any<Number>, "trace_id": StringMatching /[a-f0-9]{32}/} Received array: [{"data": {"express.name": "query", "express.type": "middleware", "sentry.op": "middleware", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "query", "op": "middleware", "origin": "auto.http.express", "parent_span_id": "bafde1ea7e6f8eb6", "span_id": "b09dad75338b9826", "start_timestamp": 1791360449.3301187, "status": "ok", "timestamp": 1791360449.330225, "trace_id": "45d72a1cfff74af3be8272547f345037"}, {"data": {"express.name": "expressInit", "express.type": "middleware", "sentry.op": "middleware", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "expressInit", "op": "middleware", "origin": "auto.http.express", "parent_span_id": "bafde1ea7e6f8eb6", "span_id": "b2ee1f45d897f4f7", "start_timestamp": 1791360449.330288, "status": "ok", "timestamp": 1791360449.3304155, "trace_id": "45d72a1cfff74af3be8272547f345037"}, {"data": {"express.name": "jsonParser", "express.type": "middleware", "sentry.op": "middleware", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "jsonParser", "op": "middleware", "origin": "auto.http.express", "parent_span_id": "bafde1ea7e6f8eb6", "span_id": "ac354a440669602e", "start_timestamp": 1791360449.330487, "status": "ok", "timestamp": 1791360449.3305674, "trace_id": "45d72a1cfff74af3be8272547f345037"}, {"data": {"express.name": "", "express.type": "router", "sentry.op": "router", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "", "op": "router", "origin": "auto.http.express", "parent_span_id": "bafde1ea7e6f8eb6", "span_id": "836056d509dd32ac", "start_timestamp": 1791360449.3306236, "status": "ok", "timestamp": 1791360449.3307507, "trace_id": "45d72a1cfff74af3be8272547f345037"}, {"data": {"error.type": "Error", "express.name": "/test-exception/:id", "express.type": "request_handler", "http.route": "/test-exception/:id", "sentry.op": "handler", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "/test-exception/:id", "op": "handler", "origin": "auto.http.express", "parent_span_id": "bafde1ea7e6f8eb6", "span_id": "b37ca96179b35985", "start_timestamp": 1791360449.3308656, "status": "internal_error", "timestamp": 1791360449.370681, "trace_id": "45d72a1cfff74af3be8272547f345037"}] 161 | const spans = transactionEvent.spans || []; 162 | > 163 | expect(spans).toContainEqual({ | ^ 164 | data: { 165 | 'sentry.origin': 'auto.http.express', 166 | 'sentry.op': 'middleware', at /home/runner/work/_temp/test-application/tests/transactions.test.ts:163:17
[chromium] › tests/transactions.test.ts:4:5 › Sends an API route transaction: ../../_temp/test-application/tests/transactions.test.ts#L16
1) [chromium] › tests/transactions.test.ts:4:5 › Sends an API route transaction ────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -37,10 +37,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 3030, "url.full": "http://localhost:3030/test-transaction", "url.path": "/test-transaction", "url.scheme": "http", 14 | const transactionEvent = await pageloadTransactionEventPromise; 15 | > 16 | expect(transactionEvent.contexts?.trace).toEqual({ | ^ 17 | data: { 18 | 'sentry.segment.name.source': 'route', 19 | 'sentry.origin': 'auto.http.http_server', at /home/runner/work/_temp/test-application/tests/transactions.test.ts:16:44
E2E ember-strict-resolver Test
Process completed with exit code 1.
[chromium] › tests/sentry-performance.test.ts:110:5 › captures correct spans for navigation: ../../_temp/test-application/tests/sentry-performance.test.ts#L168
1) [chromium] › tests/sentry-performance.test.ts:110:5 › captures correct spans for navigation ─── Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "router", "sentry.origin": "auto.ui.ember", + "sentry.trace_lifecycle": "static", }, "description": "route:tracing -> route:slow-loading-route.index", "op": "router", "origin": "auto.ui.ember", "parent_span_id": "a7ca8d368b0e5318", 166 | expect(renderSpans.length).toBeGreaterThan(1); 167 | > 168 | expect(transitionSpans[0]).toEqual({ | ^ 169 | data: { 170 | 'sentry.op': 'router', 171 | 'sentry.origin': 'auto.ui.ember', at /home/runner/work/_temp/test-application/tests/sentry-performance.test.ts:168:30
Node (22) Integration Tests (1/3)
Process completed with exit code 1.
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for POST requests [cjs]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L137
AssertionError: expected { …(36) } to deeply equal { Object (http.request.method, url.query, ...) } - Expected + Received @@ -43,10 +43,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 46003, "url.full": "http://localhost:46003/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:137:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for GET requests [cjs]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L95
AssertionError: expected { …(33) } to deeply equal { 'http.request.method': 'GET', …(31) } - Expected + Received @@ -36,10 +36,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 44935, "url.full": "http://localhost:44935/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:95:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for POST requests [esm]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L137
AssertionError: expected { …(36) } to deeply equal { Object (http.request.method, url.query, ...) } - Expected + Received @@ -43,10 +43,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 44573, "url.full": "http://localhost:44573/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:137:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for GET requests [esm]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L95
AssertionError: expected { …(33) } to deeply equal { 'http.request.method': 'GET', …(31) } - Expected + Received @@ -36,10 +36,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 37361, "url.full": "http://localhost:37361/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:95:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
[chromium] › tests/transactions.test.ts:552:5 › API route transaction includes nest async interceptor spans before route execution. Spans created in and after async interceptor are nested correctly: ../../_temp/test-application/tests/transactions.test.ts#L568
10) [chromium] › tests/transactions.test.ts:552:5 › API route transaction includes nest async interceptor spans before route execution. Spans created in and after async interceptor are nested correctly Error: expect(received).toEqual(expected) // deep equality - Expected - 7 + Received + 397 - ObjectContaining { - "spans": ArrayContaining [ + Object { + "contexts": Object { + "app": Object { + "app_memory": 188645376, + "app_start_time": "2026-10-07T08:07:18.279Z", + "free_memory": 14186446848, + }, + "cloud_resource": Object {}, + "culture": Object { + "locale": "en-US", + "timezone": "UTC", + }, + "device": Object { + "arch": "x64", + "boot_time": "2026-10-07T08:04:22.314Z", + "cpu_description": "AMD EPYC 7763 64-Core Processor", + "free_memory": 14186446848, + "memory_size": 16766410752, + "processor_count": 4, + "processor_frequency": 0, + }, + "os": Object { + "kernel_version": "6.17.0-1022-azure", + "name": "Ubuntu Linux", + "version": "24.04", + }, + "response": Object { + "status_code": 200, + }, + "runtime": Object { + "name": "node", + "version": "v24.21.0", + }, + "trace": Object { + "data": Object { + "client.address": "::1", + "client.port": 56134, + "http.request.header.accept": Array [ + "*/*", + ], + "http.request.header.accept-encoding": Array [ + "gzip, deflate", + ], + "http.request.header.accept-language": Array [ + "*", + ], + "http.request.header.connection": Array [ + "keep-alive", + ], + "http.request.header.host": Array [ + "localhost:3030", + ], + "http.request.header.sec-fetch-mode": Array [ + "cors", + ], + "http.request.header.user-agent": Array [ + "node", + ], + "http.request.method": "GET", + "http.response.status_code": 200, + "http.response.status_text": "OK", + "http.route": "/test-async-interceptor-instrumentation", + "network.local.address": "::1", + "network.local.port": 3030, + "network.peer.address": "::1", + "network.peer.port": 56134, + "network.protocol.name": "http", + "network.protocol.version": "1.1", + "network.transport": "tcp", + "sentry.kind": "server", + "sentry.op": "http.server", + "sentry.origin": "auto.http.http_server", + "sentry.sample_rate": 1, + "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", + "server.address": "localhost", + "server.port": 3030, + "url.full": "http://localhost:3030/test-async-interceptor-instrumentation", + "url.path": "/test-async-interceptor-instrumentation", + "url.scheme": "http", + "user_agent.original": "node", + }, + "op": "http.server", + "origin": "auto.http.http_server", + "span_id": "a92e47ddb4efb3e5", + "status": "ok", + "trace_id": "92660d018396401cadea5d62c702e7b3", + }, + }, + "environment": "qa", + "event_id": "707c5f25c7934b68876e9b27a202ed69", + "modules": Object { + "@nestjs/cli": "^11.0.0", + "@nestjs/common": "^11.0.0", + "@nestjs/core": "^11.0.0", + "@nestjs/microservices": "^11.0.0", + "@nestjs/platform-express": "^11.0.0", + "@nestjs/schedule": "^5.0.0", + "@nestjs/schematics": "^11.0.0", + "@nestjs/testing": "^11.0.0", + "@playwright/t
[chromium] › tests/transactions.test.ts:470:5 › API route transaction includes exactly one nest interceptor span after route execution. Spans created in controller and in interceptor are nested correctly: ../../_temp/test-application/tests/transactions.test.ts#L486
9) [chromium] › tests/transactions.test.ts:470:5 › API route transaction includes exactly one nest interceptor span after route execution. Spans created in controller and in interceptor are nested correctly Error: expect(received).toEqual(expected) // deep equality - Expected - 7 + Received + 427 - ObjectContaining { - "spans": ArrayContaining [ + Object { + "contexts": Object { + "app": Object { + "app_memory": 188645376, + "app_start_time": "2026-10-07T08:07:18.279Z", + "free_memory": 14167773184, + }, + "cloud_resource": Object {}, + "culture": Object { + "locale": "en-US", + "timezone": "UTC", + }, + "device": Object { + "arch": "x64", + "boot_time": "2026-10-07T08:04:22.314Z", + "cpu_description": "AMD EPYC 7763 64-Core Processor", + "free_memory": 14167773184, + "memory_size": 16766410752, + "processor_count": 4, + "processor_frequency": 0, + }, + "os": Object { + "kernel_version": "6.17.0-1022-azure", + "name": "Ubuntu Linux", + "version": "24.04", + }, + "response": Object { + "status_code": 200, + }, + "runtime": Object { + "name": "node", + "version": "v24.21.0", + }, + "trace": Object { + "data": Object { + "client.address": "::1", + "client.port": 56130, + "http.request.header.accept": Array [ + "*/*", + ], + "http.request.header.accept-encoding": Array [ + "gzip, deflate", + ], + "http.request.header.accept-language": Array [ + "*", + ], + "http.request.header.connection": Array [ + "keep-alive", + ], + "http.request.header.host": Array [ + "localhost:3030", + ], + "http.request.header.sec-fetch-mode": Array [ + "cors", + ], + "http.request.header.user-agent": Array [ + "node", + ], + "http.request.method": "GET", + "http.response.status_code": 200, + "http.response.status_text": "OK", + "http.route": "/test-interceptor-instrumentation", + "network.local.address": "::1", + "network.local.port": 3030, + "network.peer.address": "::1", + "network.peer.port": 56130, + "network.protocol.name": "http", + "network.protocol.version": "1.1", + "network.transport": "tcp", + "sentry.kind": "server", + "sentry.op": "http.server", + "sentry.origin": "auto.http.http_server", + "sentry.sample_rate": 1, + "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", + "server.address": "localhost", + "server.port": 3030, + "url.full": "http://localhost:3030/test-interceptor-instrumentation", + "url.path": "/test-interceptor-instrumentation", + "url.scheme": "http", + "user_agent.original": "node", + }, + "op": "http.server", + "origin": "auto.http.http_server", + "span_id": "aeabd686dce119f3", + "status": "ok", + "trace_id": "9a629be714ca42038edeb06e35bf5611", + }, + }, + "environment": "qa", + "event_id": "e68ff3d345094cdbb1e90a3a787023f3", + "modules": Object { + "@nestjs/cli": "^11.0.0", + "@nestjs/common": "^11.0.0", + "@nestjs/core": "^11.0.0", + "@nestjs/microservices": "^11.0.0", + "@nestjs/platform-express": "^11.0.0", + "@nestjs/schedule": "^5.0.0", + "@nestjs/schematics": "^11.0.0", + "@nestjs/testing": "^11.0.0", + "@playwright/test": "~1.63.
[chromium] › tests/transactions.test.ts:352:5 › API route transaction includes nest interceptor spans before route execution. Spans created in and after interceptor are nested correctly: ../../_temp/test-application/tests/transactions.test.ts#L368
8) [chromium] › tests/transactions.test.ts:352:5 › API route transaction includes nest interceptor spans before route execution. Spans created in and after interceptor are nested correctly Error: expect(received).toEqual(expected) // deep equality - Expected - 12 + Received + 417 - ObjectContaining { - "spans": ArrayContaining [ + Object { + "contexts": Object { + "app": Object { + "app_memory": 188645376, + "app_start_time": "2026-10-07T08:07:18.279Z", + "free_memory": 14240911360, + }, + "cloud_resource": Object {}, + "culture": Object { + "locale": "en-US", + "timezone": "UTC", + }, + "device": Object { + "arch": "x64", + "boot_time": "2026-10-07T08:04:22.314Z", + "cpu_description": "AMD EPYC 7763 64-Core Processor", + "free_memory": 14240911360, + "memory_size": 16766410752, + "processor_count": 4, + "processor_frequency": 0, + }, + "os": Object { + "kernel_version": "6.17.0-1022-azure", + "name": "Ubuntu Linux", + "version": "24.04", + }, + "response": Object { + "status_code": 200, + }, + "runtime": Object { + "name": "node", + "version": "v24.21.0", + }, + "trace": Object { + "data": Object { + "client.address": "::1", + "client.port": 44432, + "http.request.header.accept": Array [ + "*/*", + ], + "http.request.header.accept-encoding": Array [ + "gzip, deflate", + ], + "http.request.header.accept-language": Array [ + "*", + ], + "http.request.header.connection": Array [ + "keep-alive", + ], + "http.request.header.host": Array [ + "localhost:3030", + ], + "http.request.header.sec-fetch-mode": Array [ + "cors", + ], + "http.request.header.user-agent": Array [ + "node", + ], + "http.request.method": "GET", + "http.response.status_code": 200, + "http.response.status_text": "OK", + "http.route": "/test-interceptor-instrumentation", + "network.local.address": "::1", + "network.local.port": 3030, + "network.peer.address": "::1", + "network.peer.port": 44432, + "network.protocol.name": "http", + "network.protocol.version": "1.1", + "network.transport": "tcp", + "sentry.kind": "server", + "sentry.op": "http.server", + "sentry.origin": "auto.http.http_server", + "sentry.sample_rate": 1, + "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", + "server.address": "localhost", + "server.port": 3030, + "url.full": "http://localhost:3030/test-interceptor-instrumentation", + "url.path": "/test-interceptor-instrumentation", + "url.scheme": "http", + "user_agent.original": "node", + }, + "op": "http.server", + "origin": "auto.http.http_server", + "span_id": "86197bceb1e6d38e", + "status": "ok", + "trace_id": "5b598143472b4f2798dfcf4f94490c9b", + }, + }, + "environment": "qa", + "event_id": "2bad90ef48804dbe9c9612f205359178", + "modules": Object { + "@nestjs/cli": "^11.0.0", + "@nestjs/common": "^11.0.0", + "@nestjs/core": "^11.0.0", + "@nestjs/microservices": "^11.0.0", + "@nestjs/platform-express": "^11.0.0", + "@nestjs/schedule": "^5.0.0", + "@nestjs/schematics": "^11.0.0", + "@nestjs/testing": "^11.0.0", + "@playwright/test": "~1.63.0", + "@se
[chromium] › tests/transactions.test.ts:315:5 › API route transaction includes nest pipe span for invalid request: ../../_temp/test-application/tests/transactions.test.ts#L329
7) [chromium] › tests/transactions.test.ts:315:5 › API route transaction includes nest pipe span for invalid request Error: expect(received).toEqual(expected) // deep equality - Expected - 7 + Received + 335 - ObjectContaining { - "spans": ArrayContaining [ + Object { + "contexts": Object { + "app": Object { + "app_memory": 188645376, + "app_start_time": "2026-10-07T08:07:18.279Z", + "free_memory": 14159904768, + }, + "cloud_resource": Object {}, + "culture": Object { + "locale": "en-US", + "timezone": "UTC", + }, + "device": Object { + "arch": "x64", + "boot_time": "2026-10-07T08:04:22.314Z", + "cpu_description": "AMD EPYC 7763 64-Core Processor", + "free_memory": 14159904768, + "memory_size": 16766410752, + "processor_count": 4, + "processor_frequency": 0, + }, + "os": Object { + "kernel_version": "6.17.0-1022-azure", + "name": "Ubuntu Linux", + "version": "24.04", + }, + "response": Object { + "status_code": 400, + }, + "runtime": Object { + "name": "node", + "version": "v24.21.0", + }, + "trace": Object { + "data": Object { + "client.address": "::1", + "client.port": 44424, + "http.request.header.accept": Array [ + "*/*", + ], + "http.request.header.accept-encoding": Array [ + "gzip, deflate", + ], + "http.request.header.accept-language": Array [ + "*", + ], + "http.request.header.connection": Array [ + "keep-alive", + ], + "http.request.header.host": Array [ + "localhost:3030", + ], + "http.request.header.sec-fetch-mode": Array [ + "cors", + ], + "http.request.header.user-agent": Array [ + "node", + ], + "http.request.method": "GET", + "http.response.status_code": 400, + "http.response.status_text": "BAD REQUEST", + "http.route": "/test-pipe-instrumentation/:id", + "network.local.address": "::1", + "network.local.port": 3030, + "network.peer.address": "::1", + "network.peer.port": 44424, + "network.protocol.name": "http", + "network.protocol.version": "1.1", + "network.transport": "tcp", + "sentry.kind": "server", + "sentry.op": "http.server", + "sentry.origin": "auto.http.http_server", + "sentry.sample_rate": 1, + "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", + "server.address": "localhost", + "server.port": 3030, + "url.full": "http://localhost:3030/test-pipe-instrumentation/abc", + "url.path": "/test-pipe-instrumentation/abc", + "url.scheme": "http", + "user_agent.original": "node", + }, + "op": "http.server", + "origin": "auto.http.http_server", + "span_id": "b9e030c2afa7e76d", + "status": "invalid_argument", + "trace_id": "f921fdfc21ba4ec9bd48d26089ef443b", + }, + }, + "environment": "qa", + "event_id": "cd8bc0296c454a49af2f549039e9f484", + "modules": Object { + "@nestjs/cli": "^11.0.0", + "@nestjs/common": "^11.0.0", + "@nestjs/core": "^11.0.0", + "@nestjs/microservices": "^11.0.0", + "@nestjs/platform-express": "^11.0.0", + "@nestjs/schedule": "^5.0.0", + "@nestjs/schematics": "^11.0.0", + "@nestjs/testing": "^11.0.0", + "@playwright/test": "~1.63.0", + "@sentry-internal/test-utils": "link:/home/runner/work/sentry-
[chromium] › tests/transactions.test.ts:278:5 › API route transaction includes nest pipe span for valid request: ../../_temp/test-application/tests/transactions.test.ts#L292
6) [chromium] › tests/transactions.test.ts:278:5 › API route transaction includes nest pipe span for valid request Error: expect(received).toEqual(expected) // deep equality - Expected - 7 + Received + 339 - ObjectContaining { - "spans": ArrayContaining [ + Object { + "contexts": Object { + "app": Object { + "app_memory": 188645376, + "app_start_time": "2026-10-07T08:07:18.279Z", + "free_memory": 14167990272, + }, + "cloud_resource": Object {}, + "culture": Object { + "locale": "en-US", + "timezone": "UTC", + }, + "device": Object { + "arch": "x64", + "boot_time": "2026-10-07T08:04:22.314Z", + "cpu_description": "AMD EPYC 7763 64-Core Processor", + "free_memory": 14167990272, + "memory_size": 16766410752, + "processor_count": 4, + "processor_frequency": 0, + }, + "os": Object { + "kernel_version": "6.17.0-1022-azure", + "name": "Ubuntu Linux", + "version": "24.04", + }, + "response": Object { + "status_code": 200, + }, + "runtime": Object { + "name": "node", + "version": "v24.21.0", + }, + "trace": Object { + "data": Object { + "client.address": "::1", + "client.port": 44412, + "http.request.header.accept": Array [ + "*/*", + ], + "http.request.header.accept-encoding": Array [ + "gzip, deflate", + ], + "http.request.header.accept-language": Array [ + "*", + ], + "http.request.header.connection": Array [ + "keep-alive", + ], + "http.request.header.host": Array [ + "localhost:3030", + ], + "http.request.header.sec-fetch-mode": Array [ + "cors", + ], + "http.request.header.user-agent": Array [ + "node", + ], + "http.request.method": "GET", + "http.response.status_code": 200, + "http.response.status_text": "OK", + "http.route": "/test-pipe-instrumentation/:id", + "network.local.address": "::1", + "network.local.port": 3030, + "network.peer.address": "::1", + "network.peer.port": 44412, + "network.protocol.name": "http", + "network.protocol.version": "1.1", + "network.transport": "tcp", + "sentry.kind": "server", + "sentry.op": "http.server", + "sentry.origin": "auto.http.http_server", + "sentry.sample_rate": 1, + "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", + "server.address": "localhost", + "server.port": 3030, + "url.full": "http://localhost:3030/test-pipe-instrumentation/123", + "url.path": "/test-pipe-instrumentation/123", + "url.scheme": "http", + "user_agent.original": "node", + }, + "op": "http.server", + "origin": "auto.http.http_server", + "span_id": "8dc3323a69711acf", + "status": "ok", + "trace_id": "ab8797e02e0240ae9969688042f8a0df", + }, + }, + "environment": "qa", + "event_id": "a4759b270f79409d9170907a7fe71440", + "modules": Object { + "@nestjs/cli": "^11.0.0", + "@nestjs/common": "^11.0.0", + "@nestjs/core": "^11.0.0", + "@nestjs/microservices": "^11.0.0", + "@nestjs/platform-express": "^11.0.0", + "@nestjs/schedule": "^5.0.0", + "@nestjs/schematics": "^11.0.0", + "@nestjs/testing": "^11.0.0", + "@playwright/test": "~1.63.0", + "@sentry-internal/test-utils": "link:/home/runner/work/sentry-javascript/sentry-javascr
[chromium] › tests/transactions.test.ts:213:5 › API route transaction includes nest guard span and span started in guard is nested correctly: ../../_temp/test-application/tests/transactions.test.ts#L228
5) [chromium] › tests/transactions.test.ts:213:5 › API route transaction includes nest guard span and span started in guard is nested correctly Error: expect(received).toEqual(expected) // deep equality - Expected - 7 + Received + 353 - ObjectContaining { - "spans": ArrayContaining [ + Object { + "contexts": Object { + "app": Object { + "app_memory": 188383232, + "app_start_time": "2026-10-07T08:07:18.279Z", + "free_memory": 14232092672, + }, + "cloud_resource": Object {}, + "culture": Object { + "locale": "en-US", + "timezone": "UTC", + }, + "device": Object { + "arch": "x64", + "boot_time": "2026-10-07T08:04:22.314Z", + "cpu_description": "AMD EPYC 7763 64-Core Processor", + "free_memory": 14232092672, + "memory_size": 16766410752, + "processor_count": 4, + "processor_frequency": 0, + }, + "os": Object { + "kernel_version": "6.17.0-1022-azure", + "name": "Ubuntu Linux", + "version": "24.04", + }, + "response": Object { + "status_code": 200, + }, + "runtime": Object { + "name": "node", + "version": "v24.21.0", + }, + "trace": Object { + "data": Object { + "client.address": "::1", + "client.port": 44398, + "http.request.header.accept": Array [ + "*/*", + ], + "http.request.header.accept-encoding": Array [ + "gzip, deflate", + ], + "http.request.header.accept-language": Array [ + "*", + ], + "http.request.header.connection": Array [ + "keep-alive", + ], + "http.request.header.host": Array [ + "localhost:3030", + ], + "http.request.header.sec-fetch-mode": Array [ + "cors", + ], + "http.request.header.user-agent": Array [ + "node", + ], + "http.request.method": "GET", + "http.response.status_code": 200, + "http.response.status_text": "OK", + "http.route": "/test-guard-instrumentation", + "network.local.address": "::1", + "network.local.port": 3030, + "network.peer.address": "::1", + "network.peer.port": 44398, + "network.protocol.name": "http", + "network.protocol.version": "1.1", + "network.transport": "tcp", + "sentry.kind": "server", + "sentry.op": "http.server", + "sentry.origin": "auto.http.http_server", + "sentry.sample_rate": 1, + "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", + "server.address": "localhost", + "server.port": 3030, + "url.full": "http://localhost:3030/test-guard-instrumentation", + "url.path": "/test-guard-instrumentation", + "url.scheme": "http", + "user_agent.original": "node", + }, + "op": "http.server", + "origin": "auto.http.http_server", + "span_id": "a06f32ec77ea7cf8", + "status": "ok", + "trace_id": "7b08a4ac89704f8b8ffdf22fa03c2047", + }, + }, + "environment": "qa", + "event_id": "6312e921933e4e1d9d34638d35bd569b", + "modules": Object { + "@nestjs/cli": "^11.0.0", + "@nestjs/common": "^11.0.0", + "@nestjs/core": "^11.0.0", + "@nestjs/microservices": "^11.0.0", + "@nestjs/platform-express": "^11.0.0", + "@nestjs/schedule": "^5.0.0", + "@nestjs/schematics": "^11.0.0", + "@nestjs/testing": "^11.0.0", + "@playwright/test": "~1.63.0", + "@sentry-internal/test-utils": "link:/home/runner/work/sentry-javas
[chromium] › tests/transactions.test.ts:133:5 › API route transaction includes nest middleware span. Spans created in and after middleware are nested correctly: ../../_temp/test-application/tests/transactions.test.ts#L148
4) [chromium] › tests/transactions.test.ts:133:5 › API route transaction includes nest middleware span. Spans created in and after middleware are nested correctly Error: expect(received).toEqual(expected) // deep equality - Expected - 7 + Received + 386 - ObjectContaining { - "spans": ArrayContaining [ + Object { + "contexts": Object { + "app": Object { + "app_memory": 183664640, + "app_start_time": "2026-10-07T08:07:18.279Z", + "free_memory": 14286028800, + }, + "cloud_resource": Object {}, + "culture": Object { + "locale": "en-US", + "timezone": "UTC", + }, + "device": Object { + "arch": "x64", + "boot_time": "2026-10-07T08:04:22.314Z", + "cpu_description": "AMD EPYC 7763 64-Core Processor", + "free_memory": 14286028800, + "memory_size": 16766410752, + "processor_count": 4, + "processor_frequency": 0, + }, + "os": Object { + "kernel_version": "6.17.0-1022-azure", + "name": "Ubuntu Linux", + "version": "24.04", + }, + "response": Object { + "status_code": 200, + }, + "runtime": Object { + "name": "node", + "version": "v24.21.0", + }, + "trace": Object { + "data": Object { + "client.address": "::1", + "client.port": 44390, + "http.request.header.accept": Array [ + "*/*", + ], + "http.request.header.accept-encoding": Array [ + "gzip, deflate", + ], + "http.request.header.accept-language": Array [ + "*", + ], + "http.request.header.connection": Array [ + "keep-alive", + ], + "http.request.header.host": Array [ + "localhost:3030", + ], + "http.request.header.sec-fetch-mode": Array [ + "cors", + ], + "http.request.header.user-agent": Array [ + "node", + ], + "http.request.method": "GET", + "http.response.status_code": 200, + "http.response.status_text": "OK", + "http.route": "/test-middleware-instrumentation", + "network.local.address": "::1", + "network.local.port": 3030, + "network.peer.address": "::1", + "network.peer.port": 44390, + "network.protocol.name": "http", + "network.protocol.version": "1.1", + "network.transport": "tcp", + "sentry.kind": "server", + "sentry.op": "http.server", + "sentry.origin": "auto.http.http_server", + "sentry.sample_rate": 1, + "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", + "server.address": "localhost", + "server.port": 3030, + "url.full": "http://localhost:3030/test-middleware-instrumentation", + "url.path": "/test-middleware-instrumentation", + "url.scheme": "http", + "user_agent.original": "node", + }, + "op": "http.server", + "origin": "auto.http.http_server", + "span_id": "b9f05d3e08930b88", + "status": "ok", + "trace_id": "285fcd15845146de8361700e55dda960", + }, + }, + "environment": "qa", + "event_id": "ff7afa963f1a4a2ba6fa21db88685ced", + "modules": Object { + "@nestjs/cli": "^11.0.0", + "@nestjs/common": "^11.0.0", + "@nestjs/core": "^11.0.0", + "@nestjs/microservices": "^11.0.0", + "@nestjs/platform-express": "^11.0.0", + "@nestjs/schedule": "^5.0.0", + "@nestjs/schematics": "^11.0.0", + "@nestjs/testing": "^11.0.0", + "@playwright/test": "~1.63.0", + "@sentry-internal/test-utils": "l
[chromium] › tests/transactions.test.ts:4:5 › Sends an API route transaction: ../../_temp/test-application/tests/transactions.test.ts#L16
3) [chromium] › tests/transactions.test.ts:4:5 › Sends an API route transaction ────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -37,10 +37,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 3030, "url.full": "http://localhost:3030/test-transaction", "url.path": "/test-transaction", "url.scheme": "http", 14 | const transactionEvent = await pageloadTransactionEventPromise; 15 | > 16 | expect(transactionEvent.contexts?.trace).toEqual({ | ^ 17 | data: { 18 | 'sentry.segment.name.source': 'route', 19 | 'sentry.origin': 'auto.http.http_server', at /home/runner/work/_temp/test-application/tests/transactions.test.ts:16:44
[chromium] › tests/span-decorator.test.ts:40:5 › Transaction includes span and correct value for decorated sync function: ../../_temp/test-application/tests/span-decorator.test.ts#L55
2) [chromium] › tests/span-decorator.test.ts:40:5 › Transaction includes span and correct value for decorated sync function Error: expect(received).toEqual(expected) // deep equality Expected: ArrayContaining [ObjectContaining {"data": {"code.function.name": "getString", "sentry.op": "return a string", "sentry.origin": "auto.function.nestjs.sentry_traced"}, "description": "getString", "op": "return a string", "origin": "auto.function.nestjs.sentry_traced", "parent_span_id": StringMatching /[a-f0-9]{16}/, "span_id": StringMatching /[a-f0-9]{16}/, "start_timestamp": Any<Number>, "status": "ok", "trace_id": StringMatching /[a-f0-9]{32}/}] Received: [{"data": {"express.name": "<anonymous>", "express.type": "middleware", "sentry.op": "middleware", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "<anonymous>", "op": "middleware", "origin": "auto.http.express", "parent_span_id": "89d4120b408ea8bf", "span_id": "ab4d665956ce35c8", "start_timestamp": 1791360451.29186, "status": "ok", "timestamp": 1791360451.2919238, "trace_id": "f08af6d1ca374e3b97392a6b8cbad99d"}, {"data": {"express.name": "jsonParser", "express.type": "middleware", "sentry.op": "middleware", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "jsonParser", "op": "middleware", "origin": "auto.http.express", "parent_span_id": "89d4120b408ea8bf", "span_id": "9f637f7667dd055e", "start_timestamp": 1791360451.2919636, "status": "ok", "timestamp": 1791360451.2920125, "trace_id": "f08af6d1ca374e3b97392a6b8cbad99d"}, {"data": {"express.name": "urlencodedParser", "express.type": "middleware", "sentry.op": "middleware", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "urlencodedParser", "op": "middleware", "origin": "auto.http.express", "parent_span_id": "89d4120b408ea8bf", "span_id": "89981a9012139d00", "start_timestamp": 1791360451.2920475, "status": "ok", "timestamp": 1791360451.2920866, "trace_id": "f08af6d1ca374e3b97392a6b8cbad99d"}, {"data": {"express.name": "/test-span-decorator-sync", "express.type": "request_handler", "http.route": "/test-span-decorator-sync", "sentry.op": "handler", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "/test-span-decorator-sync", "op": "handler", "origin": "auto.http.express", "parent_span_id": "89d4120b408ea8bf", "span_id": "a2ad074802df3bcc", "start_timestamp": 1791360451.2921495, "status": "ok", "timestamp": 1791360451.2931747, "trace_id": "f08af6d1ca374e3b97392a6b8cbad99d"}, {"data": {"code.function.name": "AppController.testSpanDecoratorSync", "component": "@nestjs/core", "http.request.method": "GET", "http.route": "/test-span-decorator-sync", "nestjs.callback": "testSpanDecoratorSync", "nestjs.controller": "AppController", "nestjs.type": "request_context", "nestjs.version": "11.2.7", "sentry.op": "function", "sentry.origin": "auto.http.nestjs", "sentry.trace_lifecycle": "static", "url.full": "/test-span-decorator-sync"}, "description": "AppController.testSpanDecoratorSync", "op": "function", "origin": "auto.http.nestjs", "parent_span_id": "a2ad074802df3bcc", "span_id": "a3d57d930601aea4", "start_timestamp": 1791360451.292261, "status": "ok", "timestamp": 1791360451.2930734, "trace_id": "f08af6d1ca374e3b97392a6b8cbad99d"}, {"data": {"component": "@nestjs/core", "nestjs.callback": "testSpanDecoratorSync", "nestjs.type": "handler", "nestjs.version": "11.2.7", "sentry.op": "handler", "sentry.origin": "auto.http.nestjs", "sentry.trace_lifecycle": "static"}, "description": "testSpanDecoratorSync", "op": "handler", "origin": "auto.http.nestjs", "parent_span_id": "a3d57d930601aea4", "span_id": "b67edb7cb7bf47b9", "start_timestamp": 1791360451.2925158, "status": "ok", "timestamp": 1791360451.2927332, "trace_id": "f08af6d1ca374e3b97392a6b8cbad99d"}, {"data": {"code.function.name": "getString", "sentry.op": "return a string", "sentry.origin": "auto.function.nestjs.sentry_traced", "sentry.trace_lifecycle": "static"}, "description": "getString", "op": "return a
[chromium] › tests/span-decorator.test.ts:4:5 › Transaction includes span and correct value for decorated async function: ../../_temp/test-application/tests/span-decorator.test.ts#L19
1) [chromium] › tests/span-decorator.test.ts:4:5 › Transaction includes span and correct value for decorated async function Error: expect(received).toEqual(expected) // deep equality Expected: ArrayContaining [ObjectContaining {"data": {"code.function.name": "wait", "sentry.op": "wait and return a string", "sentry.origin": "auto.function.nestjs.sentry_traced"}, "description": "wait", "op": "wait and return a string", "origin": "auto.function.nestjs.sentry_traced", "parent_span_id": StringMatching /[a-f0-9]{16}/, "span_id": StringMatching /[a-f0-9]{16}/, "start_timestamp": Any<Number>, "status": "ok", "trace_id": StringMatching /[a-f0-9]{32}/}] Received: [{"data": {"express.name": "<anonymous>", "express.type": "middleware", "sentry.op": "middleware", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "<anonymous>", "op": "middleware", "origin": "auto.http.express", "parent_span_id": "9ccfb18f34f7a622", "span_id": "ab934fb249a4cfa5", "start_timestamp": 1791360450.2257118, "status": "ok", "timestamp": 1791360450.2257848, "trace_id": "8de80b0145074db1a6c3bdde05e6b9d7"}, {"data": {"express.name": "jsonParser", "express.type": "middleware", "sentry.op": "middleware", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "jsonParser", "op": "middleware", "origin": "auto.http.express", "parent_span_id": "9ccfb18f34f7a622", "span_id": "9e47eda2d80d052a", "start_timestamp": 1791360450.2258232, "status": "ok", "timestamp": 1791360450.2258775, "trace_id": "8de80b0145074db1a6c3bdde05e6b9d7"}, {"data": {"express.name": "urlencodedParser", "express.type": "middleware", "sentry.op": "middleware", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "urlencodedParser", "op": "middleware", "origin": "auto.http.express", "parent_span_id": "9ccfb18f34f7a622", "span_id": "8ffc94506334bd33", "start_timestamp": 1791360450.2259061, "status": "ok", "timestamp": 1791360450.225948, "trace_id": "8de80b0145074db1a6c3bdde05e6b9d7"}, {"data": {"express.name": "/test-span-decorator-async", "express.type": "request_handler", "http.route": "/test-span-decorator-async", "sentry.op": "handler", "sentry.origin": "auto.http.express", "sentry.trace_lifecycle": "static"}, "description": "/test-span-decorator-async", "op": "handler", "origin": "auto.http.express", "parent_span_id": "9ccfb18f34f7a622", "span_id": "b5025f8ca5660819", "start_timestamp": 1791360450.226009, "status": "ok", "timestamp": 1791360450.7281232, "trace_id": "8de80b0145074db1a6c3bdde05e6b9d7"}, {"data": {"code.function.name": "AppController.testSpanDecoratorAsync", "component": "@nestjs/core", "http.request.method": "GET", "http.route": "/test-span-decorator-async", "nestjs.callback": "testSpanDecoratorAsync", "nestjs.controller": "AppController", "nestjs.type": "request_context", "nestjs.version": "11.2.7", "sentry.op": "function", "sentry.origin": "auto.http.nestjs", "sentry.trace_lifecycle": "static", "url.full": "/test-span-decorator-async"}, "description": "AppController.testSpanDecoratorAsync", "op": "function", "origin": "auto.http.nestjs", "parent_span_id": "b5025f8ca5660819", "span_id": "8bb3fffc822b78a5", "start_timestamp": 1791360450.2261143, "status": "ok", "timestamp": 1791360450.7280068, "trace_id": "8de80b0145074db1a6c3bdde05e6b9d7"}, {"data": {"component": "@nestjs/core", "nestjs.callback": "testSpanDecoratorAsync", "nestjs.type": "handler", "nestjs.version": "11.2.7", "sentry.op": "handler", "sentry.origin": "auto.http.nestjs", "sentry.trace_lifecycle": "static"}, "description": "testSpanDecoratorAsync", "op": "handler", "origin": "auto.http.nestjs", "parent_span_id": "8bb3fffc822b78a5", "span_id": "9cf1be77c3c09ced", "start_timestamp": 1791360450.2264512, "status": "ok", "timestamp": 1791360450.7275498, "trace_id": "8de80b0145074db1a6c3bdde05e6b9d7"}, {"data": {"code.function.name": "wait", "sentry.op": "wait and return a string", "sentry.origin": "auto.function.nestjs.sentry_traced", "sentry.trace_lifecycle": "static"}, "description": "wait"
E2E svelte-5-static Test
Process completed with exit code 1.
[chromium] › tests/performance.test.ts:4:1 › sends a pageload transaction with component tracking init spans: ../../_temp/test-application/tests/performance.test.ts#L26
1) [chromium] › tests/performance.test.ts:4:1 › sends a pageload transaction with component tracking init spans Error: expect(received).toEqual(expected) // deep equality Expected: ArrayContaining [ObjectContaining {"data": {"sentry.op": "ui.mount", "sentry.origin": "auto.ui.svelte", "ui.component_name": "App"}, "description": "<App>", "op": "ui.mount"}, ObjectContaining {"data": {"sentry.op": "ui.mount", "sentry.origin": "auto.ui.svelte", "ui.component_name": "Counter"}, "description": "<Counter>", "op": "ui.mount"}] Received: [{"data": {"sentry.op": "ui.mount", "sentry.origin": "auto.ui.svelte", "sentry.trace_lifecycle": "static", "ui.component_name": "App"}, "description": "<App>", "op": "ui.mount", "origin": "auto.ui.svelte", "parent_span_id": "b6dec75a95413241", "span_id": "8c8b1b58146a1d0e", "start_timestamp": 1791360465.6376998, "status": "ok", "timestamp": 1791360465.6415, "trace_id": "59c8fc34742f4d5692080ffed17a8da8"}, {"data": {"sentry.op": "ui.mount", "sentry.origin": "auto.ui.svelte", "sentry.trace_lifecycle": "static", "ui.component_name": "Counter"}, "description": "<Counter>", "op": "ui.mount", "origin": "auto.ui.svelte", "parent_span_id": "b6dec75a95413241", "span_id": "8e67e6dc7a786ba2", "start_timestamp": 1791360465.6385, "status": "ok", "timestamp": 1791360465.6413, "trace_id": "59c8fc34742f4d5692080ffed17a8da8"}, {"data": {"sentry.op": "browser.dom_content_loaded_event", "sentry.origin": "auto.ui.browser.metrics", "sentry.trace_lifecycle": "static", "url.full": "http://localhost:3030/"}, "description": "http://localhost:3030/", "op": "browser.dom_content_loaded_event", "origin": "auto.ui.browser.metrics", "parent_span_id": "b6dec75a95413241", "span_id": "acaa63e294c49deb", "start_timestamp": 1791360465.6430998, "status": "ok", "timestamp": 1791360465.6430998, "trace_id": "59c8fc34742f4d5692080ffed17a8da8"}, {"data": {"sentry.op": "browser.load_event", "sentry.origin": "auto.ui.browser.metrics", "sentry.trace_lifecycle": "static", "url.full": "http://localhost:3030/"}, "description": "http://localhost:3030/", "op": "browser.load_event", "origin": "auto.ui.browser.metrics", "parent_span_id": "b6dec75a95413241", "span_id": "af60359bb7f9e817", "start_timestamp": 1791360465.665, "status": "ok", "timestamp": 1791360465.665, "trace_id": "59c8fc34742f4d5692080ffed17a8da8"}, {"data": {"sentry.op": "browser.connect", "sentry.origin": "auto.ui.browser.metrics", "sentry.trace_lifecycle": "static", "url.full": "http://localhost:3030/"}, "description": "http://localhost:3030/", "op": "browser.connect", "origin": "auto.ui.browser.metrics", "parent_span_id": "b6dec75a95413241", "span_id": "b7cd2a3b397bea6a", "start_timestamp": 1791360465.5825999, "status": "ok", "timestamp": 1791360465.5826998, "trace_id": "59c8fc34742f4d5692080ffed17a8da8"}, {"data": {"sentry.op": "browser.cache", "sentry.origin": "auto.ui.browser.metrics", "sentry.trace_lifecycle": "static", "url.full": "http://localhost:3030/"}, "description": "http://localhost:3030/", "op": "browser.cache", "origin": "auto.ui.browser.metrics", "parent_span_id": "b6dec75a95413241", "span_id": "88603120db57bd98", "start_timestamp": 1791360465.5817997, "status": "ok", "timestamp": 1791360465.5825999, "trace_id": "59c8fc34742f4d5692080ffed17a8da8"}, {"data": {"sentry.op": "browser.dns", "sentry.origin": "auto.ui.browser.metrics", "sentry.trace_lifecycle": "static", "url.full": "http://localhost:3030/"}, "description": "http://localhost:3030/", "op": "browser.dns", "origin": "auto.ui.browser.metrics", "parent_span_id": "b6dec75a95413241", "span_id": "9b9421a383ef9d36", "start_timestamp": 1791360465.5825999, "status": "ok", "timestamp": 1791360465.5825999, "trace_id": "59c8fc34742f4d5692080ffed17a8da8"}, {"data": {"sentry.op": "browser.request", "sentry.origin": "auto.ui.browser.metrics", "sentry.trace_lifecycle": "static", "url.full": "http://localhost:3030/"}, "description": "http://localhost:3030/", "op": "browser.request", "origin": "auto.ui.browser.metrics", "parent_span_id": "b6dec75a95413241", "span_id": "b0a41c41fe552ebb", "start_timestamp"
E2E angular-19 Test
Process completed with exit code 1.
[chromium] › tests/performance.test.ts:359:7 › TraceMethod Decorator › adds fallback name to span description of decorated method `ngAfterViewInit`: ../../_temp/test-application/tests/performance.test.ts#L374
4) [chromium] › tests/performance.test.ts:359:7 › TraceMethod Decorator › adds fallback name to span description of decorated method `ngAfterViewInit` Error: expect(received).toEqual(expected) // deep equality - Expected - 3 + Received + 8 - ObjectContaining { + Object { "data": Object { "code.function.name": "ngAfterViewInit", "sentry.op": "function", "sentry.origin": "auto.ui.angular.trace_method_decorator", + "sentry.trace_lifecycle": "static", }, "description": "<unnamed>", "op": "function", "origin": "auto.ui.angular.trace_method_decorator", - "start_timestamp": Any<Number>, - "timestamp": Any<Number>, + "parent_span_id": "a9efaf6b1eef47b4", + "span_id": "8ed37e303102f055", + "start_timestamp": 1791360465.9505, + "status": "ok", + "timestamp": 1791360465.9505, + "trace_id": "c4e7d94f727b4522882b60af75ba9596", } 372 | 373 | expect(ngAfterViewInitSpan).toBeDefined(); > 374 | expect(ngAfterViewInitSpan).toEqual( | ^ 375 | expect.objectContaining({ 376 | data: { 377 | [SENTRY_OP]: 'function', at /home/runner/work/_temp/test-application/tests/performance.test.ts:374:33
[chromium] › tests/performance.test.ts:328:7 › TraceMethod Decorator › adds name to span description of decorated method `ngOnInit`: ../../_temp/test-application/tests/performance.test.ts#L343
3) [chromium] › tests/performance.test.ts:328:7 › TraceMethod Decorator › adds name to span description of decorated method `ngOnInit` Error: expect(received).toEqual(expected) // deep equality - Expected - 3 + Received + 8 - ObjectContaining { + Object { "data": Object { "code.function.name": "ngOnInit", "sentry.op": "function", "sentry.origin": "auto.ui.angular.trace_method_decorator", + "sentry.trace_lifecycle": "static", }, "description": "<ngOnInit>", "op": "function", "origin": "auto.ui.angular.trace_method_decorator", - "start_timestamp": Any<Number>, - "timestamp": Any<Number>, + "parent_span_id": "b599a262754087a2", + "span_id": "9f6c12568fd11437", + "start_timestamp": 1791360464.3177, + "status": "ok", + "timestamp": 1791360464.3177, + "trace_id": "3db23b01f22d414fae7e9c0d946da4c0", } 341 | 342 | expect(ngInitSpan).toBeDefined(); > 343 | expect(ngInitSpan).toEqual( | ^ 344 | expect.objectContaining({ 345 | data: { 346 | [SENTRY_OP]: 'function', at /home/runner/work/_temp/test-application/tests/performance.test.ts:343:24
[chromium] › tests/performance.test.ts:295:7 › TraceClass Decorator › adds init span for decorated class: ../../_temp/test-application/tests/performance.test.ts#L310
2) [chromium] › tests/performance.test.ts:295:7 › TraceClass Decorator › adds init span for decorated class Error: expect(received).toEqual(expected) // deep equality - Expected - 3 + Received + 8 - ObjectContaining { + Object { "data": Object { "sentry.op": "ui.mount", "sentry.origin": "auto.ui.angular.trace_class_decorator", + "sentry.trace_lifecycle": "static", "ui.component_name": "ComponentTrackingComponent", }, "description": "<ComponentTrackingComponent>", "op": "ui.mount", "origin": "auto.ui.angular.trace_class_decorator", - "start_timestamp": Any<Number>, - "timestamp": Any<Number>, + "parent_span_id": "8177b13e9adbfbb3", + "span_id": "b3da3d508f4f9886", + "start_timestamp": 1791360461.7992, + "status": "ok", + "timestamp": 1791360461.8005, + "trace_id": "661fd2e4b5704d7b93c947dd50f3281c", } 308 | 309 | expect(classDecoratorSpan).toBeDefined(); > 310 | expect(classDecoratorSpan).toEqual( | ^ 311 | expect.objectContaining({ 312 | data: { 313 | [SENTRY_OP]: 'ui.mount', at /home/runner/work/_temp/test-application/tests/performance.test.ts:310:32
[chromium] › tests/performance.test.ts:248:7 › TraceDirective › creates a child span with the component name as span name on ngOnInit: ../../_temp/test-application/tests/performance.test.ts#L263
1) [chromium] › tests/performance.test.ts:248:7 › TraceDirective › creates a child span with the component name as span name on ngOnInit Error: expect(received).toEqual(expected) // deep equality Expected: ArrayContaining [ObjectContaining {"data": {"sentry.op": "ui.mount", "sentry.origin": "auto.ui.angular.trace_directive", "ui.component_name": "sample-component"}, "description": "<sample-component>", "op": "ui.mount", "origin": "auto.ui.angular.trace_directive", "start_timestamp": Any<Number>, "timestamp": Any<Number>}, ObjectContaining {"data": {"sentry.op": "ui.mount", "sentry.origin": "auto.ui.angular.trace_directive", "ui.component_name": "app-sample-component"}, "description": "<app-sample-component>", "op": "ui.mount", "origin": "auto.ui.angular.trace_directive", "start_timestamp": Any<Number>, "timestamp": Any<Number>}] Received: [{"data": {"sentry.op": "ui.mount", "sentry.origin": "auto.ui.angular.trace_directive", "sentry.trace_lifecycle": "static", "ui.component_name": "sample-component"}, "description": "<sample-component>", "op": "ui.mount", "origin": "auto.ui.angular.trace_directive", "parent_span_id": "9764b799142c36fb", "span_id": "b22ae49f59842d63", "start_timestamp": 1791360460.2005, "status": "ok", "timestamp": 1791360460.2007, "trace_id": "ecaf4448dbcf4e5384dfa8b460cbf705"}, {"data": {"sentry.op": "ui.mount", "sentry.origin": "auto.ui.angular.trace_directive", "sentry.trace_lifecycle": "static", "ui.component_name": "app-sample-component"}, "description": "<app-sample-component>", "op": "ui.mount", "origin": "auto.ui.angular.trace_directive", "parent_span_id": "9764b799142c36fb", "span_id": "a7757b06d97f97d7", "start_timestamp": 1791360460.2006001, "status": "ok", "timestamp": 1791360460.2007, "trace_id": "ecaf4448dbcf4e5384dfa8b460cbf705"}] 261 | 262 | expect(traceDirectiveSpans).toHaveLength(2); > 263 | expect(traceDirectiveSpans).toEqual( | ^ 264 | expect.arrayContaining([ 265 | expect.objectContaining({ 266 | data: { at /home/runner/work/_temp/test-application/tests/performance.test.ts:263:33
test/integration/transactions.test.ts > Integration | Transactions > correctly creates concurrent transaction & spans: packages/node/test/integration/transactions.test.ts#L222
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…}, …(1) ] Received: 1st vi.fn() call: @@ -1,7 +1,7 @@ [ - ObjectContaining { + { "breadcrumbs": [ { "message": "test breadcrumb 1", "timestamp": 123456, }, @@ -12,40 +12,293 @@ { "message": "test breadcrumb 3", "timestamp": 123456, }, ], - "contexts": ObjectContaining { + "contexts": { + "runtime": { + "name": "node", + "version": "v26.10.0", + }, "trace": { "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.sample_rate": 1, "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", "test.outer": "test value", }, + "links": undefined, "op": "test op", "origin": "auto.test", - "span_id": StringMatching /[a-f0-9]{16}/, + "parent_span_id": undefined, + "span_id": "9136181228b1cc61", "status": "ok", - "trace_id": StringMatching /[a-f0-9]{32}/, + "trace_id": "ab095a0ba7c946f58d0fcf3c5af2df06", + }, + }, + "environment": "production", + "event_id": "77271a0ebe6e45da9883b2daf733e4f3", + "platform": "node", + "release": "2cb08bddea8bdc80303c26389f0464f3123f2b39", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [ + { + "message": "test breadcrumb 1", + "timestamp": 123456, + }, + { + "message": "test breadcrumb 2", + "timestamp": 123456, + }, + { + "message": "test breadcrumb 3", + "timestamp": 123456, + }, + ], + "_client": undefined, + "_contexts": {}, + "_conversationId": undefined, + "_eventProcessors": [], + "_extra": {}, + "_fingerprint": undefined, + "_lastEventId": undefined, + "_level": undefined, + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.5414402451300087, + "traceId": "08aab862f0914ce786d5b1b3e37e350d", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_session": undefined, + "_tags": { + "test.tag": "test value", + }, + "_transactionName": undefined, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": NodeClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_disposeCallbacks": [], + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], +
test/integration/transactions.test.ts > Integration | Transactions > correctly creates transaction & spans: packages/node/test/integration/transactions.test.ts#L76
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(5) }, op: 'test op', …(4) } - Expected + Received @@ -2,13 +2,16 @@ "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.sample_rate": 1, "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", "test.outer": "test value", }, + "links": undefined, "op": "test op", "origin": "auto.test", + "parent_span_id": undefined, "span_id": "bc7ac80a7e5b4de0", "status": "ok", "trace_id": "47987d5d59864522b9e7880717b9b145", } ❯ test/integration/transactions.test.ts:76:41
test/integration/scope.test.ts > Integration | Scope > with tracing > correctly syncs OTEL context & Sentry hub/scope: packages/node/test/integration/scope.test.ts#L103
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…}, …(1) ] Received: 1st vi.fn() call: [ - ObjectContaining { - "contexts": ObjectContaining { + { + "breadcrumbs": undefined, + "contexts": { + "runtime": { + "name": "node", + "version": "v26.10.0", + }, "trace": { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "9ec406c3b7b44f42", "status": "ok", "trace_id": "2055a05335ce4dad928a5536591de887", }, }, + "environment": "production", + "event_id": "ac3ca3ed869b4364afad39b71c24a9c0", + "platform": "node", + "release": "2cb08bddea8bdc80303c26389f0464f3123f2b39", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_contexts": {}, + "_eventProcessors": [], + "_extra": {}, + "_lastEventId": "db3c67598cab4c4681f236c71375908f", + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.6335049962278396, + "traceId": "490e191cc27f4fa68a0958c0b6c170a4", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_tags": { + "tag4": "val4", + }, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": NodeClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_disposeCallbacks": [], + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], + }, + "afterCaptureMetric": Set { + [Function uniqueCallback], + }, + "beforeCaptureLog": Set { + [Function uniqueCallback], + }, + "flush": Set { + [Function uniqueCallback], + [Function uniqueCallback], + [Function uniqueCallback], + }, + "flushLogs": Set { + [Function uniqueCallback], + }, + "flushMetrics": Set { + [Function uniqueCallback], + }, + "prepareSpanScope": Set { + [Function uniqueCallback], + }, + "processMetric": Set { + [Function uniqueCallback], + }, + }, + "_integrations": {}, + "_logOnExitFlushListener": [Function anonymous], + "_metricsOnExitFlushListener": [Function anonymous],
test/integration/transactions.test.ts > Integration | Transactions > correctly creates transaction & spans with a trace header data: packages/opentelemetry/test/integration/transactions.test.ts#L335
AssertionError: expected last "vi.fn()" call to have been called with [ ObjectContaining{…}, …(1) ] - Expected + Received @@ -1,21 +1,167 @@ [ { + "breadcrumbs": undefined, "contexts": { "trace": { "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", }, + "links": undefined, "op": "test op", "origin": "auto.test", "parent_span_id": "6e0c63257de34c92", "span_id": "b327b97dd74ac3e4", "status": "ok", + "trace_id": "d4cda95b652f4a1592b449d5929fda1b", + }, + }, + "environment": "production", + "event_id": "b97b120a2a0746bf94f117f4ae6b9ae9", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_contexts": {}, + "_eventProcessors": [], + "_extra": {}, + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.5314455646075933, + "traceId": "92120eaa7cd34d4db89a07361fa59546", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_tags": {}, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": TestClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], + }, + "afterCaptureMetric": Set { + [Function uniqueCallback], + }, + "flush": Set { + [Function uniqueCallback], + [Function uniqueCallback], + }, + "flushLogs": Set { + [Function uniqueCallback], + }, + "flushMetrics": Set { + [Function uniqueCallback], + }, + "prepareSpanScope": Set { + [Function uniqueCallback], + }, + }, + "_integrations": {}, + "_numProcessing": 0, + "_options": { + "attachStacktrace": true, + "beforeSendTransaction": [Function Mock], + "dsn": "https://username@domain/123", + "integrations": [], + "stackParser": [Function stackParser], + "traceLifecycle": "static", + "tracesSampleRate": 1, + "transport": [Function transport], + }, + "_outcomes": {}, + "_promiseBuffer": { + "$": [], + "add": [Function add], + "drain": [Function drain], + }, + "_transport": { + "flush": [Function flush], + "send": [Functio
test/integration/transactions.test.ts > Integration | Transactions > correctly creates concurrent transaction & spans: packages/opentelemetry/test/integration/transactions.test.ts#L217
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…}, …(1) ] Received: 1st vi.fn() call: @@ -1,7 +1,7 @@ [ - ObjectContaining { + { "breadcrumbs": [ { "message": "test breadcrumb 1", "timestamp": 123456, }, @@ -12,40 +12,243 @@ { "message": "test breadcrumb 3", "timestamp": 123456, }, ], - "contexts": ObjectContaining { + "contexts": { "trace": { "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.sample_rate": 1, "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", "test.outer": "test value", }, + "links": undefined, "op": "test op", "origin": "auto.test", - "span_id": StringMatching /[a-f0-9]{16}/, + "parent_span_id": undefined, + "span_id": "aabb67c635192ee5", "status": "ok", - "trace_id": StringMatching /[a-f0-9]{32}/, + "trace_id": "7e373739d1bd49cdaf4494a1da24d4bf", + }, + }, + "environment": "production", + "event_id": "8012ab9a745344e883390631207380e8", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [ + { + "message": "test breadcrumb 1", + "timestamp": 123456, + }, + { + "message": "test breadcrumb 2", + "timestamp": 123456, + }, + { + "message": "test breadcrumb 3", + "timestamp": 123456, + }, + ], + "_client": undefined, + "_contexts": {}, + "_conversationId": undefined, + "_eventProcessors": [], + "_extra": {}, + "_fingerprint": undefined, + "_lastEventId": undefined, + "_level": undefined, + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.4654693515691889, + "traceId": "7100e10474d7460896c72a97c9b0b2c8", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_session": undefined, + "_tags": { + "test.tag": "test value", + }, + "_transactionName": undefined, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": TestClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], + }, + "afterCaptureMetric": Set { + [Function uniqueCallback], + }, + "flush": Set { + [Function uniqueCallback], + [Function u
test/integration/transactions.test.ts > Integration | Transactions > correctly creates transaction & spans: packages/opentelemetry/test/integration/transactions.test.ts#L76
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(5) }, op: 'test op', …(4) } - Expected + Received @@ -2,13 +2,16 @@ "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.sample_rate": 1, "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", "test.outer": "test value", }, + "links": undefined, "op": "test op", "origin": "auto.test", + "parent_span_id": undefined, "span_id": "b7044ac9b682b08b", "status": "ok", "trace_id": "13fa4e0138584c3c8d17734da1964fb3", } ❯ test/integration/transactions.test.ts:76:41
test/integration/scope.test.ts > Integration | Scope > with tracing > correctly syncs OTEL context & Sentry hub/scope: packages/opentelemetry/test/integration/scope.test.ts#L104
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…}, …(1) ] Received: 1st vi.fn() call: [ - ObjectContaining { - "contexts": ObjectContaining { + { + "breadcrumbs": undefined, + "contexts": { "trace": { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "ad77650b85a4fde6", "status": "ok", + "trace_id": "2b192ee45d4041998ff07201ebe7ad16", + }, + }, + "environment": "production", + "event_id": "4fd5e5d1d2834453920a155ec4c63868", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_contexts": {}, + "_eventProcessors": [], + "_extra": {}, + "_lastEventId": "fd707721c77e4cae88259a8d6784cdc1", + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.9800160243035817, + "traceId": "6b0bce90d36a4bcfb19dbaa4da09a733", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_tags": { + "tag4": "val4", + }, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": TestClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], + }, + "afterCaptureMetric": Set { + [Function uniqueCallback], + }, + "flush": Set { + [Function uniqueCallback], + [Function uniqueCallback], + }, + "flushLogs": Set { + [Function uniqueCallback], + }, + "flushMetrics": Set { + [Function uniqueCallback], + }, + "prepareSpanScope": Set { + [Function uniqueCallback], + }, + }, + "_integrations": {}, + "_numProcessing": 0, + "_options": { + "attachStacktrace": true, + "beforeSend": [Function Mock], + "beforeSendTransaction": [Function Mock], + "dsn": "https://username@domain/123", + "integrations": [], + "stackParser": [Function stackParser], + "traceLifecycle": "static", + "tracesSampleRate": 1, + "transport": [Function transport], + }, + "_outcomes": {}, + "_promiseBuffer": { + "$": [], +
test/trace.test.ts > trace > startSpanManual > allows to force a transaction with forceTransaction=true: packages/opentelemetry/test/trace.test.ts#L1170
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(3) }, …(4) } - Expected + Received { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "ab4c6c2583c510c0", "status": "ok", "trace_id": "d8fb27e3ec8e4fe68c7a3b66945f2411", } ❯ test/trace.test.ts:1170:49
test/trace.test.ts > trace > startInactiveSpan > allows to force a transaction with forceTransaction=true: packages/opentelemetry/test/trace.test.ts#L785
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(3) }, …(4) } - Expected + Received { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "ababfa5ac68fedfa", "status": "ok", "trace_id": "c6df2d3cfe4c4dfd8cc3e5138cf9772b", } ❯ test/trace.test.ts:785:49
test/trace.test.ts > trace > startSpan > allows to force a transaction with forceTransaction=true: packages/opentelemetry/test/trace.test.ts#L457
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(3) }, …(4) } - Expected + Received { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "a648de5edba3a7fb", "status": "ok", "trace_id": "2b78e8176e804045af78b8d1cbb23056", } ❯ test/trace.test.ts:457:49
Node (20.19) Integration Tests (1/3)
Process completed with exit code 1.
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for POST requests [cjs]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L137
AssertionError: expected { …(36) } to deeply equal { Object (http.request.method, url.query, ...) } - Expected + Received @@ -43,10 +43,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 34873, "url.full": "http://localhost:34873/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:137:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for GET requests [cjs]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L95
AssertionError: expected { …(33) } to deeply equal { 'http.request.method': 'GET', …(31) } - Expected + Received @@ -36,10 +36,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 39905, "url.full": "http://localhost:39905/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:95:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for POST requests [esm]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L137
AssertionError: expected { …(36) } to deeply equal { Object (http.request.method, url.query, ...) } - Expected + Received @@ -43,10 +43,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 42031, "url.full": "http://localhost:42031/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:137:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for GET requests [esm]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L95
AssertionError: expected { …(33) } to deeply equal { 'http.request.method': 'GET', …(31) } - Expected + Received @@ -36,10 +36,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 45955, "url.full": "http://localhost:45955/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:95:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
E2E nextjs-16-streaming-cacheComponents Test
Process completed with exit code 1.
[chromium] › tests/useCacheSpans.spec.ts:11:5 › uses low-cardinality names for `use cache` spans: ../../_temp/test-application/tests/useCacheSpans.spec.ts#L40
1) [chromium] › tests/useCacheSpans.spec.ts:11:5 › uses low-cardinality names for `use cache` spans Error: expect(received).toBe(expected) // Object.is equality Expected: undefined Received: "app/api/use-cache/route.ts" 38 | expect(putSpan!.attributes['cache.key']?.value).toEqual(cacheKeyDigest); 39 | > 40 | expect(putSpan!.attributes['code.file.path']?.value).toBe(expectedRouteHandlerFilePath); | ^ 41 | }); 42 | 43 | test('sets the source file of the cached component on `cache.put` spans', async ({ request }) => { at /home/runner/work/_temp/test-application/tests/useCacheSpans.spec.ts:40:56
E2E nextjs-16-cacheComponents Test
Process completed with exit code 1.
[chromium] › tests/useCacheSpans.spec.ts:10:5 › Should create cache spans around `use cache` functions: ../../_temp/test-application/tests/useCacheSpans.spec.ts#L66
1) [chromium] › tests/useCacheSpans.spec.ts:10:5 › Should create cache spans around `use cache` functions Error: expect(received).toBe(expected) // Object.is equality Expected: undefined Received: "app/api/use-cache/route.ts" 64 | }); 65 | > 66 | expect(putSpan!.data?.['code.file.path']).toBe(expectedRouteHandlerFilePath); | ^ 67 | 68 | const hitGetSpan = hitTx.spans?.find(span => span.op === 'cache.get'); 69 | expect(hitGetSpan).toBeDefined(); at /home/runner/work/_temp/test-application/tests/useCacheSpans.spec.ts:66:45
E2E sveltekit-2-static Test
Process completed with exit code 1.
[chromium] › tests/performance.client.test.ts:85:3 › client-specific performance events › records manually added component tracking spans: ../../_temp/test-application/tests/performance.client.test.ts#L96
1) [chromium] › tests/performance.client.test.ts:85:3 › client-specific performance events › records manually added component tracking spans Error: expect(received).toEqual(expected) // deep equality Expected: ArrayContaining [ObjectContaining {"data": {"sentry.op": "ui.mount", "sentry.origin": "auto.ui.svelte", "ui.component_name": "components/+page"}, "description": "<components/+page>", "op": "ui.mount", "origin": "auto.ui.svelte"}, ObjectContaining {"data": {"sentry.op": "ui.mount", "sentry.origin": "auto.ui.svelte", "ui.component_name": "Component1"}, "description": "<Component1>", "op": "ui.mount", "origin": "auto.ui.svelte"}, ObjectContaining {"data": {"sentry.op": "ui.mount", "sentry.origin": "auto.ui.svelte", "ui.component_name": "Component2"}, "description": "<Component2>", "op": "ui.mount", "origin": "auto.ui.svelte"}, ObjectContaining {"data": {"sentry.op": "ui.mount", "sentry.origin": "auto.ui.svelte", "ui.component_name": "Component3"}, "description": "<Component3>", "op": "ui.mount", "origin": "auto.ui.svelte"}, ObjectContaining {"data": {"sentry.op": "ui.update", "sentry.origin": "auto.ui.svelte", "ui.component_name": "components/+page"}, "description": "<components/+page>", "op": "ui.update", "origin": "auto.ui.svelte"}, ObjectContaining {"data": {"sentry.op": "ui.update", "sentry.origin": "auto.ui.svelte", "ui.component_name": "Component1"}, "description": "<Component1>", "op": "ui.update", "origin": "auto.ui.svelte"}, ObjectContaining {"data": {"sentry.op": "ui.update", "sentry.origin": "auto.ui.svelte", "ui.component_name": "Component2"}, "description": "<Component2>", "op": "ui.update", "origin": "auto.ui.svelte"}, ObjectContaining {"data": {"sentry.op": "ui.update", "sentry.origin": "auto.ui.svelte", "ui.component_name": "Component3"}, "description": "<Component3>", "op": "ui.update", "origin": "auto.ui.svelte"}] Received: [{"data": {"sentry.op": "router", "sentry.origin": "auto.ui.sveltekit", "sentry.sveltekit.navigation.from": "/", "sentry.sveltekit.navigation.to": "/components", "sentry.sveltekit.navigation.type": "link", "sentry.trace_lifecycle": "static"}, "description": "SvelteKit Route Change", "op": "router", "origin": "auto.ui.sveltekit", "parent_span_id": "88effe4f02d4d21d", "span_id": "8d7131b31737be90", "start_timestamp": 1791360474.8806002, "status": "ok", "timestamp": 1791360474.8903, "trace_id": "cb803ba1ab574bcd959b788de194217a"}, {"data": {"sentry.op": "ui.mount", "sentry.origin": "auto.ui.svelte", "sentry.trace_lifecycle": "static", "ui.component_name": "components/+page"}, "description": "<components/+page>", "op": "ui.mount", "origin": "auto.ui.svelte", "parent_span_id": "88effe4f02d4d21d", "span_id": "b01e55da2146b3cf", "start_timestamp": 1791360474.8863, "status": "ok", "timestamp": 1791360474.8883, "trace_id": "cb803ba1ab574bcd959b788de194217a"}, {"data": {"sentry.op": "ui.update", "sentry.origin": "auto.ui.svelte", "sentry.trace_lifecycle": "static", "ui.component_name": "components/+page"}, "description": "<components/+page>", "op": "ui.update", "origin": "auto.ui.svelte", "parent_span_id": "88effe4f02d4d21d", "span_id": "aa95ff8269563ab8", "start_timestamp": 1791360474.8866, "status": "ok", "timestamp": 1791360474.8883, "trace_id": "cb803ba1ab574bcd959b788de194217a"}, {"data": {"sentry.op": "ui.mount", "sentry.origin": "auto.ui.svelte", "sentry.trace_lifecycle": "static", "ui.component_name": "Component1"}, "description": "<Component1>", "op": "ui.mount", "origin": "auto.ui.svelte", "parent_span_id": "88effe4f02d4d21d", "span_id": "bf5a9468e24aa6ab", "start_timestamp": 1791360474.8867002, "status": "ok", "timestamp": 1791360474.8883, "trace_id": "cb803ba1ab574bcd959b788de194217a"}, {"data": {"sentry.op": "ui.update", "sentry.origin": "auto.ui.svelte", "sentry.trace_lifecycle": "static", "ui.component_name": "Component1"}, "description": "<Component1>", "op": "ui.update", "origin": "auto.ui.svelte", "parent_span_id": "88effe4f02d4d21d", "span_id": "91e192361021f5a2", "start_timestamp": 1791360474.8869002, "status": "ok", "timestamp": 1791360474.8883, "t
test/integration/transactions.test.ts > Integration | Transactions > correctly creates concurrent transaction & spans: packages/node/test/integration/transactions.test.ts#L222
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…}, …(1) ] Received: 1st vi.fn() call: @@ -1,7 +1,7 @@ [ - ObjectContaining { + { "breadcrumbs": [ { "message": "test breadcrumb 1", "timestamp": 123456, }, @@ -12,40 +12,296 @@ { "message": "test breadcrumb 3", "timestamp": 123456, }, ], - "contexts": ObjectContaining { + "contexts": { + "runtime": { + "name": "node", + "version": "v20.19.6", + }, "trace": { "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.sample_rate": 1, "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", "test.outer": "test value", }, + "links": undefined, "op": "test op", "origin": "auto.test", - "span_id": StringMatching /[a-f0-9]{16}/, + "parent_span_id": undefined, + "span_id": "8dae730b057287c7", "status": "ok", - "trace_id": StringMatching /[a-f0-9]{32}/, + "trace_id": "e241ce4b518f44f0aff281e7eb3f7537", + }, + }, + "environment": "production", + "event_id": "5d4cf93bbf2e44c18eeae888cdc85bdb", + "platform": "node", + "release": "2cb08bddea8bdc80303c26389f0464f3123f2b39", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [ + { + "message": "test breadcrumb 1", + "timestamp": 123456, + }, + { + "message": "test breadcrumb 2", + "timestamp": 123456, + }, + { + "message": "test breadcrumb 3", + "timestamp": 123456, + }, + ], + "_client": undefined, + "_contexts": {}, + "_conversationId": undefined, + "_eventProcessors": [], + "_extra": {}, + "_fingerprint": undefined, + "_lastEventId": undefined, + "_level": undefined, + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.05870175515817966, + "traceId": "37619dbd08374e4980ff37aa516846cf", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_session": undefined, + "_tags": { + "test.tag": "test value", + }, + "_transactionName": undefined, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": NodeClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_disposeCallbacks": [], + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], +
test/integration/transactions.test.ts > Integration | Transactions > correctly creates transaction & spans: packages/node/test/integration/transactions.test.ts#L76
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(5) }, op: 'test op', …(4) } - Expected + Received @@ -2,13 +2,16 @@ "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.sample_rate": 1, "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", "test.outer": "test value", }, + "links": undefined, "op": "test op", "origin": "auto.test", + "parent_span_id": undefined, "span_id": "aa56184c50a64600", "status": "ok", "trace_id": "8a6cbe7f49704a39a191c1f4a9079aff", } ❯ test/integration/transactions.test.ts:76:41
test/integration/scope.test.ts > Integration | Scope > with tracing > correctly syncs OTEL context & Sentry hub/scope: packages/node/test/integration/scope.test.ts#L103
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…}, …(1) ] Received: 1st vi.fn() call: [ - ObjectContaining { - "contexts": ObjectContaining { + { + "breadcrumbs": undefined, + "contexts": { + "runtime": { + "name": "node", + "version": "v20.19.6", + }, "trace": { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "9ce7731e48f33969", "status": "ok", + "trace_id": "0287af4f4c6e4cc896461b40ea9bc1a6", + }, + }, + "environment": "production", + "event_id": "ec43fcb9b70d42f5b51c5775ffaa5591", + "platform": "node", + "release": "2cb08bddea8bdc80303c26389f0464f3123f2b39", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_contexts": {}, + "_eventProcessors": [], + "_extra": {}, + "_lastEventId": "33ba94e95d0b4b8b834fc595b5cc741c", + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.7150059220591953, + "traceId": "9926d5db3cc8430db51f3baae451f9be", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_tags": { + "tag4": "val4", + }, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": NodeClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_disposeCallbacks": [], + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], + }, + "afterCaptureMetric": Set { + [Function uniqueCallback], + }, + "beforeCaptureLog": Set { + [Function uniqueCallback], + }, + "flush": Set { + [Function uniqueCallback], + [Function uniqueCallback], + [Function uniqueCallback], + }, + "flushLogs": Set { + [Function uniqueCallback], + }, + "flushMetrics": Set { + [Function uniqueCallback], + }, + "prepareSpanScope": Set { + [Function uniqueCallback], + }, + "processMetric": Set { + [Function uniqueCallback], + }, + }, + "_integrations": {}, + "_logOnExitFlushListener": [Function anonymous], + "_metricsOnExitFlushListener": [Function anonymous],
test/integration/transactions.test.ts > Integration | Transactions > correctly creates transaction & spans with a trace header data: packages/opentelemetry/test/integration/transactions.test.ts#L335
AssertionError: expected last "vi.fn()" call to have been called with [ ObjectContaining{…}, …(1) ] - Expected + Received @@ -1,21 +1,167 @@ [ { + "breadcrumbs": undefined, "contexts": { "trace": { "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", }, + "links": undefined, "op": "test op", "origin": "auto.test", "parent_span_id": "6e0c63257de34c92", "span_id": "8b9ac23f58e5de7c", "status": "ok", + "trace_id": "d4cda95b652f4a1592b449d5929fda1b", + }, + }, + "environment": "production", + "event_id": "8cb380bdfd9642d2a360f71d1de154a8", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_contexts": {}, + "_eventProcessors": [], + "_extra": {}, + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.08520467909729112, + "traceId": "a1ac04aaf5d348a783cecf70d1ddaeed", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_tags": {}, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": TestClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], + }, + "afterCaptureMetric": Set { + [Function uniqueCallback], + }, + "flush": Set { + [Function uniqueCallback], + [Function uniqueCallback], + }, + "flushLogs": Set { + [Function uniqueCallback], + }, + "flushMetrics": Set { + [Function uniqueCallback], + }, + "prepareSpanScope": Set { + [Function uniqueCallback], + }, + }, + "_integrations": {}, + "_numProcessing": 0, + "_options": { + "attachStacktrace": true, + "beforeSendTransaction": [Function Mock], + "dsn": "https://username@domain/123", + "integrations": [], + "stackParser": [Function stackParser], + "traceLifecycle": "static", + "tracesSampleRate": 1, + "transport": [Function transport], + }, + "_outcomes": {}, + "_promiseBuffer": { + "$": [], + "add": [Function add], + "drain": [Function drain], + }, + "_transport": { + "flush": [Function flush], + "send": [Functi
test/integration/transactions.test.ts > Integration | Transactions > correctly creates concurrent transaction & spans: packages/opentelemetry/test/integration/transactions.test.ts#L217
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…}, …(1) ] Received: 1st vi.fn() call: @@ -1,7 +1,7 @@ [ - ObjectContaining { + { "breadcrumbs": [ { "message": "test breadcrumb 1", "timestamp": 123456, }, @@ -12,40 +12,243 @@ { "message": "test breadcrumb 3", "timestamp": 123456, }, ], - "contexts": ObjectContaining { + "contexts": { "trace": { "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.sample_rate": 1, "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", "test.outer": "test value", }, + "links": undefined, "op": "test op", "origin": "auto.test", - "span_id": StringMatching /[a-f0-9]{16}/, + "parent_span_id": undefined, + "span_id": "94817ff3a59baf17", "status": "ok", - "trace_id": StringMatching /[a-f0-9]{32}/, + "trace_id": "55a24df577cb45e087c4c18fafad2047", + }, + }, + "environment": "production", + "event_id": "6f568c2f2de04f78a2f2521fe9c043f3", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [ + { + "message": "test breadcrumb 1", + "timestamp": 123456, + }, + { + "message": "test breadcrumb 2", + "timestamp": 123456, + }, + { + "message": "test breadcrumb 3", + "timestamp": 123456, + }, + ], + "_client": undefined, + "_contexts": {}, + "_conversationId": undefined, + "_eventProcessors": [], + "_extra": {}, + "_fingerprint": undefined, + "_lastEventId": undefined, + "_level": undefined, + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.8634493150450098, + "traceId": "48a9350028de4d28b38b7a627678b0cb", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_session": undefined, + "_tags": { + "test.tag": "test value", + }, + "_transactionName": undefined, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": TestClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], + }, + "afterCaptureMetric": Set { + [Function uniqueCallback], + }, + "flush": Set { + [Function uniqueCallback], + [Function u
test/integration/transactions.test.ts > Integration | Transactions > correctly creates transaction & spans: packages/opentelemetry/test/integration/transactions.test.ts#L76
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(5) }, op: 'test op', …(4) } - Expected + Received @@ -2,13 +2,16 @@ "data": { "sentry.op": "test op", "sentry.origin": "auto.test", "sentry.sample_rate": 1, "sentry.segment.name.source": "task", + "sentry.trace_lifecycle": "static", "test.outer": "test value", }, + "links": undefined, "op": "test op", "origin": "auto.test", + "parent_span_id": undefined, "span_id": "9e22e6c454a2382a", "status": "ok", "trace_id": "3ac02a1990d74eb08218aba66e0d07f3", } ❯ test/integration/transactions.test.ts:76:41
test/integration/scope.test.ts > Integration | Scope > with tracing > correctly syncs OTEL context & Sentry hub/scope: packages/opentelemetry/test/integration/scope.test.ts#L104
AssertionError: expected "vi.fn()" to be called with arguments: [ ObjectContaining{…}, …(1) ] Received: 1st vi.fn() call: [ - ObjectContaining { - "contexts": ObjectContaining { + { + "breadcrumbs": undefined, + "contexts": { "trace": { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "b36e7159130dd75d", "status": "ok", + "trace_id": "11d5ac4aac3544f6bb574d9c7b6bd0e9", + }, + }, + "environment": "production", + "event_id": "bd4a478ccff14f5b9dfe8e707383f8ad", + "request": undefined, + "sdkProcessingMetadata": { + "capturedSpanIsolationScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_contexts": {}, + "_eventProcessors": [], + "_extra": {}, + "_lastEventId": "c6a5f21579534e089a84cae6fd7db5a6", + "_notifyingListeners": false, + "_propagationContext": { + "sampleRand": 0.8740024450175763, + "traceId": "5a75c394775a46e397163cbd3494ed39", + }, + "_scopeListeners": [], + "_sdkProcessingMetadata": {}, + "_tags": { + "tag4": "val4", + }, + "_user": {}, + }, + "capturedSpanScope": Scope { + "_attachments": [], + "_attributes": {}, + "_breadcrumbs": [], + "_client": TestClient { + "_dataCollection": { + "cookies": true, + "databaseQueryData": true, + "frameContextLines": 5, + "genAI": { + "inputs": true, + "outputs": true, + }, + "graphQL": { + "document": true, + "variables": true, + }, + "httpBodies": [ + "incomingRequest", + "outgoingRequest", + "incomingResponse", + "outgoingResponse", + ], + "httpHeaders": { + "request": true, + "response": true, + }, + "queues": true, + "stackFrameVariables": true, + "urlQueryParams": true, + "userInfo": true, + }, + "_dsn": { + "host": "domain", + "pass": "", + "path": "", + "port": "", + "projectId": "123", + "protocol": "https", + "publicKey": "username", + }, + "_eventProcessors": [], + "_hooks": { + "afterCaptureLog": Set { + [Function uniqueCallback], + }, + "afterCaptureMetric": Set { + [Function uniqueCallback], + }, + "flush": Set { + [Function uniqueCallback], + [Function uniqueCallback], + }, + "flushLogs": Set { + [Function uniqueCallback], + }, + "flushMetrics": Set { + [Function uniqueCallback], + }, + "prepareSpanScope": Set { + [Function uniqueCallback], + }, + }, + "_integrations": {}, + "_numProcessing": 0, + "_options": { + "attachStacktrace": true, + "beforeSend": [Function Mock], + "beforeSendTransaction": [Function Mock], + "dsn": "https://username@domain/123", + "integrations": [], + "stackParser": [Function stackParser], + "traceLifecycle": "static", + "tracesSampleRate": 1, + "transport": [Function transport], + }, + "_outcomes": {}, + "_promiseBuffer": { + "$": [], +
test/trace.test.ts > trace > startSpanManual > allows to force a transaction with forceTransaction=true: packages/opentelemetry/test/trace.test.ts#L1170
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(3) }, …(4) } - Expected + Received { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "a9dfd14a4e1b68c0", "status": "ok", "trace_id": "de8647d0166b4babbeeca6f2bd26370e", } ❯ test/trace.test.ts:1170:49
test/trace.test.ts > trace > startInactiveSpan > allows to force a transaction with forceTransaction=true: packages/opentelemetry/test/trace.test.ts#L785
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(3) }, …(4) } - Expected + Received { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "82817490cb9b1851", "status": "ok", "trace_id": "a60428c8045547e3ac1ee7cafec611e3", } ❯ test/trace.test.ts:785:49
test/trace.test.ts > trace > startSpan > allows to force a transaction with forceTransaction=true: packages/opentelemetry/test/trace.test.ts#L457
AssertionError: expected { parent_span_id: undefined, …(7) } to deeply equal { data: { …(3) }, …(4) } - Expected + Received { "data": { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", }, + "links": undefined, + "op": undefined, "origin": "manual", + "parent_span_id": undefined, "span_id": "a78dffcdeb1347b4", "status": "ok", "trace_id": "72f7d5e393d94b73b773e85bb6470f0b", } ❯ test/trace.test.ts:457:49
E2E tanstackstart-react-static Test
Process completed with exit code 1.
[chromium] › tests/transaction.test.ts:39:1 › Sends a server function transaction for a nested server function only if it is manually instrumented: ../../_temp/test-application/tests/transaction.test.ts#L68
2) [chromium] › tests/transaction.test.ts:39:1 › Sends a server function transaction for a nested server function only if it is manually instrumented Error: expect(received).toEqual(expected) // deep equality Expected: ArrayContaining [ObjectContaining {"data": {"code.function.name": "testNestedLog", "http.request.method": "GET", "sentry.op": "function", "sentry.origin": "auto.function.tanstackstart.server", "tanstackstart.function.filename": "app/routes/test-serverFn.tsx", "tanstackstart.function.id": Any<String>}, "description": "GET /_serverFn/testNestedLog", "op": "function", "origin": "auto.function.tanstackstart.server", "status": "ok"}] Received: [{"data": {"code.function.name": "testNestedLog", "http.request.method": "GET", "sentry.op": "function", "sentry.origin": "auto.function.tanstackstart.server", "sentry.trace_lifecycle": "static", "tanstackstart.function.filename": "app/routes/test-serverFn.tsx", "tanstackstart.function.id": "db3688a85ea8eb537a408a48c5c4b31631dd39fe6449ca8421eb88bdae4a4e91"}, "description": "GET /_serverFn/testNestedLog", "op": "function", "origin": "auto.function.tanstackstart.server", "parent_span_id": "899b2d564af5b3f2", "span_id": "ad731d328089bd36", "start_timestamp": 1791360500.1106935, "status": "ok", "timestamp": 1791360500.1135428, "trace_id": "b9edfd31836249a2a475d84e9849d657"}, {"data": {"sentry.op": "middleware", "sentry.origin": "auto.middleware.tanstackstart", "sentry.trace_lifecycle": "static"}, "description": "globalRequestMiddleware", "op": "middleware", "origin": "auto.middleware.tanstackstart", "parent_span_id": "ad731d328089bd36", "span_id": "ae9b494485413409", "start_timestamp": 1791360500.1108863, "status": "ok", "timestamp": 1791360500.111691, "trace_id": "b9edfd31836249a2a475d84e9849d657"}, {"data": {"sentry.op": "middleware", "sentry.origin": "auto.middleware.tanstackstart", "sentry.trace_lifecycle": "static"}, "description": "globalFunctionMiddleware", "op": "middleware", "origin": "auto.middleware.tanstackstart", "parent_span_id": "ad731d328089bd36", "span_id": "a60aa11935218d1a", "start_timestamp": 1791360500.1120484, "status": "ok", "timestamp": 1791360500.1121519, "trace_id": "b9edfd31836249a2a475d84e9849d657"}, {"data": {"sentry.origin": "manual", "sentry.trace_lifecycle": "static"}, "description": "testNestedLog", "origin": "manual", "parent_span_id": "ad731d328089bd36", "span_id": "8fb4710817c2b1dd", "start_timestamp": 1791360500.1123385, "status": "ok", "timestamp": 1791360500.113211, "trace_id": "b9edfd31836249a2a475d84e9849d657"}, {"data": {"sentry.op": "middleware", "sentry.origin": "auto.middleware.tanstackstart", "sentry.trace_lifecycle": "static"}, "description": "globalFunctionMiddleware", "op": "middleware", "origin": "auto.middleware.tanstackstart", "parent_span_id": "8fb4710817c2b1dd", "span_id": "8e5bad39d88b1b19", "start_timestamp": 1791360500.112811, "status": "ok", "timestamp": 1791360500.1129048, "trace_id": "b9edfd31836249a2a475d84e9849d657"}] 66 | 67 | // Check for the auto-instrumented server function span > 68 | expect(transactionEvent?.spans).toEqual( | ^ 69 | expect.arrayContaining([ 70 | expect.objectContaining({ 71 | description: 'GET /_serverFn/testNestedLog', at /home/runner/work/_temp/test-application/tests/transaction.test.ts:68:35
[chromium] › tests/transaction.test.ts:6:1 › Sends a server function transaction with auto-instrumentation: ../../_temp/test-application/tests/transaction.test.ts#L27
1) [chromium] › tests/transaction.test.ts:6:1 › Sends a server function transaction with auto-instrumentation Error: expect(received).toEqual(expected) // deep equality Expected: ArrayContaining [ObjectContaining {"data": {"code.function.name": "testLog", "http.request.method": "GET", "sentry.op": "function", "sentry.origin": "auto.function.tanstackstart.server", "tanstackstart.function.filename": "app/routes/test-serverFn.tsx", "tanstackstart.function.id": Any<String>}, "description": "GET /_serverFn/testLog", "op": "function", "origin": "auto.function.tanstackstart.server", "status": "ok"}] Received: [{"data": {"code.function.name": "testLog", "http.request.method": "GET", "sentry.op": "function", "sentry.origin": "auto.function.tanstackstart.server", "sentry.trace_lifecycle": "static", "tanstackstart.function.filename": "app/routes/test-serverFn.tsx", "tanstackstart.function.id": "c65a8c85fbe0e96965d9450e413e838baed936591b84c251a720ec2c56569a17"}, "description": "GET /_serverFn/testLog", "op": "function", "origin": "auto.function.tanstackstart.server", "parent_span_id": "a8a95f570c086281", "span_id": "a9986e8672e31580", "start_timestamp": 1791360498.994102, "status": "ok", "timestamp": 1791360498.9967575, "trace_id": "c5a261a4d34c4700ba676a22902c40a9"}, {"data": {"sentry.op": "middleware", "sentry.origin": "auto.middleware.tanstackstart", "sentry.trace_lifecycle": "static"}, "description": "globalRequestMiddleware", "op": "middleware", "origin": "auto.middleware.tanstackstart", "parent_span_id": "a9986e8672e31580", "span_id": "bdc0c30a96a78589", "start_timestamp": 1791360498.9943266, "status": "ok", "timestamp": 1791360498.9944882, "trace_id": "c5a261a4d34c4700ba676a22902c40a9"}, {"data": {"sentry.op": "middleware", "sentry.origin": "auto.middleware.tanstackstart", "sentry.trace_lifecycle": "static"}, "description": "globalFunctionMiddleware", "op": "middleware", "origin": "auto.middleware.tanstackstart", "parent_span_id": "a9986e8672e31580", "span_id": "8c1d8f3f5d89225c", "start_timestamp": 1791360498.9961183, "status": "ok", "timestamp": 1791360498.996256, "trace_id": "c5a261a4d34c4700ba676a22902c40a9"}] 25 | // Check for the auto-instrumented server function span 26 | expect(Array.isArray(transactionEvent?.spans)).toBe(true); > 27 | expect(transactionEvent?.spans).toEqual( | ^ 28 | expect.arrayContaining([ 29 | expect.objectContaining({ 30 | description: 'GET /_serverFn/testLog', at /home/runner/work/_temp/test-application/tests/transaction.test.ts:27:35
E2E aws-serverless-layer Test
Process completed with exit code 1.
[chromium] › tests/layer.test.ts:218:7 › Lambda layer › streaming handlers work: ../../_temp/test-application/tests/layer.test.ts#L233
3) [chromium] › tests/layer.test.ts:218:7 › Lambda layer › streaming handlers work ─────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -10,10 +10,11 @@ "sentry.kind": "server", "sentry.op": "function.aws", "sentry.origin": "auto.aws_lambda", "sentry.sample_rate": 1, "sentry.segment.name.source": "component", + "sentry.trace_lifecycle": "static", }, "op": "function.aws", "origin": "auto.aws_lambda", "span_id": StringMatching /[a-f0-9]{16}/, "status": "ok", 231 | 232 | expect(transactionEvent.transaction).toEqual('LayerStreaming'); > 233 | expect(transactionEvent.contexts?.trace).toEqual({ | ^ 234 | data: { 235 | 'sentry.sample_rate': 1, 236 | 'sentry.segment.name.source': 'component', at /home/runner/work/_temp/test-application/tests/layer.test.ts:233:46
[chromium] › tests/layer.test.ts:91:7 › Lambda layer › tracing in ESM works: ../../_temp/test-application/tests/layer.test.ts#L107
2) [chromium] › tests/layer.test.ts:91:7 › Lambda layer › tracing in ESM works ─────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -10,10 +10,11 @@ "sentry.kind": "server", "sentry.op": "function.aws", "sentry.origin": "auto.aws_lambda", "sentry.sample_rate": 1, "sentry.segment.name.source": "component", + "sentry.trace_lifecycle": "static", }, "op": "function.aws", "origin": "auto.aws_lambda", "span_id": StringMatching /[a-f0-9]{16}/, "status": "ok", 105 | // shows the SDK sent a transaction 106 | expect(transactionEvent.transaction).toEqual('LayerTracingEsm'); // name should be the function name > 107 | expect(transactionEvent.contexts?.trace).toEqual({ | ^ 108 | data: { 109 | 'sentry.sample_rate': 1, 110 | 'sentry.segment.name.source': 'component', at /home/runner/work/_temp/test-application/tests/layer.test.ts:107:46
[chromium] › tests/layer.test.ts:20:7 › Lambda layer › tracing in CJS works: ../../_temp/test-application/tests/layer.test.ts#L36
1) [chromium] › tests/layer.test.ts:20:7 › Lambda layer › tracing in CJS works ─────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -10,10 +10,11 @@ "sentry.kind": "server", "sentry.op": "function.aws", "sentry.origin": "auto.aws_lambda", "sentry.sample_rate": 1, "sentry.segment.name.source": "component", + "sentry.trace_lifecycle": "static", }, "op": "function.aws", "origin": "auto.aws_lambda", "span_id": StringMatching /[a-f0-9]{16}/, "status": "ok", 34 | // shows the SDK sent a transaction 35 | expect(transactionEvent.transaction).toEqual('LayerTracingCjs'); > 36 | expect(transactionEvent.contexts?.trace).toEqual({ | ^ 37 | data: { 38 | 'sentry.sample_rate': 1, 39 | 'sentry.segment.name.source': 'component', at /home/runner/work/_temp/test-application/tests/layer.test.ts:36:46
E2E aws-serverless-layer (Node 22) Test
Process completed with exit code 1.
[chromium] › tests/layer.test.ts:218:7 › Lambda layer › streaming handlers work: ../../_temp/test-application/tests/layer.test.ts#L233
3) [chromium] › tests/layer.test.ts:218:7 › Lambda layer › streaming handlers work ─────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -10,10 +10,11 @@ "sentry.kind": "server", "sentry.op": "function.aws", "sentry.origin": "auto.aws_lambda", "sentry.sample_rate": 1, "sentry.segment.name.source": "component", + "sentry.trace_lifecycle": "static", }, "op": "function.aws", "origin": "auto.aws_lambda", "span_id": StringMatching /[a-f0-9]{16}/, "status": "ok", 231 | 232 | expect(transactionEvent.transaction).toEqual('LayerStreaming'); > 233 | expect(transactionEvent.contexts?.trace).toEqual({ | ^ 234 | data: { 235 | 'sentry.sample_rate': 1, 236 | 'sentry.segment.name.source': 'component', at /home/runner/work/_temp/test-application/tests/layer.test.ts:233:46
[chromium] › tests/layer.test.ts:91:7 › Lambda layer › tracing in ESM works: ../../_temp/test-application/tests/layer.test.ts#L107
2) [chromium] › tests/layer.test.ts:91:7 › Lambda layer › tracing in ESM works ─────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -10,10 +10,11 @@ "sentry.kind": "server", "sentry.op": "function.aws", "sentry.origin": "auto.aws_lambda", "sentry.sample_rate": 1, "sentry.segment.name.source": "component", + "sentry.trace_lifecycle": "static", }, "op": "function.aws", "origin": "auto.aws_lambda", "span_id": StringMatching /[a-f0-9]{16}/, "status": "ok", 105 | // shows the SDK sent a transaction 106 | expect(transactionEvent.transaction).toEqual('LayerTracingEsm'); // name should be the function name > 107 | expect(transactionEvent.contexts?.trace).toEqual({ | ^ 108 | data: { 109 | 'sentry.sample_rate': 1, 110 | 'sentry.segment.name.source': 'component', at /home/runner/work/_temp/test-application/tests/layer.test.ts:107:46
[chromium] › tests/layer.test.ts:20:7 › Lambda layer › tracing in CJS works: ../../_temp/test-application/tests/layer.test.ts#L36
1) [chromium] › tests/layer.test.ts:20:7 › Lambda layer › tracing in CJS works ─────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -10,10 +10,11 @@ "sentry.kind": "server", "sentry.op": "function.aws", "sentry.origin": "auto.aws_lambda", "sentry.sample_rate": 1, "sentry.segment.name.source": "component", + "sentry.trace_lifecycle": "static", }, "op": "function.aws", "origin": "auto.aws_lambda", "span_id": StringMatching /[a-f0-9]{16}/, "status": "ok", 34 | // shows the SDK sent a transaction 35 | expect(transactionEvent.transaction).toEqual('LayerTracingCjs'); > 36 | expect(transactionEvent.contexts?.trace).toEqual({ | ^ 37 | data: { 38 | 'sentry.sample_rate': 1, 39 | 'sentry.segment.name.source': 'component', at /home/runner/work/_temp/test-application/tests/layer.test.ts:36:46
E2E nextjs-16-static Test
Process completed with exit code 1.
[chromium] › tests/middleware.test.ts:80:5 › Should trace outgoing fetch requests inside middleware and create breadcrumbs for it: ../../_temp/test-application/tests/middleware.test.ts#L118
1) [chromium] › tests/middleware.test.ts:80:5 › Should trace outgoing fetch requests inside middleware and create breadcrumbs for it Error: expect(received).toContainEqual(expected) // deep equality Expected value: {"data": {"http.request.method": "GET", "http.request.method_original": "GET", "http.response.status_code": 200, "network.peer.address": "::1", "network.peer.port": 3030, "sentry.kind": "client", "sentry.op": "http.client", "sentry.origin": "auto.http.node_fetch", "server.address": "localhost", "server.port": 3030, "url.domain": "localhost", "url.full": "http://localhost:3030/", "url.path": "/", "url.scheme": "http", "user_agent.original": "node"}, "description": "GET http://localhost:3030/", "op": "http.client", "origin": "auto.http.node_fetch", "parent_span_id": StringMatching /[a-f0-9]{16}/, "span_id": StringMatching /[a-f0-9]{16}/, "start_timestamp": Any<Number>, "status": "ok", "timestamp": Any<Number>, "trace_id": StringMatching /[a-f0-9]{32}/} Received array: [{"data": {"http.method": "GET", "http.target": "/api/endpoint-behind-middleware", "next.span_name": "middleware GET", "next.span_type": "Middleware.execute", "sentry.origin": "auto", "sentry.trace_lifecycle": "static"}, "description": "middleware GET", "origin": "auto", "parent_span_id": "82a97e6bd5a3c8f5", "span_id": "a81b314fe6c685ae", "start_timestamp": 1791360481.3968675, "status": "ok", "timestamp": 1791360481.42028, "trace_id": "104aa09364ff49b79d952c0e3c5f7bfc"}, {"data": {"http.request.method": "GET", "http.request.method_original": "GET", "http.response.status_code": 200, "network.peer.address": "::1", "network.peer.port": 3030, "sentry.kind": "client", "sentry.op": "http.client", "sentry.origin": "auto.http.node_fetch", "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 3030, "url.domain": "localhost", "url.full": "http://localhost:3030/", "url.path": "/", "url.scheme": "http", "user_agent.original": "node"}, "description": "GET http://localhost:3030/", "op": "http.client", "origin": "auto.http.node_fetch", "parent_span_id": "a81b314fe6c685ae", "span_id": "abaecec243782dc0", "start_timestamp": 1791360481.4026396, "status": "ok", "timestamp": 1791360481.4186969, "trace_id": "104aa09364ff49b79d952c0e3c5f7bfc"}] 116 | if (hasHttpClientSpan) { 117 | // Check if fetch is traced as a child span of the middleware transaction > 118 | expect(middlewareTransaction.spans).toContainEqual({ | ^ 119 | data: { 120 | 'http.request.method': 'GET', 121 | 'http.request.method_original': 'GET', at /home/runner/work/_temp/test-application/tests/middleware.test.ts:118:41
E2E solidstart-static Test
Process completed with exit code 1.
[chromium] › tests/performance.server.test.ts:28:1 › sends a server action transaction on client navigation: ../../_temp/test-application/tests/performance.server.test.ts#L39
2) [chromium] › tests/performance.server.test.ts:28:1 › sends a server action transaction on client navigation Error: expect(received).toEqual(expected) // deep equality Expected: ArrayContaining [ObjectContaining {"data": {"code.function.name": "getPrefecture", "sentry.op": "function", "sentry.origin": "auto.function.solidstart"}, "description": "getPrefecture"}] Received: [{"data": {"code.function.name": "getPrefecture", "sentry.op": "function", "sentry.origin": "auto.function.solidstart", "sentry.trace_lifecycle": "static"}, "description": "getPrefecture", "op": "function", "origin": "auto.function.solidstart", "parent_span_id": "8c80f92835f5cfcd", "span_id": "b2619a605b5595a2", "start_timestamp": 1791360534.7584546, "status": "ok", "timestamp": 1791360534.7586045, "trace_id": "f1489543e3d44010b1303975a1ddc17b"}] 37 | const transaction = await transactionPromise; 38 | > 39 | expect(transaction.spans).toEqual( | ^ 40 | expect.arrayContaining([ 41 | expect.objectContaining({ 42 | description: 'getPrefecture', at /home/runner/work/_temp/test-application/tests/performance.server.test.ts:39:29
[chromium] › tests/performance.server.test.ts:5:1 › sends a server action transaction on pageload: ../../_temp/test-application/tests/performance.server.test.ts#L14
1) [chromium] › tests/performance.server.test.ts:5:1 › sends a server action transaction on pageload Error: expect(received).toEqual(expected) // deep equality Expected: ArrayContaining [ObjectContaining {"data": {"code.function.name": "getPrefecture", "sentry.op": "function", "sentry.origin": "auto.function.solidstart"}, "description": "getPrefecture"}] Received: [{"data": {"code.function.name": "getPrefecture", "sentry.op": "function", "sentry.origin": "auto.function.solidstart", "sentry.trace_lifecycle": "static"}, "description": "getPrefecture", "op": "function", "origin": "auto.function.solidstart", "parent_span_id": "ace6dad76bdb35c0", "span_id": "955384659ed6748a", "start_timestamp": 1791360533.6574075, "status": "ok", "timestamp": 1791360533.657688, "trace_id": "2d6dff047a294d2ea025bab47eca83da"}] 12 | const transaction = await transactionPromise; 13 | > 14 | expect(transaction.spans).toEqual( | ^ 15 | expect.arrayContaining([ 16 | expect.objectContaining({ 17 | description: 'getPrefecture', at /home/runner/work/_temp/test-application/tests/performance.server.test.ts:14:29
Node (26) Integration Tests (3/3)
Process completed with exit code 1.
suites/tracing/mongodb/test.ts > MongoDB auto-instrumentation > should auto-instrument `mongodb` package. [cjs]: dev-packages/node-integration-tests/suites/tracing/mongodb/test.ts#L195
AssertionError: expected [ { data: { …(12) }, …(9) }, …(8) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "db.collection.name": "movies", "db.connection_string": Any<String>, "db.namespace": "admin", "db.operation.name": "find", "db.query.text": "{\"title\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "server.address": Any<String>, "server.port": Any<Number>, }, "description": "{\"title\":\"?\"}", "op": "db", "origin": "auto.db.mongo", } + Received: [ { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:38215/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 38215, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "a3bac979c037dbb7", "span_id": "997e924bc2aba13a", "start_timestamp": 1791360396.5724363, "status": "ok", "timestamp": 1791360396.5781715, "trace_id": "19a2e9a8593940ba8be44dfe6d147620", }, { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:38215/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 38215, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "a3bac979c037dbb7", "span_id": "9e0039909f4dce91", "start_timestamp": 1791360396.5813284, "status": "ok", "timestamp": 1791360396.5838706, "trace_id": "19a2e9a8593940ba8be44dfe6d147620", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:38215/admin", "db.namespace": "admin", "db.operation.name": "insert", "db.query.text": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 38215, }, "description": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "a3bac979c037dbb7", "span_id": "ac661c5805df39a9", "start_timestamp": 1791360396.5825794, "status": "ok", "timestamp": 1791360396.5848696, "trace_id": "19a2e9a8593940ba8be44dfe6d147620", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:38215/admin", "db.namespace": "admin", "db.operation.name": "find",
suites/tracing/mongodb/test.ts > MongoDB auto-instrumentation > should auto-instrument `mongodb` package. [esm]: dev-packages/node-integration-tests/suites/tracing/mongodb/test.ts#L195
AssertionError: expected [ { data: { …(12) }, …(9) }, …(8) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "db.collection.name": "movies", "db.connection_string": Any<String>, "db.namespace": "admin", "db.operation.name": "find", "db.query.text": "{\"title\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "server.address": Any<String>, "server.port": Any<Number>, }, "description": "{\"title\":\"?\"}", "op": "db", "origin": "auto.db.mongo", } + Received: [ { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:38215/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 38215, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "8eda4ad441a794f5", "span_id": "8ee5c80332e4d31a", "start_timestamp": 1791360395.873627, "status": "ok", "timestamp": 1791360395.8822455, "trace_id": "e45437681d6c4c1ca208beac133f9921", }, { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:38215/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 38215, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "8eda4ad441a794f5", "span_id": "87b17a8108eb3fd7", "start_timestamp": 1791360395.8865488, "status": "ok", "timestamp": 1791360395.8908622, "trace_id": "e45437681d6c4c1ca208beac133f9921", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:38215/admin", "db.namespace": "admin", "db.operation.name": "insert", "db.query.text": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 38215, }, "description": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "8eda4ad441a794f5", "span_id": "893f91615b774be6", "start_timestamp": 1791360395.888333, "status": "ok", "timestamp": 1791360395.8960145, "trace_id": "e45437681d6c4c1ca208beac133f9921", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:38215/admin", "db.namespace": "admin", "db.operation.name": "find",
Node (26) Integration Tests (2/3)
Process completed with exit code 1.
suites/tracing/prisma-orm-v6/test.ts > Prisma ORM v6 Tests > should instrument PostgreSQL queries from Prisma ORM [cjs]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v6/test.ts#L41
AssertionError: expected [ { data: { …(2) }, …(8) }, …(25) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "sentry.origin": "auto.db.prisma", }, "description": "prisma:client:detect_platform", "status": "ok", } + Received: [ { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:detect_platform", "origin": "auto.db.prisma", "parent_span_id": "a8b56dc19d8969c9", "span_id": "9ed3afac44c35e39", "start_timestamp": 1791360455.3214266, "status": "ok", "timestamp": 1791360455.3325057, "trace_id": "3154effed1834d33b0323b0b649239ff", }, { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", "origin": "auto.db.prisma", "parent_span_id": "a8b56dc19d8969c9", "span_id": "a72031443e5c1307", "start_timestamp": 1791360455.3231323, "status": "ok", "timestamp": 1791360455.3756304, "trace_id": "3154effed1834d33b0323b0b649239ff", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:serialize", "origin": "auto.db.prisma", "parent_span_id": "a72031443e5c1307", "span_id": "81059328930fb6b4", "start_timestamp": 1791360455.323493, "status": "ok", "timestamp": 1791360455.323979, "trace_id": "3154effed1834d33b0323b0b649239ff", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:connect", "origin": "auto.db.prisma", "parent_span_id": "a72031443e5c1307", "span_id": "8b76e6048e38dc7c", "start_timestamp": 1791360455.3363173, "status": "ok", "timestamp": 1791360455.371962, "trace_id": "3154effed1834d33b0323b0b649239ff", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connect", "origin": "auto.db.prisma", "parent_span_id": "8b76e6048e38dc7c", "span_id": "8938113891102043", "start_timestamp": 1791360455.3365583, "status": "ok", "timestamp": 1791360455.3711388, "trace_id": "3154effed1834d33b0323b0b649239ff", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "8938113891102043", "span_id": "9bb54572a08a53db", "start_timestamp": 1791360455.3368285, "status": "ok", "timestamp": 1791360455.371074, "trace_id": "3154effed1834d33b0323b0b649239ff", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:query", "origin": "auto.db.prisma", "parent_span_id": "a72031443e5c1307", "span_id": "9311a4d842a4485d", "start_timestamp": 1791360455.372058, "status": "ok", "timestamp": 1791360455.3735213, "trace_id": "3154effed1834d33b0323b0b649239ff", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "9311a4d842a4485d", "span_id": "8da66ef6f94c93fc", "start_timestamp": 1791360455.3721156, "status": "ok", "timestamp": 1791360455.3721416, "trace_id": "3154effed1834d33b0323b0b649239ff", }, { "data": { "db.query.summary": "INSERT \"public\".\"User\"", "db.query.text": "INSERT INTO \"public\".\"User\" (\"createdAt\",\"email\",\"name\") VALUES ($1,$2,$3) RETURNING \"public\".\"User\".\"id\", \"public
suites/tracing/prisma-orm-v6/test.ts > Prisma ORM v6 Tests > should instrument PostgreSQL queries from Prisma ORM [esm]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v6/test.ts#L41
AssertionError: expected [ { data: { …(2) }, …(8) }, …(25) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "sentry.origin": "auto.db.prisma", }, "description": "prisma:client:detect_platform", "status": "ok", } + Received: [ { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:detect_platform", "origin": "auto.db.prisma", "parent_span_id": "b71c14102ec6cf68", "span_id": "bac6297156057e1a", "start_timestamp": 1791360455.0317218, "status": "ok", "timestamp": 1791360455.0366802, "trace_id": "31429493c0d948a1894a5047d8b16689", }, { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", "origin": "auto.db.prisma", "parent_span_id": "b71c14102ec6cf68", "span_id": "ac6ecda4c2b3896b", "start_timestamp": 1791360455.0333378, "status": "ok", "timestamp": 1791360455.0827909, "trace_id": "31429493c0d948a1894a5047d8b16689", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:serialize", "origin": "auto.db.prisma", "parent_span_id": "ac6ecda4c2b3896b", "span_id": "a1d82d4e9502d892", "start_timestamp": 1791360455.0336888, "status": "ok", "timestamp": 1791360455.0341997, "trace_id": "31429493c0d948a1894a5047d8b16689", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:connect", "origin": "auto.db.prisma", "parent_span_id": "ac6ecda4c2b3896b", "span_id": "b6cbd6a9cb36dc27", "start_timestamp": 1791360455.039969, "status": "ok", "timestamp": 1791360455.078813, "trace_id": "31429493c0d948a1894a5047d8b16689", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connect", "origin": "auto.db.prisma", "parent_span_id": "b6cbd6a9cb36dc27", "span_id": "bf04a31dfc82d09e", "start_timestamp": 1791360455.0401921, "status": "ok", "timestamp": 1791360455.0779681, "trace_id": "31429493c0d948a1894a5047d8b16689", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "bf04a31dfc82d09e", "span_id": "a5a4f8db3fdf09b1", "start_timestamp": 1791360455.0404541, "status": "ok", "timestamp": 1791360455.0778942, "trace_id": "31429493c0d948a1894a5047d8b16689", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:query", "origin": "auto.db.prisma", "parent_span_id": "ac6ecda4c2b3896b", "span_id": "b8c016db056c9aae", "start_timestamp": 1791360455.0788977, "status": "ok", "timestamp": 1791360455.0807176, "trace_id": "31429493c0d948a1894a5047d8b16689", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "b8c016db056c9aae", "span_id": "b7eb1d1dff3345f5", "start_timestamp": 1791360455.0789533, "status": "ok", "timestamp": 1791360455.0789788, "trace_id": "31429493c0d948a1894a5047d8b16689", }, { "data": { "db.query.summary": "INSERT \"public\".\"User\"", "db.query.text": "INSERT INTO \"public\".\"User\" (\"createdAt\",\"email\",\"name\") VALUES ($1,$2,$3) RETURNING \"public\".\"User\".\"id\", \"pub
suites/tracing/prisma-orm-v5/test.ts > Prisma ORM v5 > Prisma ORM v5 Tests > should instrument PostgreSQL queries from Prisma ORM [cjs]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v5/test.ts#L36
AssertionError: expected [ { data: { …(5) }, …(8) }, …(44) ] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - ObjectContaining { + [ + { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", + "origin": "auto.db.prisma", + "parent_span_id": "a138cb080860d750", + "span_id": "a1f569a9a2768acb", + "start_timestamp": 1791360471.7816036, + "status": "ok", + "timestamp": 1791360471.8326297, + "trace_id": "fc4ba99b87494a86ad6bc9bd3958d5b5", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "a1f569a9a2768acb", + "span_id": "818fedf9ca56a25c", + "start_timestamp": 1791360471.782132, + "status": "ok", + "timestamp": 1791360471.7825632, + "trace_id": "fc4ba99b87494a86ad6bc9bd3958d5b5", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:connect", + "origin": "auto.db.prisma", + "parent_span_id": "a1f569a9a2768acb", + "span_id": "99dffdeb9527e3e2", + "start_timestamp": 1791360471.795349, + "status": "ok", + "timestamp": 1791360471.8297958, + "trace_id": "fc4ba99b87494a86ad6bc9bd3958d5b5", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connect", + "origin": "auto.db.prisma", + "parent_span_id": "99dffdeb9527e3e2", + "span_id": "b0e2a0c7faf2ce0c", + "start_timestamp": 1791360471.795681, + "status": "ok", + "timestamp": 1791360471.8288054, + "trace_id": "fc4ba99b87494a86ad6bc9bd3958d5b5", + }, + { + "data": { + "db.system": "postgresql", + "sentry.op": "db", + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connection", + "op": "db", + "origin": "auto.db.prisma", + "parent_span_id": "b0e2a0c7faf2ce0c", + "span_id": "95a7dc5f0ae20fca", + "start_timestamp": 1791360471.7965138, "status": "ok", + "timestamp": 1791360471.8287053, + "trace_id": "fc4ba99b87494a86ad6bc9bd3958d5b5", }, - ObjectContaining { + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine", + "origin": "auto.db.prisma", + "parent_span_id": "a1f569a9a2768acb", + "span_id": "a34d817d611d9000", + "start_timestamp": 1791360471.8299356, + "status": "ok", + "timestamp": 1791360471.8322604, + "trace_id": "fc4ba99b87494a86ad6bc9bd3958d5b5", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:response_json_serialization", + "origin": "auto.db.prisma", + "parent_span_id": "a34d817d611d9000", + "span_id": "9a230466460ab916", + "start_timestamp": 1791360471.8322504, + "status": "ok", + "timestamp": 1791360471.8322566, + "trace_id": "fc4ba99b87494a86ad6bc9bd3958d5b5", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "a34d817d611d9000", + "span_id": "8e4076e6666a407d", + "start_timestamp": 1791360471.8322113, + "status": "ok", + "timestamp": 1791360471.8322377, + "trace_id": "fc4ba99b87494a86ad6bc9bd3958d5b5", + }, + { + "data": { + "db.query.summary": "INSERT \"public\".\"User\"", + "db.statement": "INSERT INTO \"public\".\"User\" (\"createdA
suites/tracing/prisma-orm-v5/test.ts > Prisma ORM v5 > Prisma ORM v5 Tests > should instrument PostgreSQL queries from Prisma ORM [esm]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v5/test.ts#L36
AssertionError: expected [ { data: { …(5) }, …(8) }, …(44) ] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - ObjectContaining { + [ + { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", + "origin": "auto.db.prisma", + "parent_span_id": "accbe51d70152d1e", + "span_id": "8a0242c7b9d51631", + "start_timestamp": 1791360470.9530752, + "status": "ok", + "timestamp": 1791360470.9861994, + "trace_id": "321ba5ca004f4b11bd60a8e3c64dfa2b", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "8a0242c7b9d51631", + "span_id": "99ad42b04588f3b7", + "start_timestamp": 1791360470.9536476, + "status": "ok", + "timestamp": 1791360470.9541638, + "trace_id": "321ba5ca004f4b11bd60a8e3c64dfa2b", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:connect", + "origin": "auto.db.prisma", + "parent_span_id": "8a0242c7b9d51631", + "span_id": "9b11835d27c1317b", + "start_timestamp": 1791360470.9599614, + "status": "ok", + "timestamp": 1791360470.981356, + "trace_id": "321ba5ca004f4b11bd60a8e3c64dfa2b", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connect", + "origin": "auto.db.prisma", + "parent_span_id": "9b11835d27c1317b", + "span_id": "be847b6138eeb613", + "start_timestamp": 1791360470.96024, + "status": "ok", + "timestamp": 1791360470.980433, + "trace_id": "321ba5ca004f4b11bd60a8e3c64dfa2b", + }, + { + "data": { + "db.system": "postgresql", + "sentry.op": "db", + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connection", + "op": "db", + "origin": "auto.db.prisma", + "parent_span_id": "be847b6138eeb613", + "span_id": "882f93c36b06ffb1", + "start_timestamp": 1791360470.9604607, "status": "ok", + "timestamp": 1791360470.9803452, + "trace_id": "321ba5ca004f4b11bd60a8e3c64dfa2b", }, - ObjectContaining { + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine", + "origin": "auto.db.prisma", + "parent_span_id": "8a0242c7b9d51631", + "span_id": "add6bd63fb007400", + "start_timestamp": 1791360470.9814885, + "status": "ok", + "timestamp": 1791360470.9834132, + "trace_id": "321ba5ca004f4b11bd60a8e3c64dfa2b", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:response_json_serialization", + "origin": "auto.db.prisma", + "parent_span_id": "add6bd63fb007400", + "span_id": "90d947979672e692", + "start_timestamp": 1791360470.9834058, + "status": "ok", + "timestamp": 1791360470.9834106, + "trace_id": "321ba5ca004f4b11bd60a8e3c64dfa2b", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "add6bd63fb007400", + "span_id": "aa6dc33ad9a9d26b", + "start_timestamp": 1791360470.9833727, + "status": "ok", + "timestamp": 1791360470.9833958, + "trace_id": "321ba5ca004f4b11bd60a8e3c64dfa2b", + }, + { + "data": { + "db.query.summary": "INSERT \"public\".\"User\"", + "db.statement": "INSERT INTO \"public\".\"User\" (\"createdAt
Bun Integration Tests (1/2)
Process completed with exit code 1.
[node-suites-bun-build] suites/tracing/prisma-orm-v6/test.ts > Prisma ORM v6 Tests > should instrument PostgreSQL queries from Prisma ORM [cjs]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v6/test.ts#L41
AssertionError: expected [ { data: { …(2) }, …(8) }, …(25) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "sentry.origin": "auto.db.prisma", }, "description": "prisma:client:detect_platform", "status": "ok", } + Received: [ { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:detect_platform", "origin": "auto.db.prisma", "parent_span_id": "8629b2c4cdad7643", "span_id": "a4923cba6abae937", "start_timestamp": 1791360443.5058153, "status": "ok", "timestamp": 1791360443.5437567, "trace_id": "8e4da26ae86a4492bd85b738463930c1", }, { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", "origin": "auto.db.prisma", "parent_span_id": "8629b2c4cdad7643", "span_id": "8f3a314d872b110b", "start_timestamp": 1791360443.5123038, "status": "ok", "timestamp": 1791360443.643351, "trace_id": "8e4da26ae86a4492bd85b738463930c1", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:serialize", "origin": "auto.db.prisma", "parent_span_id": "8f3a314d872b110b", "span_id": "9daf552f60a9d81c", "start_timestamp": 1791360443.513367, "status": "ok", "timestamp": 1791360443.514728, "trace_id": "8e4da26ae86a4492bd85b738463930c1", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:connect", "origin": "auto.db.prisma", "parent_span_id": "8f3a314d872b110b", "span_id": "834c4b012eef9feb", "start_timestamp": 1791360443.549768, "status": "ok", "timestamp": 1791360443.636983, "trace_id": "8e4da26ae86a4492bd85b738463930c1", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connect", "origin": "auto.db.prisma", "parent_span_id": "834c4b012eef9feb", "span_id": "abad50b412e0d241", "start_timestamp": 1791360443.550381, "status": "ok", "timestamp": 1791360443.6352212, "trace_id": "8e4da26ae86a4492bd85b738463930c1", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "abad50b412e0d241", "span_id": "94d0ed042a9827cb", "start_timestamp": 1791360443.5532825, "status": "ok", "timestamp": 1791360443.6351225, "trace_id": "8e4da26ae86a4492bd85b738463930c1", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:query", "origin": "auto.db.prisma", "parent_span_id": "8f3a314d872b110b", "span_id": "9623f05768e804f6", "start_timestamp": 1791360443.637173, "status": "ok", "timestamp": 1791360443.6393738, "trace_id": "8e4da26ae86a4492bd85b738463930c1", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "9623f05768e804f6", "span_id": "8c1a7d9781db3de0", "start_timestamp": 1791360443.637235, "status": "ok", "timestamp": 1791360443.6372812, "trace_id": "8e4da26ae86a4492bd85b738463930c1", }, { "data": { "db.query.summary": "INSERT \"public\".\"User\"", "db.query.text": "INSERT INTO \"public\".\"User\" (\"createdAt\",\"email\",\"name\") VALUES ($1,$2,$3) RETURNING \"public\".\"User\".\"id\", \"public\".
[node-suites-bun-build] suites/tracing/prisma-orm-v6/test.ts > Prisma ORM v6 Tests > should instrument PostgreSQL queries from Prisma ORM [esm]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v6/test.ts#L41
AssertionError: expected [ { data: { …(2) }, …(8) }, …(25) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "sentry.origin": "auto.db.prisma", }, "description": "prisma:client:detect_platform", "status": "ok", } + Received: [ { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:detect_platform", "origin": "auto.db.prisma", "parent_span_id": "bb5f04fbc03bb182", "span_id": "9043ecc76b638b35", "start_timestamp": 1791360442.594914, "status": "ok", "timestamp": 1791360442.6219015, "trace_id": "c10ee387105f435f9d6b0ae58d3a21c0", }, { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", "origin": "auto.db.prisma", "parent_span_id": "bb5f04fbc03bb182", "span_id": "a74c26fba786122c", "start_timestamp": 1791360442.5974486, "status": "ok", "timestamp": 1791360442.7320144, "trace_id": "c10ee387105f435f9d6b0ae58d3a21c0", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:serialize", "origin": "auto.db.prisma", "parent_span_id": "a74c26fba786122c", "span_id": "ad5ca4f8ecc9498d", "start_timestamp": 1791360442.5986624, "status": "ok", "timestamp": 1791360442.5999675, "trace_id": "c10ee387105f435f9d6b0ae58d3a21c0", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:connect", "origin": "auto.db.prisma", "parent_span_id": "a74c26fba786122c", "span_id": "aad1f4d034055a40", "start_timestamp": 1791360442.6283662, "status": "ok", "timestamp": 1791360442.72493, "trace_id": "c10ee387105f435f9d6b0ae58d3a21c0", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connect", "origin": "auto.db.prisma", "parent_span_id": "aad1f4d034055a40", "span_id": "b8e6353daf0f3f7f", "start_timestamp": 1791360442.6290903, "status": "ok", "timestamp": 1791360442.7231016, "trace_id": "c10ee387105f435f9d6b0ae58d3a21c0", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "b8e6353daf0f3f7f", "span_id": "bedc9b0660aa46a7", "start_timestamp": 1791360442.6294136, "status": "ok", "timestamp": 1791360442.7223706, "trace_id": "c10ee387105f435f9d6b0ae58d3a21c0", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:query", "origin": "auto.db.prisma", "parent_span_id": "a74c26fba786122c", "span_id": "9584450ab48cfde0", "start_timestamp": 1791360442.7250903, "status": "ok", "timestamp": 1791360442.7285244, "trace_id": "c10ee387105f435f9d6b0ae58d3a21c0", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "9584450ab48cfde0", "span_id": "81fd4613cffcabf8", "start_timestamp": 1791360442.7251577, "status": "ok", "timestamp": 1791360442.7251887, "trace_id": "c10ee387105f435f9d6b0ae58d3a21c0", }, { "data": { "db.query.summary": "INSERT \"public\".\"User\"", "db.query.text": "INSERT INTO \"public\".\"User\" (\"createdAt\",\"email\",\"name\") VALUES ($1,$2,$3) RETURNING \"public\".\"User\".\"id\", \"publ
[node-suites-bun-build] suites/tracing/prisma-orm-v5/test.ts > Prisma ORM v5 > Prisma ORM v5 Tests > should instrument PostgreSQL queries from Prisma ORM [cjs]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v5/test.ts#L36
AssertionError: expected [ { data: { …(5) }, …(8) }, …(44) ] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - ObjectContaining { + [ + { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", + "origin": "auto.db.prisma", + "parent_span_id": "a00fb967b99e89bb", + "span_id": "893d77fbb1837d0b", + "start_timestamp": 1791360456.5112076, + "status": "ok", + "timestamp": 1791360456.617534, + "trace_id": "a30750e015fa4c0096dad69d068e2551", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "893d77fbb1837d0b", + "span_id": "9355517275b24c3e", + "start_timestamp": 1791360456.5125616, + "status": "ok", + "timestamp": 1791360456.5136492, + "trace_id": "a30750e015fa4c0096dad69d068e2551", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:connect", + "origin": "auto.db.prisma", + "parent_span_id": "893d77fbb1837d0b", + "span_id": "a80c94c39467072d", + "start_timestamp": 1791360456.546223, + "status": "ok", + "timestamp": 1791360456.609602, + "trace_id": "a30750e015fa4c0096dad69d068e2551", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connect", + "origin": "auto.db.prisma", + "parent_span_id": "a80c94c39467072d", + "span_id": "ac785c05faa260a3", + "start_timestamp": 1791360456.5467517, + "status": "ok", + "timestamp": 1791360456.609141, + "trace_id": "a30750e015fa4c0096dad69d068e2551", + }, + { + "data": { + "db.system": "postgresql", + "sentry.op": "db", + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connection", + "op": "db", + "origin": "auto.db.prisma", + "parent_span_id": "ac785c05faa260a3", + "span_id": "81968d80dc5c8c01", + "start_timestamp": 1791360456.547139, "status": "ok", + "timestamp": 1791360456.609061, + "trace_id": "a30750e015fa4c0096dad69d068e2551", }, - ObjectContaining { + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine", + "origin": "auto.db.prisma", + "parent_span_id": "893d77fbb1837d0b", + "span_id": "93eea38674548019", + "start_timestamp": 1791360456.610061, + "status": "ok", + "timestamp": 1791360456.6122892, + "trace_id": "a30750e015fa4c0096dad69d068e2551", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:response_json_serialization", + "origin": "auto.db.prisma", + "parent_span_id": "93eea38674548019", + "span_id": "8ceac52a0aa221bb", + "start_timestamp": 1791360456.6122775, + "status": "ok", + "timestamp": 1791360456.6122847, + "trace_id": "a30750e015fa4c0096dad69d068e2551", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "93eea38674548019", + "span_id": "a7c7a1a7ed1e78fa", + "start_timestamp": 1791360456.6122205, + "status": "ok", + "timestamp": 1791360456.6122637, + "trace_id": "a30750e015fa4c0096dad69d068e2551", + }, + { + "data": { + "db.query.summary": "INSERT \"public\".\"User\"", + "db.statement": "INSERT INTO \"public\".\"User\" (\"createdAt\",
[node-suites-bun-build] suites/tracing/prisma-orm-v5/test.ts > Prisma ORM v5 > Prisma ORM v5 Tests > should instrument PostgreSQL queries from Prisma ORM [esm]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v5/test.ts#L36
AssertionError: expected [ { data: { …(5) }, …(8) }, …(44) ] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - ObjectContaining { + [ + { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", + "origin": "auto.db.prisma", + "parent_span_id": "bafb7d353d619af5", + "span_id": "9646b9cb53cdb424", + "start_timestamp": 1791360455.1409407, + "status": "ok", + "timestamp": 1791360455.2127657, + "trace_id": "1ba3dbedc9994c82b27b27a87a741a16", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "9646b9cb53cdb424", + "span_id": "b92456ee3e69a39d", + "start_timestamp": 1791360455.1422472, + "status": "ok", + "timestamp": 1791360455.1432626, + "trace_id": "1ba3dbedc9994c82b27b27a87a741a16", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:connect", + "origin": "auto.db.prisma", + "parent_span_id": "9646b9cb53cdb424", + "span_id": "a7e368daea2fbc72", + "start_timestamp": 1791360455.1678348, + "status": "ok", + "timestamp": 1791360455.2066178, + "trace_id": "1ba3dbedc9994c82b27b27a87a741a16", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connect", + "origin": "auto.db.prisma", + "parent_span_id": "a7e368daea2fbc72", + "span_id": "b10586ac31be8f90", + "start_timestamp": 1791360455.169356, + "status": "ok", + "timestamp": 1791360455.2062392, + "trace_id": "1ba3dbedc9994c82b27b27a87a741a16", + }, + { + "data": { + "db.system": "postgresql", + "sentry.op": "db", + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connection", + "op": "db", + "origin": "auto.db.prisma", + "parent_span_id": "b10586ac31be8f90", + "span_id": "b224841d87ff7476", + "start_timestamp": 1791360455.1697, "status": "ok", + "timestamp": 1791360455.2060099, + "trace_id": "1ba3dbedc9994c82b27b27a87a741a16", }, - ObjectContaining { + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine", + "origin": "auto.db.prisma", + "parent_span_id": "9646b9cb53cdb424", + "span_id": "ab1bc50812bd8355", + "start_timestamp": 1791360455.2071056, + "status": "ok", + "timestamp": 1791360455.2102194, + "trace_id": "1ba3dbedc9994c82b27b27a87a741a16", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:response_json_serialization", + "origin": "auto.db.prisma", + "parent_span_id": "ab1bc50812bd8355", + "span_id": "a3f955dec7d0f3d5", + "start_timestamp": 1791360455.2101233, + "status": "ok", + "timestamp": 1791360455.2101305, + "trace_id": "1ba3dbedc9994c82b27b27a87a741a16", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "ab1bc50812bd8355", + "span_id": "90c8c7d7252bd37f", + "start_timestamp": 1791360455.2100766, + "status": "ok", + "timestamp": 1791360455.2101011, + "trace_id": "1ba3dbedc9994c82b27b27a87a741a16", + }, + { + "data": { + "db.query.summary": "INSERT \"public\".\"User\"", + "db.statement": "INSERT INTO \"public\".\"User\" (\"createdAt
Node (20.19) Integration Tests (3/3)
Process completed with exit code 1.
suites/tracing/mongodb/test.ts > MongoDB auto-instrumentation > should auto-instrument `mongodb` package. [cjs]: dev-packages/node-integration-tests/suites/tracing/mongodb/test.ts#L195
AssertionError: expected [ { data: { …(12) }, …(9) }, …(8) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "db.collection.name": "movies", "db.connection_string": Any<String>, "db.namespace": "admin", "db.operation.name": "find", "db.query.text": "{\"title\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "server.address": Any<String>, "server.port": Any<Number>, }, "description": "{\"title\":\"?\"}", "op": "db", "origin": "auto.db.mongo", } + Received: [ { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:37491/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 37491, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "9ad64f5d6d368310", "span_id": "8cdcd22d89b3785b", "start_timestamp": 1791360402.6865234, "status": "ok", "timestamp": 1791360402.6947463, "trace_id": "b380f31ceae54a08a9c66f6c8954ba47", }, { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:37491/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 37491, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "9ad64f5d6d368310", "span_id": "9bbc67f2ad0c70e1", "start_timestamp": 1791360402.6997845, "status": "ok", "timestamp": 1791360402.7034743, "trace_id": "b380f31ceae54a08a9c66f6c8954ba47", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:37491/admin", "db.namespace": "admin", "db.operation.name": "insert", "db.query.text": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 37491, }, "description": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "9ad64f5d6d368310", "span_id": "b7bc37f42191a6c1", "start_timestamp": 1791360402.7017412, "status": "ok", "timestamp": 1791360402.7051525, "trace_id": "b380f31ceae54a08a9c66f6c8954ba47", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:37491/admin", "db.namespace": "admin", "db.operation.name": "find",
suites/tracing/mongodb/test.ts > MongoDB auto-instrumentation > should auto-instrument `mongodb` package. [esm]: dev-packages/node-integration-tests/suites/tracing/mongodb/test.ts#L195
AssertionError: expected [ { data: { …(12) }, …(9) }, …(8) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "db.collection.name": "movies", "db.connection_string": Any<String>, "db.namespace": "admin", "db.operation.name": "find", "db.query.text": "{\"title\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "server.address": Any<String>, "server.port": Any<Number>, }, "description": "{\"title\":\"?\"}", "op": "db", "origin": "auto.db.mongo", } + Received: [ { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:37491/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 37491, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "839702c70ec4f61f", "span_id": "ae6279851b1540e3", "start_timestamp": 1791360401.6800985, "status": "ok", "timestamp": 1791360401.6988282, "trace_id": "468b3e2e7fc64c80b15e3c5b739e802a", }, { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:37491/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 37491, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "839702c70ec4f61f", "span_id": "ba5d4661be85130c", "start_timestamp": 1791360401.7035182, "status": "ok", "timestamp": 1791360401.7071373, "trace_id": "468b3e2e7fc64c80b15e3c5b739e802a", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:37491/admin", "db.namespace": "admin", "db.operation.name": "insert", "db.query.text": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 37491, }, "description": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "839702c70ec4f61f", "span_id": "8a5b5ffa6440340e", "start_timestamp": 1791360401.7050793, "status": "ok", "timestamp": 1791360401.7148275, "trace_id": "468b3e2e7fc64c80b15e3c5b739e802a", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:37491/admin", "db.namespace": "admin", "db.operation.name": "find",
Node (24) Integration Tests (3/3)
Process completed with exit code 1.
suites/tracing/mongodb/test.ts > MongoDB auto-instrumentation > should auto-instrument `mongodb` package. [cjs]: dev-packages/node-integration-tests/suites/tracing/mongodb/test.ts#L195
AssertionError: expected [ { data: { …(12) }, …(9) }, …(8) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "db.collection.name": "movies", "db.connection_string": Any<String>, "db.namespace": "admin", "db.operation.name": "find", "db.query.text": "{\"title\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "server.address": Any<String>, "server.port": Any<Number>, }, "description": "{\"title\":\"?\"}", "op": "db", "origin": "auto.db.mongo", } + Received: [ { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:39491/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 39491, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "94dd0c1634c5cbb2", "span_id": "96ae310c22f5b79e", "start_timestamp": 1791360407.5561893, "status": "ok", "timestamp": 1791360407.562575, "trace_id": "1bd9280fe09547c488a14855c145432d", }, { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:39491/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 39491, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "94dd0c1634c5cbb2", "span_id": "83bd5adf2ff6aa78", "start_timestamp": 1791360407.5663016, "status": "ok", "timestamp": 1791360407.5689962, "trace_id": "1bd9280fe09547c488a14855c145432d", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:39491/admin", "db.namespace": "admin", "db.operation.name": "insert", "db.query.text": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 39491, }, "description": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "94dd0c1634c5cbb2", "span_id": "926ed583455c83f4", "start_timestamp": 1791360407.5676587, "status": "ok", "timestamp": 1791360407.5700846, "trace_id": "1bd9280fe09547c488a14855c145432d", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:39491/admin", "db.namespace": "admin", "db.operation.name": "find",
suites/tracing/mongodb/test.ts > MongoDB auto-instrumentation > should auto-instrument `mongodb` package. [esm]: dev-packages/node-integration-tests/suites/tracing/mongodb/test.ts#L195
AssertionError: expected [ { data: { …(12) }, …(9) }, …(8) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "db.collection.name": "movies", "db.connection_string": Any<String>, "db.namespace": "admin", "db.operation.name": "find", "db.query.text": "{\"title\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "server.address": Any<String>, "server.port": Any<Number>, }, "description": "{\"title\":\"?\"}", "op": "db", "origin": "auto.db.mongo", } + Received: [ { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:39491/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 39491, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "9dc1890eef39f4cc", "span_id": "ae6e9f83a8b18e54", "start_timestamp": 1791360406.8764672, "status": "ok", "timestamp": 1791360406.889371, "trace_id": "d71c8570eb37482284af9b65577cc43f", }, { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:39491/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 39491, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "9dc1890eef39f4cc", "span_id": "a281426e176e138c", "start_timestamp": 1791360406.894749, "status": "ok", "timestamp": 1791360406.8989837, "trace_id": "d71c8570eb37482284af9b65577cc43f", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:39491/admin", "db.namespace": "admin", "db.operation.name": "insert", "db.query.text": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 39491, }, "description": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "9dc1890eef39f4cc", "span_id": "a7a5c60387735b6c", "start_timestamp": 1791360406.8973835, "status": "ok", "timestamp": 1791360406.9072607, "trace_id": "d71c8570eb37482284af9b65577cc43f", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:39491/admin", "db.namespace": "admin", "db.operation.name": "find",
Node (22) Integration Tests (3/3)
Process completed with exit code 1.
suites/tracing/mongodb/test.ts > MongoDB auto-instrumentation > should auto-instrument `mongodb` package. [cjs]: dev-packages/node-integration-tests/suites/tracing/mongodb/test.ts#L195
AssertionError: expected [ { data: { …(12) }, …(9) }, …(8) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "db.collection.name": "movies", "db.connection_string": Any<String>, "db.namespace": "admin", "db.operation.name": "find", "db.query.text": "{\"title\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "server.address": Any<String>, "server.port": Any<Number>, }, "description": "{\"title\":\"?\"}", "op": "db", "origin": "auto.db.mongo", } + Received: [ { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:40323/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 40323, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "9e634c4fe2b884d8", "span_id": "aa504d984252a23d", "start_timestamp": 1791360402.1898797, "status": "ok", "timestamp": 1791360402.1946878, "trace_id": "714749ba53a74ca7abc90f667c833370", }, { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:40323/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 40323, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "9e634c4fe2b884d8", "span_id": "af6657d2d1c92577", "start_timestamp": 1791360402.1972547, "status": "ok", "timestamp": 1791360402.199284, "trace_id": "714749ba53a74ca7abc90f667c833370", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:40323/admin", "db.namespace": "admin", "db.operation.name": "insert", "db.query.text": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 40323, }, "description": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "9e634c4fe2b884d8", "span_id": "8e3af64e7d0dcce6", "start_timestamp": 1791360402.198355, "status": "ok", "timestamp": 1791360402.2001348, "trace_id": "714749ba53a74ca7abc90f667c833370", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:40323/admin", "db.namespace": "admin", "db.operation.name": "find",
suites/tracing/mongodb/test.ts > MongoDB auto-instrumentation > should auto-instrument `mongodb` package. [esm]: dev-packages/node-integration-tests/suites/tracing/mongodb/test.ts#L195
AssertionError: expected [ { data: { …(12) }, …(9) }, …(8) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "db.collection.name": "movies", "db.connection_string": Any<String>, "db.namespace": "admin", "db.operation.name": "find", "db.query.text": "{\"title\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "server.address": Any<String>, "server.port": Any<Number>, }, "description": "{\"title\":\"?\"}", "op": "db", "origin": "auto.db.mongo", } + Received: [ { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:40323/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 40323, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "b30e50a21d8b61de", "span_id": "a5da599ed1e78f1a", "start_timestamp": 1791360401.1343982, "status": "ok", "timestamp": 1791360401.1464272, "trace_id": "71e7ab63cba64bba870c5db649eaaa4c", }, { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:40323/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 40323, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "b30e50a21d8b61de", "span_id": "bcc8b6b4ff2ff1a4", "start_timestamp": 1791360401.1555614, "status": "ok", "timestamp": 1791360401.1586485, "trace_id": "71e7ab63cba64bba870c5db649eaaa4c", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:40323/admin", "db.namespace": "admin", "db.operation.name": "insert", "db.query.text": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 40323, }, "description": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "b30e50a21d8b61de", "span_id": "98c2ac78968de983", "start_timestamp": 1791360401.157246, "status": "ok", "timestamp": 1791360401.2798812, "trace_id": "71e7ab63cba64bba870c5db649eaaa4c", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:40323/admin", "db.namespace": "admin", "db.operation.name": "find",
Node (24) Integration Tests (2/3)
Process completed with exit code 1.
suites/tracing/prisma-orm-v6/test.ts > Prisma ORM v6 Tests > should instrument PostgreSQL queries from Prisma ORM [cjs]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v6/test.ts#L41
AssertionError: expected [ { data: { …(2) }, …(8) }, …(25) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "sentry.origin": "auto.db.prisma", }, "description": "prisma:client:detect_platform", "status": "ok", } + Received: [ { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:detect_platform", "origin": "auto.db.prisma", "parent_span_id": "a28a8aca1766c778", "span_id": "98ff575398931ca9", "start_timestamp": 1791360467.316873, "status": "ok", "timestamp": 1791360467.3230157, "trace_id": "b5080c650ab740e5bb1df641bf383fcf", }, { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", "origin": "auto.db.prisma", "parent_span_id": "a28a8aca1766c778", "span_id": "b4e0e82b6f7471ca", "start_timestamp": 1791360467.3187644, "status": "ok", "timestamp": 1791360467.3731692, "trace_id": "b5080c650ab740e5bb1df641bf383fcf", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:serialize", "origin": "auto.db.prisma", "parent_span_id": "b4e0e82b6f7471ca", "span_id": "843d5bb849b2e8d5", "start_timestamp": 1791360467.3191907, "status": "ok", "timestamp": 1791360467.3197641, "trace_id": "b5080c650ab740e5bb1df641bf383fcf", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:connect", "origin": "auto.db.prisma", "parent_span_id": "b4e0e82b6f7471ca", "span_id": "afe694447d26ca12", "start_timestamp": 1791360467.3267336, "status": "ok", "timestamp": 1791360467.3686738, "trace_id": "b5080c650ab740e5bb1df641bf383fcf", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connect", "origin": "auto.db.prisma", "parent_span_id": "afe694447d26ca12", "span_id": "b500f60abcaa0a47", "start_timestamp": 1791360467.326995, "status": "ok", "timestamp": 1791360467.3678405, "trace_id": "b5080c650ab740e5bb1df641bf383fcf", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "b500f60abcaa0a47", "span_id": "b7d512f6fbc48b53", "start_timestamp": 1791360467.3272233, "status": "ok", "timestamp": 1791360467.3677561, "trace_id": "b5080c650ab740e5bb1df641bf383fcf", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:query", "origin": "auto.db.prisma", "parent_span_id": "b4e0e82b6f7471ca", "span_id": "8c04d1f33344e634", "start_timestamp": 1791360467.3687804, "status": "ok", "timestamp": 1791360467.370863, "trace_id": "b5080c650ab740e5bb1df641bf383fcf", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "8c04d1f33344e634", "span_id": "89f64d814b1d987a", "start_timestamp": 1791360467.3688316, "status": "ok", "timestamp": 1791360467.3688493, "trace_id": "b5080c650ab740e5bb1df641bf383fcf", }, { "data": { "db.query.summary": "INSERT \"public\".\"User\"", "db.query.text": "INSERT INTO \"public\".\"User\" (\"createdAt\",\"email\",\"name\") VALUES ($1,$2,$3) RETURNING \"public\".\"User\".\"id\", \"publ
suites/tracing/prisma-orm-v6/test.ts > Prisma ORM v6 Tests > should instrument PostgreSQL queries from Prisma ORM [esm]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v6/test.ts#L41
AssertionError: expected [ { data: { …(2) }, …(8) }, …(25) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "sentry.origin": "auto.db.prisma", }, "description": "prisma:client:detect_platform", "status": "ok", } + Received: [ { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:detect_platform", "origin": "auto.db.prisma", "parent_span_id": "89f485528ac9e5f3", "span_id": "bf7f5665062b9ef0", "start_timestamp": 1791360467.0108657, "status": "ok", "timestamp": 1791360467.017516, "trace_id": "5c5038f9092347ad8361a81e9d670c5b", }, { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", "origin": "auto.db.prisma", "parent_span_id": "89f485528ac9e5f3", "span_id": "ae60497fa6231348", "start_timestamp": 1791360467.012866, "status": "ok", "timestamp": 1791360467.0681186, "trace_id": "5c5038f9092347ad8361a81e9d670c5b", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:serialize", "origin": "auto.db.prisma", "parent_span_id": "ae60497fa6231348", "span_id": "9c274053c1fef3a9", "start_timestamp": 1791360467.013217, "status": "ok", "timestamp": 1791360467.0138018, "trace_id": "5c5038f9092347ad8361a81e9d670c5b", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:connect", "origin": "auto.db.prisma", "parent_span_id": "ae60497fa6231348", "span_id": "ac56758d6582e7d3", "start_timestamp": 1791360467.0213296, "status": "ok", "timestamp": 1791360467.063601, "trace_id": "5c5038f9092347ad8361a81e9d670c5b", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connect", "origin": "auto.db.prisma", "parent_span_id": "ac56758d6582e7d3", "span_id": "bfd36c0716930575", "start_timestamp": 1791360467.021557, "status": "ok", "timestamp": 1791360467.0627267, "trace_id": "5c5038f9092347ad8361a81e9d670c5b", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "bfd36c0716930575", "span_id": "844caa0dca121585", "start_timestamp": 1791360467.0217557, "status": "ok", "timestamp": 1791360467.062649, "trace_id": "5c5038f9092347ad8361a81e9d670c5b", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:query", "origin": "auto.db.prisma", "parent_span_id": "ae60497fa6231348", "span_id": "ab19a116ff9c0d16", "start_timestamp": 1791360467.0636983, "status": "ok", "timestamp": 1791360467.0657523, "trace_id": "5c5038f9092347ad8361a81e9d670c5b", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "ab19a116ff9c0d16", "span_id": "afbfe826134686c7", "start_timestamp": 1791360467.063748, "status": "ok", "timestamp": 1791360467.0637727, "trace_id": "5c5038f9092347ad8361a81e9d670c5b", }, { "data": { "db.query.summary": "INSERT \"public\".\"User\"", "db.query.text": "INSERT INTO \"public\".\"User\" (\"createdAt\",\"email\",\"name\") VALUES ($1,$2,$3) RETURNING \"public\".\"User\".\"id\", \"public\"
suites/tracing/prisma-orm-v5/test.ts > Prisma ORM v5 > Prisma ORM v5 Tests > should instrument PostgreSQL queries from Prisma ORM [cjs]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v5/test.ts#L36
AssertionError: expected [ { data: { …(5) }, …(8) }, …(44) ] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - ObjectContaining { + [ + { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", + "origin": "auto.db.prisma", + "parent_span_id": "ad7462305b83cb6e", + "span_id": "9b032305beef759b", + "start_timestamp": 1791360486.6782036, + "status": "ok", + "timestamp": 1791360486.722229, + "trace_id": "79fc43240d4a4e34b1582722e4aec24b", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "9b032305beef759b", + "span_id": "b93869fd9e726552", + "start_timestamp": 1791360486.6787586, + "status": "ok", + "timestamp": 1791360486.6793158, + "trace_id": "79fc43240d4a4e34b1582722e4aec24b", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:connect", + "origin": "auto.db.prisma", + "parent_span_id": "9b032305beef759b", + "span_id": "bba0aaf25a20ccf0", + "start_timestamp": 1791360486.6874263, + "status": "ok", + "timestamp": 1791360486.719709, + "trace_id": "79fc43240d4a4e34b1582722e4aec24b", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connect", + "origin": "auto.db.prisma", + "parent_span_id": "bba0aaf25a20ccf0", + "span_id": "a981a83b8c5886a5", + "start_timestamp": 1791360486.6877437, + "status": "ok", + "timestamp": 1791360486.7183506, + "trace_id": "79fc43240d4a4e34b1582722e4aec24b", + }, + { + "data": { + "db.system": "postgresql", + "sentry.op": "db", + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connection", + "op": "db", + "origin": "auto.db.prisma", + "parent_span_id": "a981a83b8c5886a5", + "span_id": "938a93219a4f294e", + "start_timestamp": 1791360486.688051, "status": "ok", + "timestamp": 1791360486.718243, + "trace_id": "79fc43240d4a4e34b1582722e4aec24b", }, - ObjectContaining { + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine", + "origin": "auto.db.prisma", + "parent_span_id": "9b032305beef759b", + "span_id": "9f95438d7b2f19de", + "start_timestamp": 1791360486.7198653, + "status": "ok", + "timestamp": 1791360486.7217731, + "trace_id": "79fc43240d4a4e34b1582722e4aec24b", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:response_json_serialization", + "origin": "auto.db.prisma", + "parent_span_id": "9f95438d7b2f19de", + "span_id": "980145beb40fcb12", + "start_timestamp": 1791360486.7217593, + "status": "ok", + "timestamp": 1791360486.7217672, + "trace_id": "79fc43240d4a4e34b1582722e4aec24b", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "9f95438d7b2f19de", + "span_id": "827e576a78503869", + "start_timestamp": 1791360486.7217116, + "status": "ok", + "timestamp": 1791360486.7217402, + "trace_id": "79fc43240d4a4e34b1582722e4aec24b", + }, + { + "data": { + "db.query.summary": "INSERT \"public\".\"User\"", + "db.statement": "INSERT INTO \"public\".\"User\" (\"createdAt
suites/tracing/prisma-orm-v5/test.ts > Prisma ORM v5 > Prisma ORM v5 Tests > should instrument PostgreSQL queries from Prisma ORM [esm]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v5/test.ts#L36
AssertionError: expected [ { data: { …(5) }, …(8) }, …(44) ] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - ObjectContaining { + [ + { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", + "origin": "auto.db.prisma", + "parent_span_id": "bd2f3ff4a1ecd4ff", + "span_id": "9c6e9ab3d9cbfbe1", + "start_timestamp": 1791360485.8339295, + "status": "ok", + "timestamp": 1791360485.8767598, + "trace_id": "c314e04ca6784abb803d900f7036f02f", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "9c6e9ab3d9cbfbe1", + "span_id": "9342ad89850501a6", + "start_timestamp": 1791360485.8344479, + "status": "ok", + "timestamp": 1791360485.834892, + "trace_id": "c314e04ca6784abb803d900f7036f02f", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:connect", + "origin": "auto.db.prisma", + "parent_span_id": "9c6e9ab3d9cbfbe1", + "span_id": "bf65a936fc8cdbb7", + "start_timestamp": 1791360485.8414643, + "status": "ok", + "timestamp": 1791360485.873728, + "trace_id": "c314e04ca6784abb803d900f7036f02f", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connect", + "origin": "auto.db.prisma", + "parent_span_id": "bf65a936fc8cdbb7", + "span_id": "b77bb454dd2309c0", + "start_timestamp": 1791360485.8416686, + "status": "ok", + "timestamp": 1791360485.8726487, + "trace_id": "c314e04ca6784abb803d900f7036f02f", + }, + { + "data": { + "db.system": "postgresql", + "sentry.op": "db", + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connection", + "op": "db", + "origin": "auto.db.prisma", + "parent_span_id": "b77bb454dd2309c0", + "span_id": "80c6d6b6194cd861", + "start_timestamp": 1791360485.841916, "status": "ok", + "timestamp": 1791360485.872495, + "trace_id": "c314e04ca6784abb803d900f7036f02f", }, - ObjectContaining { + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine", + "origin": "auto.db.prisma", + "parent_span_id": "9c6e9ab3d9cbfbe1", + "span_id": "8a2c8c744bb40168", + "start_timestamp": 1791360485.8738678, + "status": "ok", + "timestamp": 1791360485.8763497, + "trace_id": "c314e04ca6784abb803d900f7036f02f", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:response_json_serialization", + "origin": "auto.db.prisma", + "parent_span_id": "8a2c8c744bb40168", + "span_id": "9cdd298762797a2a", + "start_timestamp": 1791360485.8763373, + "status": "ok", + "timestamp": 1791360485.8763447, + "trace_id": "c314e04ca6784abb803d900f7036f02f", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "8a2c8c744bb40168", + "span_id": "913b06adefc4d8b3", + "start_timestamp": 1791360485.8762693, + "status": "ok", + "timestamp": 1791360485.8763194, + "trace_id": "c314e04ca6784abb803d900f7036f02f", + }, + { + "data": { + "db.query.summary": "INSERT \"public\".\"User\"", + "db.statement": "INSERT INTO \"public\".\"User\" (\"createdAt
Node (20.19) Integration Tests (2/3)
Process completed with exit code 1.
suites/tracing/prisma-orm-v6/test.ts > Prisma ORM v6 Tests > should instrument PostgreSQL queries from Prisma ORM [cjs]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v6/test.ts#L41
AssertionError: expected [ { data: { …(2) }, …(8) }, …(25) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "sentry.origin": "auto.db.prisma", }, "description": "prisma:client:detect_platform", "status": "ok", } + Received: [ { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:detect_platform", "origin": "auto.db.prisma", "parent_span_id": "848fbfa733f77a9f", "span_id": "85f15d7d31138cdf", "start_timestamp": 1791360453.9402206, "status": "ok", "timestamp": 1791360453.9479384, "trace_id": "aa52d88d3e9d4879b1b145c98832139c", }, { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", "origin": "auto.db.prisma", "parent_span_id": "848fbfa733f77a9f", "span_id": "8166cc244ef6e5f5", "start_timestamp": 1791360453.942623, "status": "ok", "timestamp": 1791360454.00176, "trace_id": "aa52d88d3e9d4879b1b145c98832139c", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:serialize", "origin": "auto.db.prisma", "parent_span_id": "8166cc244ef6e5f5", "span_id": "b402b596883044ee", "start_timestamp": 1791360453.943195, "status": "ok", "timestamp": 1791360453.9438488, "trace_id": "aa52d88d3e9d4879b1b145c98832139c", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:connect", "origin": "auto.db.prisma", "parent_span_id": "8166cc244ef6e5f5", "span_id": "828fb83e66d16d3a", "start_timestamp": 1791360453.952762, "status": "ok", "timestamp": 1791360453.9967456, "trace_id": "aa52d88d3e9d4879b1b145c98832139c", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connect", "origin": "auto.db.prisma", "parent_span_id": "828fb83e66d16d3a", "span_id": "b3024c839815c523", "start_timestamp": 1791360453.953139, "status": "ok", "timestamp": 1791360453.9953656, "trace_id": "aa52d88d3e9d4879b1b145c98832139c", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "b3024c839815c523", "span_id": "a66424f8acd2cad4", "start_timestamp": 1791360453.9533987, "status": "ok", "timestamp": 1791360453.9952927, "trace_id": "aa52d88d3e9d4879b1b145c98832139c", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:query", "origin": "auto.db.prisma", "parent_span_id": "8166cc244ef6e5f5", "span_id": "8985acfa51e40c0e", "start_timestamp": 1791360453.996866, "status": "ok", "timestamp": 1791360453.998514, "trace_id": "aa52d88d3e9d4879b1b145c98832139c", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "8985acfa51e40c0e", "span_id": "84fd05972ce81f0a", "start_timestamp": 1791360453.9969141, "status": "ok", "timestamp": 1791360453.9969418, "trace_id": "aa52d88d3e9d4879b1b145c98832139c", }, { "data": { "db.query.summary": "INSERT \"public\".\"User\"", "db.query.text": "INSERT INTO \"public\".\"User\" (\"createdAt\",\"email\",\"name\") VALUES ($1,$2,$3) RETURNING \"public\".\"User\".\"id\", \"public\".
suites/tracing/prisma-orm-v6/test.ts > Prisma ORM v6 Tests > should instrument PostgreSQL queries from Prisma ORM [esm]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v6/test.ts#L41
AssertionError: expected [ { data: { …(2) }, …(8) }, …(25) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "sentry.origin": "auto.db.prisma", }, "description": "prisma:client:detect_platform", "status": "ok", } + Received: [ { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:detect_platform", "origin": "auto.db.prisma", "parent_span_id": "a76d57375330ec3a", "span_id": "8f0005b8edcb381e", "start_timestamp": 1791360453.1592696, "status": "ok", "timestamp": 1791360453.16663, "trace_id": "767a3513e93f44628493b97630604915", }, { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", "origin": "auto.db.prisma", "parent_span_id": "a76d57375330ec3a", "span_id": "b42b3ac7ab4a21e8", "start_timestamp": 1791360453.1615286, "status": "ok", "timestamp": 1791360453.2200975, "trace_id": "767a3513e93f44628493b97630604915", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:serialize", "origin": "auto.db.prisma", "parent_span_id": "b42b3ac7ab4a21e8", "span_id": "98dfe6b8ac02e661", "start_timestamp": 1791360453.1621017, "status": "ok", "timestamp": 1791360453.1627717, "trace_id": "767a3513e93f44628493b97630604915", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:connect", "origin": "auto.db.prisma", "parent_span_id": "b42b3ac7ab4a21e8", "span_id": "b9a5946af8996bf4", "start_timestamp": 1791360453.170825, "status": "ok", "timestamp": 1791360453.2151563, "trace_id": "767a3513e93f44628493b97630604915", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connect", "origin": "auto.db.prisma", "parent_span_id": "b9a5946af8996bf4", "span_id": "b0be0e5bd7f8ab02", "start_timestamp": 1791360453.1711822, "status": "ok", "timestamp": 1791360453.2138915, "trace_id": "767a3513e93f44628493b97630604915", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "b0be0e5bd7f8ab02", "span_id": "aafc7b00922dec6f", "start_timestamp": 1791360453.1714473, "status": "ok", "timestamp": 1791360453.2137957, "trace_id": "767a3513e93f44628493b97630604915", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:query", "origin": "auto.db.prisma", "parent_span_id": "b42b3ac7ab4a21e8", "span_id": "9fb5f3adaed95d12", "start_timestamp": 1791360453.2152753, "status": "ok", "timestamp": 1791360453.2174735, "trace_id": "767a3513e93f44628493b97630604915", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "9fb5f3adaed95d12", "span_id": "97fb6b94431a7556", "start_timestamp": 1791360453.2153304, "status": "ok", "timestamp": 1791360453.2153473, "trace_id": "767a3513e93f44628493b97630604915", }, { "data": { "db.query.summary": "INSERT \"public\".\"User\"", "db.query.text": "INSERT INTO \"public\".\"User\" (\"createdAt\",\"email\",\"name\") VALUES ($1,$2,$3) RETURNING \"public\".\"User\".\"id\", \"publ
suites/tracing/prisma-orm-v5/test.ts > Prisma ORM v5 > Prisma ORM v5 Tests > should instrument PostgreSQL queries from Prisma ORM [cjs]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v5/test.ts#L36
AssertionError: expected [ { data: { …(5) }, …(8) }, …(44) ] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - ObjectContaining { + [ + { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", + "origin": "auto.db.prisma", + "parent_span_id": "816e113f052f77d1", + "span_id": "b3d9b902db13d8ed", + "start_timestamp": 1791360473.9565184, + "status": "ok", + "timestamp": 1791360474.0364707, + "trace_id": "31160293ba0240a88440221aab565963", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "b3d9b902db13d8ed", + "span_id": "aa337d1e6e6973e7", + "start_timestamp": 1791360473.9577558, + "status": "ok", + "timestamp": 1791360473.9587462, + "trace_id": "31160293ba0240a88440221aab565963", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:connect", + "origin": "auto.db.prisma", + "parent_span_id": "b3d9b902db13d8ed", + "span_id": "8ccfd6ff7d6f395d", + "start_timestamp": 1791360473.985403, + "status": "ok", + "timestamp": 1791360474.0332274, + "trace_id": "31160293ba0240a88440221aab565963", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connect", + "origin": "auto.db.prisma", + "parent_span_id": "8ccfd6ff7d6f395d", + "span_id": "8c932ccf83dfa364", + "start_timestamp": 1791360473.987724, + "status": "ok", + "timestamp": 1791360474.032667, + "trace_id": "31160293ba0240a88440221aab565963", + }, + { + "data": { + "db.system": "postgresql", + "sentry.op": "db", + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connection", + "op": "db", + "origin": "auto.db.prisma", + "parent_span_id": "8c932ccf83dfa364", + "span_id": "ba78c9ac19be4429", + "start_timestamp": 1791360473.988065, "status": "ok", + "timestamp": 1791360474.0324898, + "trace_id": "31160293ba0240a88440221aab565963", }, - ObjectContaining { + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine", + "origin": "auto.db.prisma", + "parent_span_id": "b3d9b902db13d8ed", + "span_id": "bc1d3d679d6f23a1", + "start_timestamp": 1791360474.033452, + "status": "ok", + "timestamp": 1791360474.0360894, + "trace_id": "31160293ba0240a88440221aab565963", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:response_json_serialization", + "origin": "auto.db.prisma", + "parent_span_id": "bc1d3d679d6f23a1", + "span_id": "a95ea35ccb9350b6", + "start_timestamp": 1791360474.0360801, + "status": "ok", + "timestamp": 1791360474.0360858, + "trace_id": "31160293ba0240a88440221aab565963", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "bc1d3d679d6f23a1", + "span_id": "b0be0f2939003c3d", + "start_timestamp": 1791360474.0360217, + "status": "ok", + "timestamp": 1791360474.0360665, + "trace_id": "31160293ba0240a88440221aab565963", + }, + { + "data": { + "db.query.summary": "INSERT \"public\".\"User\"", + "db.statement": "INSERT INTO \"public\".\"User\" (\"createdAt\
suites/tracing/prisma-orm-v5/test.ts > Prisma ORM v5 > Prisma ORM v5 Tests > should instrument PostgreSQL queries from Prisma ORM [esm]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v5/test.ts#L36
AssertionError: expected [ { data: { …(5) }, …(8) }, …(44) ] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - ObjectContaining { + [ + { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", + "origin": "auto.db.prisma", + "parent_span_id": "bd8e07bca421ad8e", + "span_id": "8f7e99105c303dff", + "start_timestamp": 1791360472.4224348, + "status": "ok", + "timestamp": 1791360472.466013, + "trace_id": "1678c68d5fc0480092be87ecfad51c4c", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "8f7e99105c303dff", + "span_id": "af63cf91f14acdca", + "start_timestamp": 1791360472.423318, + "status": "ok", + "timestamp": 1791360472.4239311, + "trace_id": "1678c68d5fc0480092be87ecfad51c4c", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:connect", + "origin": "auto.db.prisma", + "parent_span_id": "8f7e99105c303dff", + "span_id": "8d2dfd0774b032fb", + "start_timestamp": 1791360472.4354668, + "status": "ok", + "timestamp": 1791360472.4611957, + "trace_id": "1678c68d5fc0480092be87ecfad51c4c", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connect", + "origin": "auto.db.prisma", + "parent_span_id": "8d2dfd0774b032fb", + "span_id": "ad2fb47a10e3dff9", + "start_timestamp": 1791360472.4357357, + "status": "ok", + "timestamp": 1791360472.4600115, + "trace_id": "1678c68d5fc0480092be87ecfad51c4c", + }, + { + "data": { + "db.system": "postgresql", + "sentry.op": "db", + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connection", + "op": "db", + "origin": "auto.db.prisma", + "parent_span_id": "ad2fb47a10e3dff9", + "span_id": "a410ed656a4400a4", + "start_timestamp": 1791360472.436015, "status": "ok", + "timestamp": 1791360472.459854, + "trace_id": "1678c68d5fc0480092be87ecfad51c4c", }, - ObjectContaining { + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine", + "origin": "auto.db.prisma", + "parent_span_id": "8f7e99105c303dff", + "span_id": "8a39fe848f325541", + "start_timestamp": 1791360472.4613836, + "status": "ok", + "timestamp": 1791360472.4636688, + "trace_id": "1678c68d5fc0480092be87ecfad51c4c", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:response_json_serialization", + "origin": "auto.db.prisma", + "parent_span_id": "8a39fe848f325541", + "span_id": "989b5b3c60597177", + "start_timestamp": 1791360472.4636571, + "status": "ok", + "timestamp": 1791360472.4636638, + "trace_id": "1678c68d5fc0480092be87ecfad51c4c", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "8a39fe848f325541", + "span_id": "bca81651be68b880", + "start_timestamp": 1791360472.4636183, + "status": "ok", + "timestamp": 1791360472.4636421, + "trace_id": "1678c68d5fc0480092be87ecfad51c4c", + }, + { + "data": { + "db.query.summary": "INSERT \"public\".\"User\"", + "db.statement": "INSERT INTO \"public\".\"User\" (\"createdAt
Playwright esm (4/4) Tests
Process completed with exit code 1.
[chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts#L29
2) [chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.browser.measure_happened_before_request": true, "sentry.browser.measure_start_time": Any<Number>, "sentry.op": "measure", "sentry.origin": "auto.browser.user_timing.measure", + "sentry.trace_lifecycle": "static", } 27 | 28 | expect(requestSpan!.start_timestamp).toBeLessThanOrEqual(measureSpan!.start_timestamp); > 29 | expect(measureSpan?.data).toEqual({ | ^ 30 | 'sentry.browser.measure_happened_before_request': true, 31 | 'sentry.browser.measure_start_time': expect.any(Number), 32 | 'sentry.op': 'measure', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts:29:29
[chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts#L79
1) [chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -22,10 +22,11 @@ "network.protocol.name": "", "network.protocol.version": "unknown", "resource.render_blocking_status": "non-blocking", "sentry.op": "resource.img", "sentry.origin": "auto.resource.browser.metrics", + "sentry.trace_lifecycle": "static", "server.address": "sentry-test-site.example", "url.domain": "sentry-test-site.example", "url.full": "https://sentry-test-site.example/path/to/image.svg", "url.scheme": "https", }, 77 | ); 78 | > 79 | expect(imgSpan).toEqual({ | ^ 80 | data: { 81 | 'http.response.body.decoded_size': expect.any(Number), 82 | 'http.response.body.size': expect.any(Number), at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts:79:19
Playwright bundle_tracing_logs_metrics Tests
Process completed with exit code 1.
[chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts#L29
9) [chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.browser.measure_happened_before_request": true, "sentry.browser.measure_start_time": Any<Number>, "sentry.op": "measure", "sentry.origin": "auto.browser.user_timing.measure", + "sentry.trace_lifecycle": "static", } 27 | 28 | expect(requestSpan!.start_timestamp).toBeLessThanOrEqual(measureSpan!.start_timestamp); > 29 | expect(measureSpan?.data).toEqual({ | ^ 30 | 'sentry.browser.measure_happened_before_request': true, 31 | 'sentry.browser.measure_start_time': expect.any(Number), 32 | 'sentry.op': 'measure', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts:29:29
[chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts#L79
8) [chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -22,10 +22,11 @@ "network.protocol.name": "", "network.protocol.version": "unknown", "resource.render_blocking_status": "non-blocking", "sentry.op": "resource.img", "sentry.origin": "auto.resource.browser.metrics", + "sentry.trace_lifecycle": "static", "server.address": "sentry-test-site.example", "url.domain": "sentry-test-site.example", "url.full": "https://sentry-test-site.example/path/to/image.svg", "url.scheme": "https", }, 77 | ); 78 | > 79 | expect(imgSpan).toEqual({ | ^ 80 | data: { 81 | 'http.response.body.decoded_size': expect.any(Number), 82 | 'http.response.body.size': expect.any(Number), at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts:79:19
[chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts#L53
7) [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": "http://sentry-test.io/sub-page", "url.path": "/sub-page", }, "description": "/sub-page", "op": "navigation.redirect", 51 | const redirectSpan = spans.find(span => span.op === 'navigation.redirect'); 52 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 53 | expect(redirectSpan).toEqual({ | ^ 54 | data: { 55 | 'sentry.op': 'navigation.redirect', 56 | 'sentry.origin': 'auto.navigation.browser', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:53:24
[chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts#L57
6) [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": Any<String>, "url.path": Any<String>, }, "description": StringContaining "/sub-page-redirect-", "op": "navigation.redirect", 55 | redirectSpans.forEach(redirectSpan => { 56 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 57 | expect(redirectSpan).toEqual({ | ^ 58 | data: { 59 | 'sentry.op': 'navigation.redirect', 60 | 'sentry.origin': 'auto.navigation.browser', at forEach (/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:57:28) at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:55:19
[chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts#L94
5) [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "BUTTON#clickme.onclick", "browser.script.invoker_type": "event-listener", "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "870a2159c405d55b", + "span_id": "8ea059639c0a7368", + "start_timestamp": 1791360522.3151, + "status": "ok", + "timestamp": 1791360522.4212, + "trace_id": "7ce1859d6aef41b6a0ddb4a977d2f3d7", } 92 | const eventListenerUISpan = uiSpans.find(span => span.data['browser.script.invoker'] === 'BUTTON#clickme.onclick')!; 93 | > 94 | expect(eventListenerUISpan).toEqual( | ^ 95 | expect.objectContaining({ 96 | op: 'ui.long_animation_frame', 97 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:94:33
[chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts#L39
4) [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "https://sentry-test-site.example/path/to/script.js", "browser.script.invoker_type": "classic-script", "browser.script.source_char_position": 0, "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "90c951cabdd3c4ac", + "span_id": "ae322a7866805554", + "start_timestamp": 1791360522.1243, + "status": "ok", + "timestamp": 1791360522.2291, + "trace_id": "630a9c3475fd4a27808af33291f8893b", } 37 | span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js', 38 | )!; > 39 | expect(topLevelUISpan).toEqual( | ^ 40 | expect.objectContaining({ 41 | op: 'ui.long_animation_frame', 42 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:39:28
[chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts#L92
3) [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "BUTTON#clickme.onclick", "browser.script.invoker_type": "event-listener", "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "9491663b7005d8ae", + "span_id": "922ba2ac66ed5d1b", + "start_timestamp": 1791360521.1636002, + "status": "ok", + "timestamp": 1791360521.2693002, + "trace_id": "4688e63287e04a29b08d50e624a3c38e", } 90 | const eventListenerUISpan = uiSpans.find(span => span.data['browser.script.invoker'] === 'BUTTON#clickme.onclick')!; 91 | > 92 | expect(eventListenerUISpan).toEqual( | ^ 93 | expect.objectContaining({ 94 | op: 'ui.long_animation_frame', 95 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:92:33
[chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts#L37
2) [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "https://sentry-test-site.example/path/to/script.js", "browser.script.invoker_type": "classic-script", "browser.script.source_char_position": 0, "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "98e2f3d77b5f190d", + "span_id": "938fef3c5c80f1a9", + "start_timestamp": 1791360520.9027, + "status": "ok", + "timestamp": 1791360521.0072, + "trace_id": "fd42109169d8490db1193412d2734414", } 35 | span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js', 36 | )!; > 37 | expect(topLevelUISpan).toEqual( | ^ 38 | expect.objectContaining({ 39 | op: 'ui.long_animation_frame', 40 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:37:28
[chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source: dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts#L23
1) [chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", } 21 | 22 | const attributes = transaction.contexts?.trace?.data; > 23 | expect(attributes).toEqual({ | ^ 24 | [SENTRY_ORIGIN]: 'manual', 25 | [SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]: 1, 26 | [SENTRY_SEGMENT_NAME_SOURCE]: 'custom', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts:23:24
Playwright esm (3/4) Tests
Process completed with exit code 1.
[chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts#L53
6) [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": "http://sentry-test.io/sub-page", "url.path": "/sub-page", }, "description": "/sub-page", "op": "navigation.redirect", 51 | const redirectSpan = spans.find(span => span.op === 'navigation.redirect'); 52 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 53 | expect(redirectSpan).toEqual({ | ^ 54 | data: { 55 | 'sentry.op': 'navigation.redirect', 56 | 'sentry.origin': 'auto.navigation.browser', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:53:24
[chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts#L57
5) [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": Any<String>, "url.path": Any<String>, }, "description": StringContaining "/sub-page-redirect-", "op": "navigation.redirect", 55 | redirectSpans.forEach(redirectSpan => { 56 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 57 | expect(redirectSpan).toEqual({ | ^ 58 | data: { 59 | 'sentry.op': 'navigation.redirect', 60 | 'sentry.origin': 'auto.navigation.browser', at forEach (/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:57:28) at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:55:19
[chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts#L94
4) [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "BUTTON#clickme.onclick", "browser.script.invoker_type": "event-listener", "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "87f425513da1794e", + "span_id": "bc2f8f55b265ce69", + "start_timestamp": 1791360550.8852003, + "status": "ok", + "timestamp": 1791360550.9913003, + "trace_id": "692d534f32864638b455950883389e71", } 92 | const eventListenerUISpan = uiSpans.find(span => span.data['browser.script.invoker'] === 'BUTTON#clickme.onclick')!; 93 | > 94 | expect(eventListenerUISpan).toEqual( | ^ 95 | expect.objectContaining({ 96 | op: 'ui.long_animation_frame', 97 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:94:33
[chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts#L39
3) [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "https://sentry-test-site.example/path/to/script.js", "browser.script.invoker_type": "classic-script", "browser.script.source_char_position": 0, "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "baecadda308578cf", + "span_id": "bc84ca3e42aa233c", + "start_timestamp": 1791360550.0338001, + "status": "ok", + "timestamp": 1791360550.1382, + "trace_id": "ba511a1a265f4fe386f6df4df5372080", } 37 | span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js', 38 | )!; > 39 | expect(topLevelUISpan).toEqual( | ^ 40 | expect.objectContaining({ 41 | op: 'ui.long_animation_frame', 42 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:39:28
[chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts#L92
2) [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "BUTTON#clickme.onclick", "browser.script.invoker_type": "event-listener", "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "aec98d2c271a4526", + "span_id": "807ce9aba3813eb6", + "start_timestamp": 1791360548.3845, + "status": "ok", + "timestamp": 1791360548.4913, + "trace_id": "44d2edb548b74cf6bf3e71184d62b95a", } 90 | const eventListenerUISpan = uiSpans.find(span => span.data['browser.script.invoker'] === 'BUTTON#clickme.onclick')!; 91 | > 92 | expect(eventListenerUISpan).toEqual( | ^ 93 | expect.objectContaining({ 94 | op: 'ui.long_animation_frame', 95 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:92:33
[chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts#L37
1) [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "https://sentry-test-site.example/path/to/script.js", "browser.script.invoker_type": "classic-script", "browser.script.source_char_position": 0, "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "a62a9f5b1a4b99f5", + "span_id": "b3d7e647cbd9297f", + "start_timestamp": 1791360547.9056, + "status": "ok", + "timestamp": 1791360548.01, + "trace_id": "7dfbea382e4441679e39791fb69d43a9", } 35 | span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js', 36 | )!; > 37 | expect(topLevelUISpan).toEqual( | ^ 38 | expect.objectContaining({ 39 | op: 'ui.long_animation_frame', 40 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:37:28
Playwright bundle_tracing_replay_logs_metrics Tests
Process completed with exit code 1.
[chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts#L29
9) [chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.browser.measure_happened_before_request": true, "sentry.browser.measure_start_time": Any<Number>, "sentry.op": "measure", "sentry.origin": "auto.browser.user_timing.measure", + "sentry.trace_lifecycle": "static", } 27 | 28 | expect(requestSpan!.start_timestamp).toBeLessThanOrEqual(measureSpan!.start_timestamp); > 29 | expect(measureSpan?.data).toEqual({ | ^ 30 | 'sentry.browser.measure_happened_before_request': true, 31 | 'sentry.browser.measure_start_time': expect.any(Number), 32 | 'sentry.op': 'measure', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts:29:29
[chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts#L79
8) [chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -22,10 +22,11 @@ "network.protocol.name": "", "network.protocol.version": "unknown", "resource.render_blocking_status": "non-blocking", "sentry.op": "resource.img", "sentry.origin": "auto.resource.browser.metrics", + "sentry.trace_lifecycle": "static", "server.address": "sentry-test-site.example", "url.domain": "sentry-test-site.example", "url.full": "https://sentry-test-site.example/path/to/image.svg", "url.scheme": "https", }, 77 | ); 78 | > 79 | expect(imgSpan).toEqual({ | ^ 80 | data: { 81 | 'http.response.body.decoded_size': expect.any(Number), 82 | 'http.response.body.size': expect.any(Number), at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts:79:19
[chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts#L53
7) [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": "http://sentry-test.io/sub-page", "url.path": "/sub-page", }, "description": "/sub-page", "op": "navigation.redirect", 51 | const redirectSpan = spans.find(span => span.op === 'navigation.redirect'); 52 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 53 | expect(redirectSpan).toEqual({ | ^ 54 | data: { 55 | 'sentry.op': 'navigation.redirect', 56 | 'sentry.origin': 'auto.navigation.browser', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:53:24
[chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts#L57
6) [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": Any<String>, "url.path": Any<String>, }, "description": StringContaining "/sub-page-redirect-", "op": "navigation.redirect", 55 | redirectSpans.forEach(redirectSpan => { 56 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 57 | expect(redirectSpan).toEqual({ | ^ 58 | data: { 59 | 'sentry.op': 'navigation.redirect', 60 | 'sentry.origin': 'auto.navigation.browser', at forEach (/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:57:28) at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:55:19
[chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts#L94
5) [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "BUTTON#clickme.onclick", "browser.script.invoker_type": "event-listener", "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "8ea1905a4867fa29", + "span_id": "9f954b7b10ee3c58", + "start_timestamp": 1791360537.13, + "status": "ok", + "timestamp": 1791360537.2362, + "trace_id": "6f4b3c3f162549b79eebb3bedb881ec2", } 92 | const eventListenerUISpan = uiSpans.find(span => span.data['browser.script.invoker'] === 'BUTTON#clickme.onclick')!; 93 | > 94 | expect(eventListenerUISpan).toEqual( | ^ 95 | expect.objectContaining({ 96 | op: 'ui.long_animation_frame', 97 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:94:33
[chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts#L39
4) [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "https://sentry-test-site.example/path/to/script.js", "browser.script.invoker_type": "classic-script", "browser.script.source_char_position": 0, "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "a9ff4571ee4f8efa", + "span_id": "8baf80721a1ab450", + "start_timestamp": 1791360535.8102002, + "status": "ok", + "timestamp": 1791360535.9151, + "trace_id": "52165301d01b4ed0ba43ddfc67ec1a4e", } 37 | span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js', 38 | )!; > 39 | expect(topLevelUISpan).toEqual( | ^ 40 | expect.objectContaining({ 41 | op: 'ui.long_animation_frame', 42 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:39:28
[chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts#L92
3) [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "BUTTON#clickme.onclick", "browser.script.invoker_type": "event-listener", "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "a1b1de9cebc96119", + "span_id": "87cf65f94bdea7c8", + "start_timestamp": 1791360534.9901001, + "status": "ok", + "timestamp": 1791360535.0963001, + "trace_id": "b1d54dd6eb13421db52a677970fe0d0d", } 90 | const eventListenerUISpan = uiSpans.find(span => span.data['browser.script.invoker'] === 'BUTTON#clickme.onclick')!; 91 | > 92 | expect(eventListenerUISpan).toEqual( | ^ 93 | expect.objectContaining({ 94 | op: 'ui.long_animation_frame', 95 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:92:33
[chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts#L37
2) [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "https://sentry-test-site.example/path/to/script.js", "browser.script.invoker_type": "classic-script", "browser.script.source_char_position": 0, "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "99a81620fd83099d", + "span_id": "b5da640b830373cd", + "start_timestamp": 1791360534.6512997, + "status": "ok", + "timestamp": 1791360534.7561996, + "trace_id": "13fe0b7634e34b54b9249c554db6fa1d", } 35 | span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js', 36 | )!; > 37 | expect(topLevelUISpan).toEqual( | ^ 38 | expect.objectContaining({ 39 | op: 'ui.long_animation_frame', 40 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:37:28
[chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source: dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts#L23
1) [chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", } 21 | 22 | const attributes = transaction.contexts?.trace?.data; > 23 | expect(attributes).toEqual({ | ^ 24 | [SENTRY_ORIGIN]: 'manual', 25 | [SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]: 1, 26 | [SENTRY_SEGMENT_NAME_SOURCE]: 'custom', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts:23:24
Playwright bundle_tracing_replay_feedback_logs_metrics Tests
Process completed with exit code 1.
[chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts#L29
9) [chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.browser.measure_happened_before_request": true, "sentry.browser.measure_start_time": Any<Number>, "sentry.op": "measure", "sentry.origin": "auto.browser.user_timing.measure", + "sentry.trace_lifecycle": "static", } 27 | 28 | expect(requestSpan!.start_timestamp).toBeLessThanOrEqual(measureSpan!.start_timestamp); > 29 | expect(measureSpan?.data).toEqual({ | ^ 30 | 'sentry.browser.measure_happened_before_request': true, 31 | 'sentry.browser.measure_start_time': expect.any(Number), 32 | 'sentry.op': 'measure', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts:29:29
[chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts#L79
8) [chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -22,10 +22,11 @@ "network.protocol.name": "", "network.protocol.version": "unknown", "resource.render_blocking_status": "non-blocking", "sentry.op": "resource.img", "sentry.origin": "auto.resource.browser.metrics", + "sentry.trace_lifecycle": "static", "server.address": "sentry-test-site.example", "url.domain": "sentry-test-site.example", "url.full": "https://sentry-test-site.example/path/to/image.svg", "url.scheme": "https", }, 77 | ); 78 | > 79 | expect(imgSpan).toEqual({ | ^ 80 | data: { 81 | 'http.response.body.decoded_size': expect.any(Number), 82 | 'http.response.body.size': expect.any(Number), at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts:79:19
[chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts#L53
7) [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": "http://sentry-test.io/sub-page", "url.path": "/sub-page", }, "description": "/sub-page", "op": "navigation.redirect", 51 | const redirectSpan = spans.find(span => span.op === 'navigation.redirect'); 52 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 53 | expect(redirectSpan).toEqual({ | ^ 54 | data: { 55 | 'sentry.op': 'navigation.redirect', 56 | 'sentry.origin': 'auto.navigation.browser', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:53:24
[chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts#L57
6) [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": Any<String>, "url.path": Any<String>, }, "description": StringContaining "/sub-page-redirect-", "op": "navigation.redirect", 55 | redirectSpans.forEach(redirectSpan => { 56 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 57 | expect(redirectSpan).toEqual({ | ^ 58 | data: { 59 | 'sentry.op': 'navigation.redirect', 60 | 'sentry.origin': 'auto.navigation.browser', at forEach (/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:57:28) at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:55:19
[chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts#L94
5) [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "BUTTON#clickme.onclick", "browser.script.invoker_type": "event-listener", "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "b07adb3b9bf194eb", + "span_id": "ab779f006c89e13c", + "start_timestamp": 1791360539.7930999, + "status": "ok", + "timestamp": 1791360539.8992999, + "trace_id": "668fc7cdc50d4820af5b8ada808cad00", } 92 | const eventListenerUISpan = uiSpans.find(span => span.data['browser.script.invoker'] === 'BUTTON#clickme.onclick')!; 93 | > 94 | expect(eventListenerUISpan).toEqual( | ^ 95 | expect.objectContaining({ 96 | op: 'ui.long_animation_frame', 97 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:94:33
[chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts#L39
4) [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "https://sentry-test-site.example/path/to/script.js", "browser.script.invoker_type": "classic-script", "browser.script.source_char_position": 0, "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "87b34c3efb7facd2", + "span_id": "b3ab0a7a76119114", + "start_timestamp": 1791360539.62, + "status": "ok", + "timestamp": 1791360539.7250998, + "trace_id": "ef16b5e27f3a4648abe3ea7b7ad3f83c", } 37 | span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js', 38 | )!; > 39 | expect(topLevelUISpan).toEqual( | ^ 40 | expect.objectContaining({ 41 | op: 'ui.long_animation_frame', 42 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:39:28
[chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts#L92
3) [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "BUTTON#clickme.onclick", "browser.script.invoker_type": "event-listener", "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "b1532ff02083638e", + "span_id": "b49a7221d2aa371f", + "start_timestamp": 1791360538.7594, + "status": "ok", + "timestamp": 1791360538.8653998, + "trace_id": "28eda4386c494881a03b828424ab51f1", } 90 | const eventListenerUISpan = uiSpans.find(span => span.data['browser.script.invoker'] === 'BUTTON#clickme.onclick')!; 91 | > 92 | expect(eventListenerUISpan).toEqual( | ^ 93 | expect.objectContaining({ 94 | op: 'ui.long_animation_frame', 95 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:92:33
[chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts#L37
2) [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "https://sentry-test-site.example/path/to/script.js", "browser.script.invoker_type": "classic-script", "browser.script.source_char_position": 0, "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "9b42c11cb2514c1d", + "span_id": "83bfda4360550ed2", + "start_timestamp": 1791360538.3474, + "status": "ok", + "timestamp": 1791360538.4522, + "trace_id": "e4d157bdb8c54a1f82a888886df47632", } 35 | span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js', 36 | )!; > 37 | expect(topLevelUISpan).toEqual( | ^ 38 | expect.objectContaining({ 39 | op: 'ui.long_animation_frame', 40 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:37:28
[chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source: dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts#L23
1) [chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", } 21 | 22 | const attributes = transaction.contexts?.trace?.data; > 23 | expect(attributes).toEqual({ | ^ 24 | [SENTRY_ORIGIN]: 'manual', 25 | [SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]: 1, 26 | [SENTRY_SEGMENT_NAME_SOURCE]: 'custom', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts:23:24
Playwright esm (2/4) Tests
Process completed with exit code 1.
[chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source: dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts#L23
1) [chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", } 21 | 22 | const attributes = transaction.contexts?.trace?.data; > 23 | expect(attributes).toEqual({ | ^ 24 | [SENTRY_ORIGIN]: 'manual', 25 | [SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]: 1, 26 | [SENTRY_SEGMENT_NAME_SOURCE]: 'custom', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts:23:24
Node (24) (TS 5.0) Integration Tests (1/3)
Process completed with exit code 1.
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for POST requests [cjs]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L137
AssertionError: expected { …(36) } to deeply equal { Object (http.request.method, url.query, ...) } - Expected + Received @@ -43,10 +43,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 36067, "url.full": "http://localhost:36067/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:137:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for GET requests [cjs]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L95
AssertionError: expected { …(33) } to deeply equal { 'http.request.method': 'GET', …(31) } - Expected + Received @@ -36,10 +36,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 45433, "url.full": "http://localhost:45433/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:95:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for POST requests [esm]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L137
AssertionError: expected { …(36) } to deeply equal { Object (http.request.method, url.query, ...) } - Expected + Received @@ -43,10 +43,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 32809, "url.full": "http://localhost:32809/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:137:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
suites/tracing/httpIntegration/test.ts > httpIntegration > http.server spans > captures correct attributes for GET requests [esm]: dev-packages/node-integration-tests/suites/tracing/httpIntegration/test.ts#L95
AssertionError: expected { …(33) } to deeply equal { 'http.request.method': 'GET', …(31) } - Expected + Received @@ -36,10 +36,11 @@ "sentry.kind": "server", "sentry.op": "http.server", "sentry.origin": "auto.http.http_server", "sentry.sample_rate": 1, "sentry.segment.name.source": "route", + "sentry.trace_lifecycle": "static", "server.address": "localhost", "server.port": 39697, "url.full": "http://localhost:39697/test?a=1&b=2", "url.path": "/test", "url.query": "a=1&b=2", ❯ transaction suites/tracing/httpIntegration/test.ts:95:57 ❯ expectTransactionEvent utils/runner/createRunner.ts:895:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:871:5 ❯ newEnvelope utils/runner/createRunner.ts:452:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:589:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:608:15
Playwright bundle_tracing_replay_feedback_logs_metrics_min Tests
Process completed with exit code 1.
[chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts#L29
9) [chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.browser.measure_happened_before_request": true, "sentry.browser.measure_start_time": Any<Number>, "sentry.op": "measure", "sentry.origin": "auto.browser.user_timing.measure", + "sentry.trace_lifecycle": "static", } 27 | 28 | expect(requestSpan!.start_timestamp).toBeLessThanOrEqual(measureSpan!.start_timestamp); > 29 | expect(measureSpan?.data).toEqual({ | ^ 30 | 'sentry.browser.measure_happened_before_request': true, 31 | 'sentry.browser.measure_start_time': expect.any(Number), 32 | 'sentry.op': 'measure', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts:29:29
[chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts#L79
8) [chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -22,10 +22,11 @@ "network.protocol.name": "", "network.protocol.version": "unknown", "resource.render_blocking_status": "non-blocking", "sentry.op": "resource.img", "sentry.origin": "auto.resource.browser.metrics", + "sentry.trace_lifecycle": "static", "server.address": "sentry-test-site.example", "url.domain": "sentry-test-site.example", "url.full": "https://sentry-test-site.example/path/to/image.svg", "url.scheme": "https", }, 77 | ); 78 | > 79 | expect(imgSpan).toEqual({ | ^ 80 | data: { 81 | 'http.response.body.decoded_size': expect.any(Number), 82 | 'http.response.body.size': expect.any(Number), at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts:79:19
[chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts#L53
7) [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": "http://sentry-test.io/sub-page", "url.path": "/sub-page", }, "description": "/sub-page", "op": "navigation.redirect", 51 | const redirectSpan = spans.find(span => span.op === 'navigation.redirect'); 52 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 53 | expect(redirectSpan).toEqual({ | ^ 54 | data: { 55 | 'sentry.op': 'navigation.redirect', 56 | 'sentry.origin': 'auto.navigation.browser', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:53:24
[chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts#L57
6) [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": Any<String>, "url.path": Any<String>, }, "description": StringContaining "/sub-page-redirect-", "op": "navigation.redirect", 55 | redirectSpans.forEach(redirectSpan => { 56 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 57 | expect(redirectSpan).toEqual({ | ^ 58 | data: { 59 | 'sentry.op': 'navigation.redirect', 60 | 'sentry.origin': 'auto.navigation.browser', at forEach (/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:57:28) at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:55:19
[chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts#L94
5) [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "BUTTON#clickme.onclick", "browser.script.invoker_type": "event-listener", "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "85498359d14e3ea4", + "span_id": "856ba8fdd5a1e53b", + "start_timestamp": 1791360551.3541, + "status": "ok", + "timestamp": 1791360551.4603, + "trace_id": "de0bc6cec63240278001d8d3ecf27c3f", } 92 | const eventListenerUISpan = uiSpans.find(span => span.data['browser.script.invoker'] === 'BUTTON#clickme.onclick')!; 93 | > 94 | expect(eventListenerUISpan).toEqual( | ^ 95 | expect.objectContaining({ 96 | op: 'ui.long_animation_frame', 97 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:94:33
[chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts#L39
4) [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "https://sentry-test-site.example/path/to/script.js", "browser.script.invoker_type": "classic-script", "browser.script.source_char_position": 0, "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "b40f4ff886cad3a0", + "span_id": "8c80c375b2b45f25", + "start_timestamp": 1791360551.1713998, + "status": "ok", + "timestamp": 1791360551.2761, + "trace_id": "6f8505488ea6420087dca7bcf84d819a", } 37 | span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js', 38 | )!; > 39 | expect(topLevelUISpan).toEqual( | ^ 40 | expect.objectContaining({ 41 | op: 'ui.long_animation_frame', 42 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:39:28
[chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts#L92
3) [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "BUTTON#clickme.onclick", "browser.script.invoker_type": "event-listener", "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "a7d7b35a43dff39e", + "span_id": "80528923791a3d80", + "start_timestamp": 1791360550.2372003, + "status": "ok", + "timestamp": 1791360550.3432002, + "trace_id": "f55fbf0436074f24a13c6e611b6f39f3", } 90 | const eventListenerUISpan = uiSpans.find(span => span.data['browser.script.invoker'] === 'BUTTON#clickme.onclick')!; 91 | > 92 | expect(eventListenerUISpan).toEqual( | ^ 93 | expect.objectContaining({ 94 | op: 'ui.long_animation_frame', 95 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:92:33
[chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts#L37
2) [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "https://sentry-test-site.example/path/to/script.js", "browser.script.invoker_type": "classic-script", "browser.script.source_char_position": 0, "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "a9fc08277270b8e8", + "span_id": "872e3d5be18f7b06", + "start_timestamp": 1791360549.8751001, + "status": "ok", + "timestamp": 1791360549.9802, + "trace_id": "45d6e682659b47138ce5ddb69684d3ab", } 35 | span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js', 36 | )!; > 37 | expect(topLevelUISpan).toEqual( | ^ 38 | expect.objectContaining({ 39 | op: 'ui.long_animation_frame', 40 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:37:28
[chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source: dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts#L23
1) [chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", } 21 | 22 | const attributes = transaction.contexts?.trace?.data; > 23 | expect(attributes).toEqual({ | ^ 24 | [SENTRY_ORIGIN]: 'manual', 25 | [SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]: 1, 26 | [SENTRY_SEGMENT_NAME_SOURCE]: 'custom', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts:23:24
Playwright bundle_tracing_replay Tests
Process completed with exit code 1.
[chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts#L29
9) [chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.browser.measure_happened_before_request": true, "sentry.browser.measure_start_time": Any<Number>, "sentry.op": "measure", "sentry.origin": "auto.browser.user_timing.measure", + "sentry.trace_lifecycle": "static", } 27 | 28 | expect(requestSpan!.start_timestamp).toBeLessThanOrEqual(measureSpan!.start_timestamp); > 29 | expect(measureSpan?.data).toEqual({ | ^ 30 | 'sentry.browser.measure_happened_before_request': true, 31 | 'sentry.browser.measure_start_time': expect.any(Number), 32 | 'sentry.op': 'measure', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts:29:29
[chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts#L79
8) [chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -22,10 +22,11 @@ "network.protocol.name": "", "network.protocol.version": "unknown", "resource.render_blocking_status": "non-blocking", "sentry.op": "resource.img", "sentry.origin": "auto.resource.browser.metrics", + "sentry.trace_lifecycle": "static", "server.address": "sentry-test-site.example", "url.domain": "sentry-test-site.example", "url.full": "https://sentry-test-site.example/path/to/image.svg", "url.scheme": "https", }, 77 | ); 78 | > 79 | expect(imgSpan).toEqual({ | ^ 80 | data: { 81 | 'http.response.body.decoded_size': expect.any(Number), 82 | 'http.response.body.size': expect.any(Number), at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts:79:19
[chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts#L53
7) [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": "http://sentry-test.io/sub-page", "url.path": "/sub-page", }, "description": "/sub-page", "op": "navigation.redirect", 51 | const redirectSpan = spans.find(span => span.op === 'navigation.redirect'); 52 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 53 | expect(redirectSpan).toEqual({ | ^ 54 | data: { 55 | 'sentry.op': 'navigation.redirect', 56 | 'sentry.origin': 'auto.navigation.browser', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:53:24
[chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts#L57
6) [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": Any<String>, "url.path": Any<String>, }, "description": StringContaining "/sub-page-redirect-", "op": "navigation.redirect", 55 | redirectSpans.forEach(redirectSpan => { 56 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 57 | expect(redirectSpan).toEqual({ | ^ 58 | data: { 59 | 'sentry.op': 'navigation.redirect', 60 | 'sentry.origin': 'auto.navigation.browser', at forEach (/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:57:28) at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:55:19
[chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts#L94
5) [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "BUTTON#clickme.onclick", "browser.script.invoker_type": "event-listener", "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "9444a40d2bb84433", + "span_id": "87512d626ddc680b", + "start_timestamp": 1791360556.0465, + "status": "ok", + "timestamp": 1791360556.1523, + "trace_id": "aceca80f522240a6bd89f7f61160da37", } 92 | const eventListenerUISpan = uiSpans.find(span => span.data['browser.script.invoker'] === 'BUTTON#clickme.onclick')!; 93 | > 94 | expect(eventListenerUISpan).toEqual( | ^ 95 | expect.objectContaining({ 96 | op: 'ui.long_animation_frame', 97 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:94:33
[chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts#L39
4) [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "https://sentry-test-site.example/path/to/script.js", "browser.script.invoker_type": "classic-script", "browser.script.source_char_position": 0, "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "821f3126b90e4ec8", + "span_id": "81f55e985053f999", + "start_timestamp": 1791360555.6815999, + "status": "ok", + "timestamp": 1791360555.7863, + "trace_id": "1780104182f346cfa213d9064d124d3d", } 37 | span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js', 38 | )!; > 39 | expect(topLevelUISpan).toEqual( | ^ 40 | expect.objectContaining({ 41 | op: 'ui.long_animation_frame', 42 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:39:28
[chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts#L92
3) [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "BUTTON#clickme.onclick", "browser.script.invoker_type": "event-listener", "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "98bbdd5ff6a5a315", + "span_id": "932d87bd0ca25313", + "start_timestamp": 1791360554.9234, + "status": "ok", + "timestamp": 1791360555.0303, + "trace_id": "c8e6891f36eb4ecfae6cd4ecff5562f9", } 90 | const eventListenerUISpan = uiSpans.find(span => span.data['browser.script.invoker'] === 'BUTTON#clickme.onclick')!; 91 | > 92 | expect(eventListenerUISpan).toEqual( | ^ 93 | expect.objectContaining({ 94 | op: 'ui.long_animation_frame', 95 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:92:33
[chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts#L37
2) [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "https://sentry-test-site.example/path/to/script.js", "browser.script.invoker_type": "classic-script", "browser.script.source_char_position": 0, "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "ad3990666ba970f4", + "span_id": "9d9ee225c38ecd44", + "start_timestamp": 1791360554.5196, + "status": "ok", + "timestamp": 1791360554.6239998, + "trace_id": "315c63b44d264dc898cfb69b90147950", } 35 | span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js', 36 | )!; > 37 | expect(topLevelUISpan).toEqual( | ^ 38 | expect.objectContaining({ 39 | op: 'ui.long_animation_frame', 40 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:37:28
[chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source: dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts#L23
1) [chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", } 21 | 22 | const attributes = transaction.contexts?.trace?.data; > 23 | expect(attributes).toEqual({ | ^ 24 | [SENTRY_ORIGIN]: 'manual', 25 | [SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]: 1, 26 | [SENTRY_SEGMENT_NAME_SOURCE]: 'custom', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts:23:24
E2E cloudflare-workers-send-to-sentry Test (optional)
Process completed with exit code 1.
[chromium] › tests/send-to-sentry.test.ts:39:1 › Sends the spans of Workflow steps before the Workflow goes to sleep: ../../_temp/test-application/tests/send-to-sentry.test.ts#L62
1) [chromium] › tests/send-to-sentry.test.ts:39:1 › Sends the spans of Workflow steps before the Workflow goes to sleep Error: expect(received).toBe(expected) // Object.is equality Expected: 3 Received: 0 Call Log: - Timeout 180000ms exceeded while waiting on the predicate 60 | console.log(`Polling for the Workflow step spans: sentry trace view ${traceTarget(traceId)}`); 61 | > 62 | await expect | ^ 63 | .poll( 64 | () => 65 | flattenTrace(fetchTrace(traceId)).filter( at /home/runner/work/_temp/test-application/tests/send-to-sentry.test.ts:62:3
Node (22) Integration Tests (2/3)
Process completed with exit code 1.
suites/tracing/prisma-orm-v6/test.ts > Prisma ORM v6 Tests > should instrument PostgreSQL queries from Prisma ORM [cjs]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v6/test.ts#L41
AssertionError: expected [ { data: { …(2) }, …(8) }, …(25) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "sentry.origin": "auto.db.prisma", }, "description": "prisma:client:detect_platform", "status": "ok", } + Received: [ { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:detect_platform", "origin": "auto.db.prisma", "parent_span_id": "9443669333a0618f", "span_id": "8d43b233097312df", "start_timestamp": 1791360499.6303413, "status": "ok", "timestamp": 1791360499.6398132, "trace_id": "2e701ddb7e0e490f8e8ae53bdced2a6a", }, { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", "origin": "auto.db.prisma", "parent_span_id": "9443669333a0618f", "span_id": "a68bc715f2cb5dd1", "start_timestamp": 1791360499.6334896, "status": "ok", "timestamp": 1791360499.7328928, "trace_id": "2e701ddb7e0e490f8e8ae53bdced2a6a", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:serialize", "origin": "auto.db.prisma", "parent_span_id": "a68bc715f2cb5dd1", "span_id": "9b5d55468db463fc", "start_timestamp": 1791360499.6340916, "status": "ok", "timestamp": 1791360499.6349618, "trace_id": "2e701ddb7e0e490f8e8ae53bdced2a6a", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:connect", "origin": "auto.db.prisma", "parent_span_id": "a68bc715f2cb5dd1", "span_id": "96e9c68d7a0097b4", "start_timestamp": 1791360499.6455307, "status": "ok", "timestamp": 1791360499.7217078, "trace_id": "2e701ddb7e0e490f8e8ae53bdced2a6a", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connect", "origin": "auto.db.prisma", "parent_span_id": "96e9c68d7a0097b4", "span_id": "b44d4e83b14099ff", "start_timestamp": 1791360499.6459, "status": "ok", "timestamp": 1791360499.7205627, "trace_id": "2e701ddb7e0e490f8e8ae53bdced2a6a", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "b44d4e83b14099ff", "span_id": "94668ebd58d499a8", "start_timestamp": 1791360499.646208, "status": "ok", "timestamp": 1791360499.7204545, "trace_id": "2e701ddb7e0e490f8e8ae53bdced2a6a", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:query", "origin": "auto.db.prisma", "parent_span_id": "a68bc715f2cb5dd1", "span_id": "a30b4ef185607632", "start_timestamp": 1791360499.721837, "status": "ok", "timestamp": 1791360499.7237594, "trace_id": "2e701ddb7e0e490f8e8ae53bdced2a6a", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "a30b4ef185607632", "span_id": "93ac56b09878b55a", "start_timestamp": 1791360499.7219033, "status": "ok", "timestamp": 1791360499.7219315, "trace_id": "2e701ddb7e0e490f8e8ae53bdced2a6a", }, { "data": { "db.query.summary": "INSERT \"public\".\"User\"", "db.query.text": "INSERT INTO \"public\".\"User\" (\"createdAt\",\"email\",\"name\") VALUES ($1,$2,$3) RETURNING \"public\".\"User\".\"id\", \"public
suites/tracing/prisma-orm-v6/test.ts > Prisma ORM v6 Tests > should instrument PostgreSQL queries from Prisma ORM [esm]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v6/test.ts#L41
AssertionError: expected [ { data: { …(2) }, …(8) }, …(25) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "sentry.origin": "auto.db.prisma", }, "description": "prisma:client:detect_platform", "status": "ok", } + Received: [ { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:detect_platform", "origin": "auto.db.prisma", "parent_span_id": "a47a411948b9e38d", "span_id": "ae4e7a602fc66b84", "start_timestamp": 1791360498.6454341, "status": "ok", "timestamp": 1791360498.6556017, "trace_id": "7e17cf5565924919addcc5f87a8f82a3", }, { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", "origin": "auto.db.prisma", "parent_span_id": "a47a411948b9e38d", "span_id": "bca0b051c3abf030", "start_timestamp": 1791360498.6489685, "status": "ok", "timestamp": 1791360498.742849, "trace_id": "7e17cf5565924919addcc5f87a8f82a3", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:serialize", "origin": "auto.db.prisma", "parent_span_id": "bca0b051c3abf030", "span_id": "93119e95716a70a5", "start_timestamp": 1791360498.649661, "status": "ok", "timestamp": 1791360498.6505666, "trace_id": "7e17cf5565924919addcc5f87a8f82a3", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:connect", "origin": "auto.db.prisma", "parent_span_id": "bca0b051c3abf030", "span_id": "ac970ddd368348eb", "start_timestamp": 1791360498.6611962, "status": "ok", "timestamp": 1791360498.736012, "trace_id": "7e17cf5565924919addcc5f87a8f82a3", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connect", "origin": "auto.db.prisma", "parent_span_id": "ac970ddd368348eb", "span_id": "949180dc1cf543bf", "start_timestamp": 1791360498.6615865, "status": "ok", "timestamp": 1791360498.7348275, "trace_id": "7e17cf5565924919addcc5f87a8f82a3", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "949180dc1cf543bf", "span_id": "b0aa24617ae36e61", "start_timestamp": 1791360498.6618857, "status": "ok", "timestamp": 1791360498.7346826, "trace_id": "7e17cf5565924919addcc5f87a8f82a3", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:query", "origin": "auto.db.prisma", "parent_span_id": "bca0b051c3abf030", "span_id": "b7189996e4ea2fab", "start_timestamp": 1791360498.7361476, "status": "ok", "timestamp": 1791360498.739004, "trace_id": "7e17cf5565924919addcc5f87a8f82a3", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "b7189996e4ea2fab", "span_id": "8d7c08132e43f8a8", "start_timestamp": 1791360498.7362194, "status": "ok", "timestamp": 1791360498.7362428, "trace_id": "7e17cf5565924919addcc5f87a8f82a3", }, { "data": { "db.query.summary": "INSERT \"public\".\"User\"", "db.query.text": "INSERT INTO \"public\".\"User\" (\"createdAt\",\"email\",\"name\") VALUES ($1,$2,$3) RETURNING \"public\".\"User\".\"id\", \"publi
suites/tracing/prisma-orm-v5/test.ts > Prisma ORM v5 > Prisma ORM v5 Tests > should instrument PostgreSQL queries from Prisma ORM [cjs]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v5/test.ts#L36
AssertionError: expected [ { data: { …(5) }, …(8) }, …(44) ] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - ObjectContaining { + [ + { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", + "origin": "auto.db.prisma", + "parent_span_id": "9e7cf1b13a2a85c5", + "span_id": "be4aec0cec6fe9c4", + "start_timestamp": 1791360526.6540043, + "status": "ok", + "timestamp": 1791360526.7189977, + "trace_id": "bc9f22fe3d194ad189f0c68d8601b350", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "be4aec0cec6fe9c4", + "span_id": "9d0ce8c561b4ee04", + "start_timestamp": 1791360526.655093, + "status": "ok", + "timestamp": 1791360526.6559885, + "trace_id": "bc9f22fe3d194ad189f0c68d8601b350", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:connect", + "origin": "auto.db.prisma", + "parent_span_id": "be4aec0cec6fe9c4", + "span_id": "b4f08e4f480c887a", + "start_timestamp": 1791360526.670954, + "status": "ok", + "timestamp": 1791360526.7162077, + "trace_id": "bc9f22fe3d194ad189f0c68d8601b350", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connect", + "origin": "auto.db.prisma", + "parent_span_id": "b4f08e4f480c887a", + "span_id": "b0da735771052cf9", + "start_timestamp": 1791360526.6713052, + "status": "ok", + "timestamp": 1791360526.7144344, + "trace_id": "bc9f22fe3d194ad189f0c68d8601b350", + }, + { + "data": { + "db.system": "postgresql", + "sentry.op": "db", + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connection", + "op": "db", + "origin": "auto.db.prisma", + "parent_span_id": "b0da735771052cf9", + "span_id": "99a89f5b40e33f3c", + "start_timestamp": 1791360526.6716583, "status": "ok", + "timestamp": 1791360526.714297, + "trace_id": "bc9f22fe3d194ad189f0c68d8601b350", }, - ObjectContaining { + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine", + "origin": "auto.db.prisma", + "parent_span_id": "be4aec0cec6fe9c4", + "span_id": "823069fba7a45fa0", + "start_timestamp": 1791360526.7164643, + "status": "ok", + "timestamp": 1791360526.7184832, + "trace_id": "bc9f22fe3d194ad189f0c68d8601b350", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:response_json_serialization", + "origin": "auto.db.prisma", + "parent_span_id": "823069fba7a45fa0", + "span_id": "83a047d36012bd27", + "start_timestamp": 1791360526.718475, + "status": "ok", + "timestamp": 1791360526.7184799, + "trace_id": "bc9f22fe3d194ad189f0c68d8601b350", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "823069fba7a45fa0", + "span_id": "a7373c12cc228974", + "start_timestamp": 1791360526.7184403, + "status": "ok", + "timestamp": 1791360526.7184641, + "trace_id": "bc9f22fe3d194ad189f0c68d8601b350", + }, + { + "data": { + "db.query.summary": "INSERT \"public\".\"User\"", + "db.statement": "INSERT INTO \"public\".\"User\" (\"createdAt
suites/tracing/prisma-orm-v5/test.ts > Prisma ORM v5 > Prisma ORM v5 Tests > should instrument PostgreSQL queries from Prisma ORM [esm]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v5/test.ts#L36
AssertionError: expected [ { data: { …(5) }, …(8) }, …(44) ] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - ObjectContaining { + [ + { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", + "origin": "auto.db.prisma", + "parent_span_id": "9b352a060129368a", + "span_id": "8624097fd00c17d9", + "start_timestamp": 1791360525.1969972, + "status": "ok", + "timestamp": 1791360525.2544835, + "trace_id": "ec5fb16dd82049a09a77a19afe9bba46", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "8624097fd00c17d9", + "span_id": "a54dc084c6501b0d", + "start_timestamp": 1791360525.1977577, + "status": "ok", + "timestamp": 1791360525.1983237, + "trace_id": "ec5fb16dd82049a09a77a19afe9bba46", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:connect", + "origin": "auto.db.prisma", + "parent_span_id": "8624097fd00c17d9", + "span_id": "911f6a7784ce9a38", + "start_timestamp": 1791360525.2077472, + "status": "ok", + "timestamp": 1791360525.2511835, + "trace_id": "ec5fb16dd82049a09a77a19afe9bba46", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connect", + "origin": "auto.db.prisma", + "parent_span_id": "911f6a7784ce9a38", + "span_id": "899333524a4e53bb", + "start_timestamp": 1791360525.208066, + "status": "ok", + "timestamp": 1791360525.250766, + "trace_id": "ec5fb16dd82049a09a77a19afe9bba46", + }, + { + "data": { + "db.system": "postgresql", + "sentry.op": "db", + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connection", + "op": "db", + "origin": "auto.db.prisma", + "parent_span_id": "899333524a4e53bb", + "span_id": "acaf2f93a4257e8d", + "start_timestamp": 1791360525.2083712, "status": "ok", + "timestamp": 1791360525.2506433, + "trace_id": "ec5fb16dd82049a09a77a19afe9bba46", }, - ObjectContaining { + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine", + "origin": "auto.db.prisma", + "parent_span_id": "8624097fd00c17d9", + "span_id": "89f5ccaa23e2af78", + "start_timestamp": 1791360525.2514625, + "status": "ok", + "timestamp": 1791360525.2539518, + "trace_id": "ec5fb16dd82049a09a77a19afe9bba46", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:response_json_serialization", + "origin": "auto.db.prisma", + "parent_span_id": "89f5ccaa23e2af78", + "span_id": "9a499758911f292b", + "start_timestamp": 1791360525.2539406, + "status": "ok", + "timestamp": 1791360525.2539473, + "trace_id": "ec5fb16dd82049a09a77a19afe9bba46", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "89f5ccaa23e2af78", + "span_id": "ae4e87b0477e6777", + "start_timestamp": 1791360525.2538965, + "status": "ok", + "timestamp": 1791360525.2539272, + "trace_id": "ec5fb16dd82049a09a77a19afe9bba46", + }, + { + "data": { + "db.query.summary": "INSERT \"public\".\"User\"", + "db.statement": "INSERT INTO \"public\".\"User\" (\"created
Playwright bundle_tracing_replay_feedback Tests
Process completed with exit code 1.
[chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts#L29
9) [chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.browser.measure_happened_before_request": true, "sentry.browser.measure_start_time": Any<Number>, "sentry.op": "measure", "sentry.origin": "auto.browser.user_timing.measure", + "sentry.trace_lifecycle": "static", } 27 | 28 | expect(requestSpan!.start_timestamp).toBeLessThanOrEqual(measureSpan!.start_timestamp); > 29 | expect(measureSpan?.data).toEqual({ | ^ 30 | 'sentry.browser.measure_happened_before_request': true, 31 | 'sentry.browser.measure_start_time': expect.any(Number), 32 | 'sentry.op': 'measure', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts:29:29
[chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts#L79
8) [chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -22,10 +22,11 @@ "network.protocol.name": "", "network.protocol.version": "unknown", "resource.render_blocking_status": "non-blocking", "sentry.op": "resource.img", "sentry.origin": "auto.resource.browser.metrics", + "sentry.trace_lifecycle": "static", "server.address": "sentry-test-site.example", "url.domain": "sentry-test-site.example", "url.full": "https://sentry-test-site.example/path/to/image.svg", "url.scheme": "https", }, 77 | ); 78 | > 79 | expect(imgSpan).toEqual({ | ^ 80 | data: { 81 | 'http.response.body.decoded_size': expect.any(Number), 82 | 'http.response.body.size': expect.any(Number), at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts:79:19
[chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts#L53
7) [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": "http://sentry-test.io/sub-page", "url.path": "/sub-page", }, "description": "/sub-page", "op": "navigation.redirect", 51 | const redirectSpan = spans.find(span => span.op === 'navigation.redirect'); 52 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 53 | expect(redirectSpan).toEqual({ | ^ 54 | data: { 55 | 'sentry.op': 'navigation.redirect', 56 | 'sentry.origin': 'auto.navigation.browser', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:53:24
[chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts#L57
6) [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": Any<String>, "url.path": Any<String>, }, "description": StringContaining "/sub-page-redirect-", "op": "navigation.redirect", 55 | redirectSpans.forEach(redirectSpan => { 56 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 57 | expect(redirectSpan).toEqual({ | ^ 58 | data: { 59 | 'sentry.op': 'navigation.redirect', 60 | 'sentry.origin': 'auto.navigation.browser', at forEach (/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:57:28) at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:55:19
[chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts#L94
5) [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "BUTTON#clickme.onclick", "browser.script.invoker_type": "event-listener", "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "871cdeb0b934ec45", + "span_id": "b726b870ff5f225c", + "start_timestamp": 1791360571.8617, + "status": "ok", + "timestamp": 1791360571.9693, + "trace_id": "5d8905454e12494aa9f2fa1027e7fedd", } 92 | const eventListenerUISpan = uiSpans.find(span => span.data['browser.script.invoker'] === 'BUTTON#clickme.onclick')!; 93 | > 94 | expect(eventListenerUISpan).toEqual( | ^ 95 | expect.objectContaining({ 96 | op: 'ui.long_animation_frame', 97 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:94:33
[chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts#L39
4) [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "https://sentry-test-site.example/path/to/script.js", "browser.script.invoker_type": "classic-script", "browser.script.source_char_position": 0, "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "825b046198bbb9e3", + "span_id": "8c4c601cfb58b1e7", + "start_timestamp": 1791360571.6045, + "status": "ok", + "timestamp": 1791360571.709, + "trace_id": "3bf054ba87c04c47a1b9a2fd408fbaff", } 37 | span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js', 38 | )!; > 39 | expect(topLevelUISpan).toEqual( | ^ 40 | expect.objectContaining({ 41 | op: 'ui.long_animation_frame', 42 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:39:28
[chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts#L92
3) [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "BUTTON#clickme.onclick", "browser.script.invoker_type": "event-listener", "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "beb0f13664c20cae", + "span_id": "b748e5bc168e58f6", + "start_timestamp": 1791360570.8446, + "status": "ok", + "timestamp": 1791360570.9512, + "trace_id": "e382be5a8177490288b97ca55b593641", } 90 | const eventListenerUISpan = uiSpans.find(span => span.data['browser.script.invoker'] === 'BUTTON#clickme.onclick')!; 91 | > 92 | expect(eventListenerUISpan).toEqual( | ^ 93 | expect.objectContaining({ 94 | op: 'ui.long_animation_frame', 95 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:92:33
[chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts#L37
2) [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "https://sentry-test-site.example/path/to/script.js", "browser.script.invoker_type": "classic-script", "browser.script.source_char_position": 0, "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "95d3fb01ebb44cad", + "span_id": "b69f9317be9a70e6", + "start_timestamp": 1791360570.4694, + "status": "ok", + "timestamp": 1791360570.574, + "trace_id": "831de5f9750e4e91906ad2a33143542d", } 35 | span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js', 36 | )!; > 37 | expect(topLevelUISpan).toEqual( | ^ 38 | expect.objectContaining({ 39 | op: 'ui.long_animation_frame', 40 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:37:28
[chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source: dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts#L23
1) [chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", } 21 | 22 | const attributes = transaction.contexts?.trace?.data; > 23 | expect(attributes).toEqual({ | ^ 24 | [SENTRY_ORIGIN]: 'manual', 25 | [SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]: 1, 26 | [SENTRY_SEGMENT_NAME_SOURCE]: 'custom', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts:23:24
Playwright bundle_tracing_replay_feedback_logs_metrics_min webkit Tests
Process completed with exit code 1.
[webkit] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts#L29
5) [webkit] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.browser.measure_happened_before_request": true, "sentry.browser.measure_start_time": Any<Number>, "sentry.op": "measure", "sentry.origin": "auto.browser.user_timing.measure", + "sentry.trace_lifecycle": "static", } 27 | 28 | expect(requestSpan!.start_timestamp).toBeLessThanOrEqual(measureSpan!.start_timestamp); > 29 | expect(measureSpan?.data).toEqual({ | ^ 30 | 'sentry.browser.measure_happened_before_request': true, 31 | 'sentry.browser.measure_start_time': expect.any(Number), 32 | 'sentry.op': 'measure', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts:29:29
[webkit] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts#L79
4) [webkit] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -20,10 +20,11 @@ "http.response_delivery_type": "", "network.protocol.name": "", "network.protocol.version": "unknown", "sentry.op": "resource.img", "sentry.origin": "auto.resource.browser.metrics", + "sentry.trace_lifecycle": "static", "server.address": "sentry-test-site.example", "url.domain": "sentry-test-site.example", "url.full": "https://sentry-test-site.example/path/to/image.svg", "url.scheme": "https", }, 77 | ); 78 | > 79 | expect(imgSpan).toEqual({ | ^ 80 | data: { 81 | 'http.response.body.decoded_size': expect.any(Number), 82 | 'http.response.body.size': expect.any(Number), at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts:79:19
[webkit] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts#L53
3) [webkit] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": "http://sentry-test.io/sub-page", "url.path": "/sub-page", }, "description": "/sub-page", "op": "navigation.redirect", 51 | const redirectSpan = spans.find(span => span.op === 'navigation.redirect'); 52 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 53 | expect(redirectSpan).toEqual({ | ^ 54 | data: { 55 | 'sentry.op': 'navigation.redirect', 56 | 'sentry.origin': 'auto.navigation.browser', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:53:24
[webkit] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts#L57
2) [webkit] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": Any<String>, "url.path": Any<String>, }, "description": StringContaining "/sub-page-redirect-", "op": "navigation.redirect", 55 | redirectSpans.forEach(redirectSpan => { 56 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 57 | expect(redirectSpan).toEqual({ | ^ 58 | data: { 59 | 'sentry.op': 'navigation.redirect', 60 | 'sentry.origin': 'auto.navigation.browser', at forEach (/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:57:28) at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:55:19
[webkit] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source: dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts#L23
1) [webkit] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", } 21 | 22 | const attributes = transaction.contexts?.trace?.data; > 23 | expect(attributes).toEqual({ | ^ 24 | [SENTRY_ORIGIN]: 'manual', 25 | [SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]: 1, 26 | [SENTRY_SEGMENT_NAME_SOURCE]: 'custom', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts:23:24
Playwright bundle_tracing Tests
Process completed with exit code 1.
[chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts#L29
9) [chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.browser.measure_happened_before_request": true, "sentry.browser.measure_start_time": Any<Number>, "sentry.op": "measure", "sentry.origin": "auto.browser.user_timing.measure", + "sentry.trace_lifecycle": "static", } 27 | 28 | expect(requestSpan!.start_timestamp).toBeLessThanOrEqual(measureSpan!.start_timestamp); > 29 | expect(measureSpan?.data).toEqual({ | ^ 30 | 'sentry.browser.measure_happened_before_request': true, 31 | 'sentry.browser.measure_start_time': expect.any(Number), 32 | 'sentry.op': 'measure', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/user-timing/pageload-measure-spans/test.ts:29:29
[chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction: dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts#L79
8) [chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -22,10 +22,11 @@ "network.protocol.name": "", "network.protocol.version": "unknown", "resource.render_blocking_status": "non-blocking", "sentry.op": "resource.img", "sentry.origin": "auto.resource.browser.metrics", + "sentry.trace_lifecycle": "static", "server.address": "sentry-test-site.example", "url.domain": "sentry-test-site.example", "url.full": "https://sentry-test-site.example/path/to/image.svg", "url.scheme": "https", }, 77 | ); 78 | > 79 | expect(imgSpan).toEqual({ | ^ 80 | data: { 81 | 'http.response.body.decoded_size': expect.any(Number), 82 | 'http.response.body.size': expect.any(Number), at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/metrics/pageload-resource-spans/test.ts:79:19
[chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts#L53
7) [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": "http://sentry-test.io/sub-page", "url.path": "/sub-page", }, "description": "/sub-page", "op": "navigation.redirect", 51 | const redirectSpan = spans.find(span => span.op === 'navigation.redirect'); 52 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 53 | expect(redirectSpan).toEqual({ | ^ 54 | data: { 55 | 'sentry.op': 'navigation.redirect', 56 | 'sentry.origin': 'auto.navigation.browser', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:53:24
[chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts#L57
6) [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 @@ -1,9 +1,10 @@ Object { "data": Object { "sentry.op": "navigation.redirect", "sentry.origin": "auto.navigation.browser", + "sentry.trace_lifecycle": "static", "url.full": Any<String>, "url.path": Any<String>, }, "description": StringContaining "/sub-page-redirect-", "op": "navigation.redirect", 55 | redirectSpans.forEach(redirectSpan => { 56 | expect(redirectSpan?.timestamp).toEqual(redirectSpan?.start_timestamp); > 57 | expect(redirectSpan).toEqual({ | ^ 58 | data: { 59 | 'sentry.op': 'navigation.redirect', 60 | 'sentry.origin': 'auto.navigation.browser', at forEach (/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:57:28) at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:55:19
[chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts#L94
5) [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "BUTTON#clickme.onclick", "browser.script.invoker_type": "event-listener", "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "b3c670fa9fe2fedb", + "span_id": "a7643892340acf73", + "start_timestamp": 1791360611.259, + "status": "ok", + "timestamp": 1791360611.3653002, + "trace_id": "e8038cd2620d42cdb489f0bcefed0e2c", } 92 | const eventListenerUISpan = uiSpans.find(span => span.data['browser.script.invoker'] === 'BUTTON#clickme.onclick')!; 93 | > 94 | expect(eventListenerUISpan).toEqual( | ^ 95 | expect.objectContaining({ 96 | op: 'ui.long_animation_frame', 97 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:94:33
[chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts#L39
4) [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "https://sentry-test-site.example/path/to/script.js", "browser.script.invoker_type": "classic-script", "browser.script.source_char_position": 0, "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "a549efd4d4c16c50", + "span_id": "b819e609dbe1f647", + "start_timestamp": 1791360609.9065, + "status": "ok", + "timestamp": 1791360610.0111, + "trace_id": "b3071f443492486b8cdba39c7d3f0dea", } 37 | span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js', 38 | )!; > 39 | expect(topLevelUISpan).toEqual( | ^ 40 | expect.objectContaining({ 41 | op: 'ui.long_animation_frame', 42 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:39:28
[chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts#L92
3) [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "BUTTON#clickme.onclick", "browser.script.invoker_type": "event-listener", "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "b0687d01afbec420", + "span_id": "85eee3a7dce1ded8", + "start_timestamp": 1791360608.9615, + "status": "ok", + "timestamp": 1791360609.0672, + "trace_id": "6de107acfac44219a2b3848d53aa8f0a", } 90 | const eventListenerUISpan = uiSpans.find(span => span.data['browser.script.invoker'] === 'BUTTON#clickme.onclick')!; 91 | > 92 | expect(eventListenerUISpan).toEqual( | ^ 93 | expect.objectContaining({ 94 | op: 'ui.long_animation_frame', 95 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:92:33
[chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script.: dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts#L37
2) [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 8 - ObjectContaining { + Object { "data": Object { "browser.script.invoker": "https://sentry-test-site.example/path/to/script.js", "browser.script.invoker_type": "classic-script", "browser.script.source_char_position": 0, "code.file.path": "https://sentry-test-site.example/path/to/script.js", "sentry.op": "ui.long_animation_frame", "sentry.origin": "auto.ui.browser.metrics", + "sentry.trace_lifecycle": "static", }, "description": "Main UI thread blocked", "op": "ui.long_animation_frame", + "origin": "auto.ui.browser.metrics", "parent_span_id": "8520974f17083828", + "span_id": "be6534f28ecccb88", + "start_timestamp": 1791360608.6618001, + "status": "ok", + "timestamp": 1791360608.7661002, + "trace_id": "982ebfbbddb640dc94a00b212021176e", } 35 | span => span.data?.['browser.script.invoker'] === 'https://sentry-test-site.example/path/to/script.js', 36 | )!; > 37 | expect(topLevelUISpan).toEqual( | ^ 38 | expect.objectContaining({ 39 | op: 'ui.long_animation_frame', 40 | description: 'Main UI thread blocked', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:37:28
[chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source: dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts#L23
1) [chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source Error: expect(received).toEqual(expected) // deep equality - Expected - 0 + Received + 1 Object { "sentry.origin": "manual", "sentry.sample_rate": 1, "sentry.segment.name.source": "custom", + "sentry.trace_lifecycle": "static", } 21 | 22 | const attributes = transaction.contexts?.trace?.data; > 23 | expect(attributes).toEqual({ | ^ 24 | [SENTRY_ORIGIN]: 'manual', 25 | [SEMANTIC_ATTRIBUTE_SENTRY_SAMPLE_RATE]: 1, 26 | [SENTRY_SEGMENT_NAME_SOURCE]: 'custom', at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/public-api/startSpan/basic/test.ts:23:24
Node (24) (TS 5.0) Integration Tests (3/3)
Process completed with exit code 1.
suites/tracing/mongodb/test.ts > MongoDB auto-instrumentation > should auto-instrument `mongodb` package. [cjs]: dev-packages/node-integration-tests/suites/tracing/mongodb/test.ts#L195
AssertionError: expected [ { data: { …(12) }, …(9) }, …(8) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "db.collection.name": "movies", "db.connection_string": Any<String>, "db.namespace": "admin", "db.operation.name": "find", "db.query.text": "{\"title\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "server.address": Any<String>, "server.port": Any<Number>, }, "description": "{\"title\":\"?\"}", "op": "db", "origin": "auto.db.mongo", } + Received: [ { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:38133/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 38133, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "a2d0eb6357b53ea0", "span_id": "851955695ae081a2", "start_timestamp": 1791360587.7556672, "status": "ok", "timestamp": 1791360587.7638836, "trace_id": "1d6616a8ce024aa3b07e11ad4bb4d54b", }, { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:38133/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 38133, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "a2d0eb6357b53ea0", "span_id": "93ed8ee3331ee909", "start_timestamp": 1791360587.7680264, "status": "ok", "timestamp": 1791360587.7714314, "trace_id": "1d6616a8ce024aa3b07e11ad4bb4d54b", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:38133/admin", "db.namespace": "admin", "db.operation.name": "insert", "db.query.text": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 38133, }, "description": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "a2d0eb6357b53ea0", "span_id": "b3b3700e98c3c782", "start_timestamp": 1791360587.7696166, "status": "ok", "timestamp": 1791360587.773146, "trace_id": "1d6616a8ce024aa3b07e11ad4bb4d54b", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:38133/admin", "db.namespace": "admin", "db.operation.name": "find",
suites/tracing/mongodb/test.ts > MongoDB auto-instrumentation > should auto-instrument `mongodb` package. [esm]: dev-packages/node-integration-tests/suites/tracing/mongodb/test.ts#L195
AssertionError: expected [ { data: { …(12) }, …(9) }, …(8) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "db.collection.name": "movies", "db.connection_string": Any<String>, "db.namespace": "admin", "db.operation.name": "find", "db.query.text": "{\"title\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "server.address": Any<String>, "server.port": Any<Number>, }, "description": "{\"title\":\"?\"}", "op": "db", "origin": "auto.db.mongo", } + Received: [ { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:38133/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 38133, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "b77bfa359a777f90", "span_id": "9833e33864038d30", "start_timestamp": 1791360586.990212, "status": "ok", "timestamp": 1791360586.9980078, "trace_id": "42dcdfd6b280445682a3c22683048589", }, { "data": { "db.collection.name": "$cmd", "db.connection_string": "mongodb://127.0.0.1:38133/admin", "db.namespace": "admin", "db.operation.name": "isMaster", "db.query.text": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 38133, }, "description": "{\"ismaster\":\"?\",\"client\":{\"driver\":{\"name\":\"?\",\"version\":\"?\"},\"os\":{\"type\":\"?\",\"name\":\"?\",\"architecture\":\"?\",\"version\":\"?\"},\"platform\":\"?\"},\"compression\":[],\"helloOk\":\"?\"}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "b77bfa359a777f90", "span_id": "84b19eb429e1dc0d", "start_timestamp": 1791360587.0021753, "status": "ok", "timestamp": 1791360587.0055878, "trace_id": "42dcdfd6b280445682a3c22683048589", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:38133/admin", "db.namespace": "admin", "db.operation.name": "insert", "db.query.text": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "db.system.name": "mongodb", "sentry.kind": "client", "sentry.op": "db", "sentry.origin": "auto.db.mongo", "sentry.trace_lifecycle": "static", "server.address": "127.0.0.1", "server.port": 38133, }, "description": "{\"title\":\"?\",\"_id\":{\"_bsontype\":\"?\",\"id\":\"?\"}}", "op": "db", "origin": "auto.db.mongo", "parent_span_id": "b77bfa359a777f90", "span_id": "9f700b1d671da114", "start_timestamp": 1791360587.0037591, "status": "ok", "timestamp": 1791360587.0134351, "trace_id": "42dcdfd6b280445682a3c22683048589", }, { "data": { "db.collection.name": "movies", "db.connection_string": "mongodb://127.0.0.1:38133/admin", "db.namespace": "admin", "db.operation.name": "find",
Node (24) (TS 5.0) Integration Tests (2/3)
Process completed with exit code 1.
suites/tracing/prisma-orm-v6/test.ts > Prisma ORM v6 Tests > should instrument PostgreSQL queries from Prisma ORM [cjs]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v6/test.ts#L41
AssertionError: expected [ { data: { …(2) }, …(8) }, …(25) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "sentry.origin": "auto.db.prisma", }, "description": "prisma:client:detect_platform", "status": "ok", } + Received: [ { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:detect_platform", "origin": "auto.db.prisma", "parent_span_id": "8145a4a51cfa43af", "span_id": "9e87f405692ce8a3", "start_timestamp": 1791360638.0218925, "status": "ok", "timestamp": 1791360638.0291994, "trace_id": "03e5ff961d7a4c8ea38b1250caa512ae", }, { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", "origin": "auto.db.prisma", "parent_span_id": "8145a4a51cfa43af", "span_id": "98dbbda0c206edb7", "start_timestamp": 1791360638.024014, "status": "ok", "timestamp": 1791360638.080734, "trace_id": "03e5ff961d7a4c8ea38b1250caa512ae", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:serialize", "origin": "auto.db.prisma", "parent_span_id": "98dbbda0c206edb7", "span_id": "a5aefe2f8d637dc3", "start_timestamp": 1791360638.0244827, "status": "ok", "timestamp": 1791360638.0251558, "trace_id": "03e5ff961d7a4c8ea38b1250caa512ae", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:connect", "origin": "auto.db.prisma", "parent_span_id": "98dbbda0c206edb7", "span_id": "954c292e2ecba916", "start_timestamp": 1791360638.0331004, "status": "ok", "timestamp": 1791360638.0763376, "trace_id": "03e5ff961d7a4c8ea38b1250caa512ae", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connect", "origin": "auto.db.prisma", "parent_span_id": "954c292e2ecba916", "span_id": "bc55377d4f9c526d", "start_timestamp": 1791360638.0334117, "status": "ok", "timestamp": 1791360638.075473, "trace_id": "03e5ff961d7a4c8ea38b1250caa512ae", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "bc55377d4f9c526d", "span_id": "9ef582473b7fa3b3", "start_timestamp": 1791360638.0336885, "status": "ok", "timestamp": 1791360638.0753894, "trace_id": "03e5ff961d7a4c8ea38b1250caa512ae", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:query", "origin": "auto.db.prisma", "parent_span_id": "98dbbda0c206edb7", "span_id": "8d3692e98d3d5b26", "start_timestamp": 1791360638.0764277, "status": "ok", "timestamp": 1791360638.0782232, "trace_id": "03e5ff961d7a4c8ea38b1250caa512ae", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "8d3692e98d3d5b26", "span_id": "ad65cb6f0b50e57c", "start_timestamp": 1791360638.0764828, "status": "ok", "timestamp": 1791360638.0765083, "trace_id": "03e5ff961d7a4c8ea38b1250caa512ae", }, { "data": { "db.query.summary": "INSERT \"public\".\"User\"", "db.query.text": "INSERT INTO \"public\".\"User\" (\"createdAt\",\"email\",\"name\") VALUES ($1,$2,$3) RETURNING \"public\".\"User\".\"id\", \"publ
suites/tracing/prisma-orm-v6/test.ts > Prisma ORM v6 Tests > should instrument PostgreSQL queries from Prisma ORM [esm]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v6/test.ts#L41
AssertionError: expected [ { data: { …(2) }, …(8) }, …(25) ] to deep equally contain ObjectContaining{…} - Expected: ObjectContaining { "data": { "sentry.origin": "auto.db.prisma", }, "description": "prisma:client:detect_platform", "status": "ok", } + Received: [ { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:detect_platform", "origin": "auto.db.prisma", "parent_span_id": "83ec42bcbf9b87e7", "span_id": "bba8519e393f1194", "start_timestamp": 1791360637.662914, "status": "ok", "timestamp": 1791360637.6700103, "trace_id": "e3ac87e6b79d4eeeb50bee9671bf126c", }, { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", "origin": "auto.db.prisma", "parent_span_id": "83ec42bcbf9b87e7", "span_id": "8838192712397796", "start_timestamp": 1791360637.6650212, "status": "ok", "timestamp": 1791360637.7219043, "trace_id": "e3ac87e6b79d4eeeb50bee9671bf126c", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:serialize", "origin": "auto.db.prisma", "parent_span_id": "8838192712397796", "span_id": "bac9339a82596bb1", "start_timestamp": 1791360637.6654239, "status": "ok", "timestamp": 1791360637.666094, "trace_id": "e3ac87e6b79d4eeeb50bee9671bf126c", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:client:connect", "origin": "auto.db.prisma", "parent_span_id": "8838192712397796", "span_id": "baf1cec2788a1b40", "start_timestamp": 1791360637.6738858, "status": "ok", "timestamp": 1791360637.7174826, "trace_id": "e3ac87e6b79d4eeeb50bee9671bf126c", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connect", "origin": "auto.db.prisma", "parent_span_id": "baf1cec2788a1b40", "span_id": "b92fae96028d1b6b", "start_timestamp": 1791360637.674139, "status": "ok", "timestamp": 1791360637.7165382, "trace_id": "e3ac87e6b79d4eeeb50bee9671bf126c", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "b92fae96028d1b6b", "span_id": "841088de118facb1", "start_timestamp": 1791360637.6744127, "status": "ok", "timestamp": 1791360637.7164667, "trace_id": "e3ac87e6b79d4eeeb50bee9671bf126c", }, { "data": { "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:query", "origin": "auto.db.prisma", "parent_span_id": "8838192712397796", "span_id": "b9b93eab642feab3", "start_timestamp": 1791360637.7175696, "status": "ok", "timestamp": 1791360637.719666, "trace_id": "e3ac87e6b79d4eeeb50bee9671bf126c", }, { "data": { "db.system": "postgresql", "sentry.op": "db", "sentry.origin": "auto.db.prisma", "sentry.trace_lifecycle": "static", }, "description": "prisma:engine:connection", "op": "db", "origin": "auto.db.prisma", "parent_span_id": "b9b93eab642feab3", "span_id": "930a82230b5cb436", "start_timestamp": 1791360637.7176583, "status": "ok", "timestamp": 1791360637.7176874, "trace_id": "e3ac87e6b79d4eeeb50bee9671bf126c", }, { "data": { "db.query.summary": "INSERT \"public\".\"User\"", "db.query.text": "INSERT INTO \"public\".\"User\" (\"createdAt\",\"email\",\"name\") VALUES ($1,$2,$3) RETURNING \"public\".\"User\".\"id\", \"publi
suites/tracing/prisma-orm-v5/test.ts > Prisma ORM v5 > Prisma ORM v5 Tests > should instrument PostgreSQL queries from Prisma ORM [cjs]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v5/test.ts#L36
AssertionError: expected [ { data: { …(5) }, …(8) }, …(44) ] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - ObjectContaining { + [ + { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", + "origin": "auto.db.prisma", + "parent_span_id": "93f51e63f5f4da7f", + "span_id": "97aa9583630bb749", + "start_timestamp": 1791360663.006836, + "status": "ok", + "timestamp": 1791360663.0786312, + "trace_id": "39b2e4f176314e76b6fa605815721210", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "97aa9583630bb749", + "span_id": "a697510518ae1541", + "start_timestamp": 1791360663.007816, + "status": "ok", + "timestamp": 1791360663.0087297, + "trace_id": "39b2e4f176314e76b6fa605815721210", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:connect", + "origin": "auto.db.prisma", + "parent_span_id": "97aa9583630bb749", + "span_id": "be4c89b5f11ee0dd", + "start_timestamp": 1791360663.0208902, + "status": "ok", + "timestamp": 1791360663.0698109, + "trace_id": "39b2e4f176314e76b6fa605815721210", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connect", + "origin": "auto.db.prisma", + "parent_span_id": "be4c89b5f11ee0dd", + "span_id": "824b8559d5c85ce2", + "start_timestamp": 1791360663.021179, + "status": "ok", + "timestamp": 1791360663.0695093, + "trace_id": "39b2e4f176314e76b6fa605815721210", + }, + { + "data": { + "db.system": "postgresql", + "sentry.op": "db", + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connection", + "op": "db", + "origin": "auto.db.prisma", + "parent_span_id": "824b8559d5c85ce2", + "span_id": "8b6f39993aacff85", + "start_timestamp": 1791360663.021497, "status": "ok", + "timestamp": 1791360663.069397, + "trace_id": "39b2e4f176314e76b6fa605815721210", }, - ObjectContaining { + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine", + "origin": "auto.db.prisma", + "parent_span_id": "97aa9583630bb749", + "span_id": "8a96db05f242ce8f", + "start_timestamp": 1791360663.0699892, + "status": "ok", + "timestamp": 1791360663.0715463, + "trace_id": "39b2e4f176314e76b6fa605815721210", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:response_json_serialization", + "origin": "auto.db.prisma", + "parent_span_id": "8a96db05f242ce8f", + "span_id": "b3f1a782c3199754", + "start_timestamp": 1791360663.0715368, + "status": "ok", + "timestamp": 1791360663.0715425, + "trace_id": "39b2e4f176314e76b6fa605815721210", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "8a96db05f242ce8f", + "span_id": "a36d5b306969a5cc", + "start_timestamp": 1791360663.0714853, + "status": "ok", + "timestamp": 1791360663.0715134, + "trace_id": "39b2e4f176314e76b6fa605815721210", + }, + { + "data": { + "db.query.summary": "INSERT \"public\".\"User\"", + "db.statement": "INSERT INTO \"public\".\"User\" (\"createdAt\
suites/tracing/prisma-orm-v5/test.ts > Prisma ORM v5 > Prisma ORM v5 Tests > should instrument PostgreSQL queries from Prisma ORM [esm]: dev-packages/node-integration-tests/suites/tracing/prisma-orm-v5/test.ts#L36
AssertionError: expected [ { data: { …(5) }, …(8) }, …(44) ] to deeply equal ArrayContaining{…} - Expected + Received - ArrayContaining [ - ObjectContaining { + [ + { "data": { "method": "create", "model": "User", "name": "User.create", "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", }, "description": "prisma:client:operation", + "origin": "auto.db.prisma", + "parent_span_id": "977b7055c6254f7e", + "span_id": "9e2c55750cb0acbb", + "start_timestamp": 1791360662.0672412, + "status": "ok", + "timestamp": 1791360662.1148674, + "trace_id": "0f5a07cee1cf44e3a6afa3129653f146", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "9e2c55750cb0acbb", + "span_id": "b92036b0a90d5dfd", + "start_timestamp": 1791360662.0681367, + "status": "ok", + "timestamp": 1791360662.0688176, + "trace_id": "0f5a07cee1cf44e3a6afa3129653f146", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:client:connect", + "origin": "auto.db.prisma", + "parent_span_id": "9e2c55750cb0acbb", + "span_id": "a49cdc75e2988ce1", + "start_timestamp": 1791360662.0767379, + "status": "ok", + "timestamp": 1791360662.1121938, + "trace_id": "0f5a07cee1cf44e3a6afa3129653f146", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connect", + "origin": "auto.db.prisma", + "parent_span_id": "a49cdc75e2988ce1", + "span_id": "823df8478b0a7135", + "start_timestamp": 1791360662.0769455, + "status": "ok", + "timestamp": 1791360662.1111891, + "trace_id": "0f5a07cee1cf44e3a6afa3129653f146", + }, + { + "data": { + "db.system": "postgresql", + "sentry.op": "db", + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:connection", + "op": "db", + "origin": "auto.db.prisma", + "parent_span_id": "823df8478b0a7135", + "span_id": "92502fdd3e64d05f", + "start_timestamp": 1791360662.077253, "status": "ok", + "timestamp": 1791360662.1110876, + "trace_id": "0f5a07cee1cf44e3a6afa3129653f146", }, - ObjectContaining { + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine", + "origin": "auto.db.prisma", + "parent_span_id": "9e2c55750cb0acbb", + "span_id": "a91311db7e4ed8d1", + "start_timestamp": 1791360662.1123278, + "status": "ok", + "timestamp": 1791360662.1143928, + "trace_id": "0f5a07cee1cf44e3a6afa3129653f146", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:response_json_serialization", + "origin": "auto.db.prisma", + "parent_span_id": "a91311db7e4ed8d1", + "span_id": "ac2d47dc3839ac3b", + "start_timestamp": 1791360662.1143842, + "status": "ok", + "timestamp": 1791360662.1143894, + "trace_id": "0f5a07cee1cf44e3a6afa3129653f146", + }, + { + "data": { + "sentry.origin": "auto.db.prisma", + "sentry.trace_lifecycle": "static", + }, + "description": "prisma:engine:serialize", + "origin": "auto.db.prisma", + "parent_span_id": "a91311db7e4ed8d1", + "span_id": "a9eeb0d0a5faab6f", + "start_timestamp": 1791360662.114354, + "status": "ok", + "timestamp": 1791360662.1143742, + "trace_id": "0f5a07cee1cf44e3a6afa3129653f146", + }, + { + "data": { + "db.query.summary": "INSERT \"public\".\"User\"", + "db.statement": "INSERT INTO \"public\".\"User\" (\"created
[chromium] › tests/parameterized-routes.test.ts:65:5 › should create a nested parameterized pageload span when the `app` directory is used: ../../_temp/test-application/tests/parameterized-routes.test.ts#L0
10) [chromium] › tests/parameterized-routes.test.ts:65:5 › should create a nested parameterized pageload span when the `app` directory is used Test timeout of 30000ms exceeded.
[chromium] › tests/parameterized-routes.test.ts:45:5 › should create a partially parameterized pageload span when the `app` directory is used: ../../_temp/test-application/tests/parameterized-routes.test.ts#L0
9) [chromium] › tests/parameterized-routes.test.ts:45:5 › should create a partially parameterized pageload span when the `app` directory is used Test timeout of 30000ms exceeded.
[chromium] › tests/parameterized-routes.test.ts:24:5 › should create a span named after the static route when the `app` directory is used: ../../_temp/test-application/tests/parameterized-routes.test.ts#L0
8) [chromium] › tests/parameterized-routes.test.ts:24:5 › should create a span named after the static route when the `app` directory is used Test timeout of 30000ms exceeded.
[chromium] › tests/parameterized-routes.test.ts:4:5 › should create a parameterized pageload span when the `app` directory is used: ../../_temp/test-application/tests/parameterized-routes.test.ts#L0
7) [chromium] › tests/parameterized-routes.test.ts:4:5 › should create a parameterized pageload span when the `app` directory is used Test timeout of 30000ms exceeded.
[chromium] › tests/isr-routes.test.ts:72:5 › ISR route should be identified correctly in the route manifest: ../../_temp/test-application/tests/isr-routes.test.ts#L0
6) [chromium] › tests/isr-routes.test.ts:72:5 › ISR route should be identified correctly in the route manifest Test timeout of 30000ms exceeded.
[chromium] › tests/isr-routes.test.ts:44:5 › should create unique traces for ISR pages on each visit: ../../_temp/test-application/tests/isr-routes.test.ts#L0
5) [chromium] › tests/isr-routes.test.ts:44:5 › should create unique traces for ISR pages on each visit Test timeout of 30000ms exceeded.
[chromium] › tests/isr-routes.test.ts:28:5 › should remove meta tags for different ISR dynamic route values: ../../_temp/test-application/tests/isr-routes.test.ts#L31
4) [chromium] › tests/isr-routes.test.ts:28:5 › should remove meta tags for different ISR dynamic route values Error: expect(locator).toHaveText(expected) failed Locator: locator('#isr-product-id') Expected: "phone" Timeout: 10000ms Error: element(s) not found Call log: - Expect "toHaveText" locator('#isr-product-id') with timeout 10000ms - waiting for locator('#isr-product-id') 29 | // Test with 'phone' (one of the pre-generated static params) 30 | await page.goto('/isr-test/phone'); > 31 | await expect(page.locator('#isr-product-id')).toHaveText('phone'); | ^ 32 | 33 | await expect(page.locator('meta[name="sentry-trace"]')).toHaveCount(0); 34 | await expect(page.locator('meta[name="baggage"]')).toHaveCount(0); at /home/runner/work/_temp/test-application/tests/isr-routes.test.ts:31:49
[chromium] › tests/isr-routes.test.ts:16:5 › should remove sentry-trace and baggage meta tags on ISR static route: ../../_temp/test-application/tests/isr-routes.test.ts#L21
3) [chromium] › tests/isr-routes.test.ts:16:5 › should remove sentry-trace and baggage meta tags on ISR static route Error: expect(locator).toHaveText(expected) failed Locator: locator('#isr-static-marker') Expected: "static-isr" Timeout: 10000ms Error: element(s) not found Call log: - Expect "toHaveText" locator('#isr-static-marker') with timeout 10000ms - waiting for locator('#isr-static-marker') 19 | 20 | // Wait for page to be fully loaded > 21 | await expect(page.locator('#isr-static-marker')).toHaveText('static-isr'); | ^ 22 | 23 | // Check that sentry-trace and baggage meta tags are removed for ISR pages 24 | await expect(page.locator('meta[name="sentry-trace"]')).toHaveCount(0); at /home/runner/work/_temp/test-application/tests/isr-routes.test.ts:21:52
[chromium] › tests/isr-routes.test.ts:4:5 › should remove sentry-trace and baggage meta tags on ISR dynamic route page load: ../../_temp/test-application/tests/isr-routes.test.ts#L9
2) [chromium] › tests/isr-routes.test.ts:4:5 › should remove sentry-trace and baggage meta tags on ISR dynamic route page load Error: expect(locator).toHaveText(expected) failed Locator: locator('#isr-product-id') Expected: "laptop" Timeout: 10000ms Error: element(s) not found Call log: - Expect "toHaveText" locator('#isr-product-id') with timeout 10000ms - waiting for locator('#isr-product-id') 7 | 8 | // Wait for page to be fully loaded > 9 | await expect(page.locator('#isr-product-id')).toHaveText('laptop'); | ^ 10 | 11 | // Check that sentry-trace and baggage meta tags are removed for ISR pages 12 | await expect(page.locator('meta[name="sentry-trace"]')).toHaveCount(0); at /home/runner/work/_temp/test-application/tests/isr-routes.test.ts:9:49
[chromium] › tests/cloudflare-runtime.test.ts:5:7 › Cloudflare Runtime › Should report cloudflare as the runtime in API route error events: ../../_temp/test-application/tests/cloudflare-runtime.test.ts#L0
1) [chromium] › tests/cloudflare-runtime.test.ts:5:7 › Cloudflare Runtime › Should report cloudflare as the runtime in API route error events Test timeout of 30000ms exceeded.
All required jobs passed or were skipped
Process completed with exit code 1.
🎭 Playwright Run Summary
11 passed (9.6s)
🎭 Playwright Run Summary
11 passed (9.5s)
🎭 Playwright Run Summary
1 passed (4.8s)
🎭 Playwright Run Summary
1 passed (5.9s)
🎭 Playwright Run Summary
2 passed (3.4s)
🎭 Playwright Run Summary
11 passed (6.9s)
🎭 Playwright Run Summary
10 passed (4.2s)
🎭 Playwright Run Summary
10 passed (4.5s)
🎭 Playwright Run Summary
1 passed (3.4s)
🎭 Playwright Run Summary
10 passed (20.3s)
🎭 Playwright Run Summary
4 passed (3.2s)
🎭 Playwright Run Summary
1 passed (3.4s)
🎭 Playwright Run Summary
7 passed (6.6s)
🎭 Playwright Run Summary
3 skipped 17 passed (7.0s)
🎭 Playwright Run Summary
9 passed (1.9s)
🎭 Playwright Run Summary
9 passed (2.8s)
🎭 Playwright Run Summary
20 passed (11.7s)
🎭 Playwright Run Summary
4 passed (5.8s)
🎭 Playwright Run Summary
11 passed (11.1s)
🎭 Playwright Run Summary
11 passed (10.0s)
🎭 Playwright Run Summary
2 passed (5.0s)
🎭 Playwright Run Summary
15 passed (8.3s)
🎭 Playwright Run Summary
2 skipped 10 passed (6.7s)
🎭 Playwright Run Summary
2 skipped 10 passed (6.5s)
🎭 Playwright Run Summary
1 passed (5.1s)
🎭 Playwright Run Summary
5 passed (12.5s)
🎭 Playwright Run Summary
1 skipped 19 passed (2.1s)
🎭 Playwright Run Summary
2 passed (4.0s)
🎭 Playwright Run Summary
2 passed (4.1s)
🎭 Playwright Run Summary
11 skipped 2 passed (3.1s)
🎭 Playwright Run Summary
1 skipped 19 passed (8.4s)
🎭 Playwright Run Summary
5 passed (11.7s)
🎭 Playwright Run Summary
4 passed (16.8s)
🎭 Playwright Run Summary
4 passed (11.9s)
🎭 Playwright Run Summary
4 passed (5.7s)
🎭 Playwright Run Summary
6 passed (14.1s)
🎭 Playwright Run Summary
4 passed (10.2s)
🎭 Playwright Run Summary
5 passed (4.9s)
🎭 Playwright Run Summary
11 passed (11.1s)
🎭 Playwright Run Summary
10 passed (9.5s)
🎭 Playwright Run Summary
2 passed (2.7s)
🎭 Playwright Run Summary
2 skipped 14 passed (16.6s)
🎭 Playwright Run Summary
12 passed (10.1s)
🎭 Playwright Run Summary
16 passed (20.0s)
🎭 Playwright Run Summary
4 passed (7.1s)
🎭 Playwright Run Summary
7 passed (15.0s)
🎭 Playwright Run Summary
4 passed (5.4s)
🎭 Playwright Run Summary
15 passed (40.7s)
🎭 Playwright Run Summary
9 passed (11.2s)
🎭 Playwright Run Summary
23 passed (18.1s)
🎭 Playwright Run Summary
8 passed (8.3s)
🎭 Playwright Run Summary
5 passed (10.0s)
🎭 Playwright Run Summary
12 passed (21.3s)
🎭 Playwright Run Summary
8 passed (6.9s)
🎭 Playwright Run Summary
77 passed (15.5s)
🎭 Playwright Run Summary
2 passed (16.7s)
🎭 Playwright Run Summary
5 passed (6.6s)
🎭 Playwright Run Summary
10 passed (11.8s)
🎭 Playwright Run Summary
16 passed (20.3s)
🎭 Playwright Run Summary
5 passed (15.0s)
🎭 Playwright Run Summary
7 passed (3.3s)
🎭 Playwright Run Summary
3 passed (6.8s)
🎭 Playwright Run Summary
3 passed (4.7s)
🎭 Playwright Run Summary
2 failed [chromium] › tests/transactions.test.ts:4:5 › Sends an API route transaction ─────────────────── [chromium] › tests/transactions.test.ts:143:5 › Sends an API route transaction for an errored route 14 passed (11.3s)
🎭 Playwright Run Summary
15 passed (40.8s)
🎭 Playwright Run Summary
77 passed (16.4s)
🎭 Playwright Run Summary
5 passed (10.7s)
🎭 Playwright Run Summary
25 passed (21.0s)
🎭 Playwright Run Summary
3 passed (4.0s)
🎭 Playwright Run Summary
8 passed (8.7s)
🎭 Playwright Run Summary
5 passed (11.2s)
🎭 Playwright Run Summary
22 passed (14.9s)
🎭 Playwright Run Summary
1 passed (5.1s)
🎭 Playwright Run Summary
8 skipped 6 passed (10.5s)
🎭 Playwright Run Summary
1 passed (3.7s)
🎭 Playwright Run Summary
1 passed (3.7s)
🎭 Playwright Run Summary
5 passed (8.8s)
🎭 Playwright Run Summary
19 passed (29.8s)
🎭 Playwright Run Summary
1 passed (4.4s)
🎭 Playwright Run Summary
11 passed (19.5s)
🎭 Playwright Run Summary
9 passed (14.9s)
🎭 Playwright Run Summary
4 passed (15.4s)
🎭 Playwright Run Summary
4 passed (12.2s)
🎭 Playwright Run Summary
2 failed [chromium] › tests/transactions.test.ts:4:5 › Sends an API route transaction ─────────────────── [chromium] › tests/transactions.test.ts:143:5 › Sends an API route transaction for an errored route 14 passed (11.5s)
🎭 Playwright Run Summary
77 passed (5.2s)
🎭 Playwright Run Summary
4 passed (16.7s)
🎭 Playwright Run Summary
4 passed (11.4s)
🎭 Playwright Run Summary
4 passed (3.2s)
🎭 Playwright Run Summary
9 passed (13.0s)
🎭 Playwright Run Summary
4 passed (11.3s)
🎭 Playwright Run Summary
23 passed (17.6s)
🎭 Playwright Run Summary
1 passed (2.5s)
🎭 Playwright Run Summary
7 passed (4.2s)
🎭 Playwright Run Summary
19 passed (13.3s)
🎭 Playwright Run Summary
3 passed (2.9s)
🎭 Playwright Run Summary
5 passed (8.6s)
🎭 Playwright Run Summary
10 passed (17.0s)
🎭 Playwright Run Summary
1 failed [chromium] › tests/sentry-performance.test.ts:110:5 › captures correct spans for navigation ──── 4 skipped 9 passed (17.3s)
🎭 Playwright Run Summary
1 passed (4.5s)
🎭 Playwright Run Summary
4 passed (3.2s)
🎭 Playwright Run Summary
10 passed (8.4s)
🎭 Playwright Run Summary
1 skipped 76 passed (15.5s)
🎭 Playwright Run Summary
3 passed (15.1s)
🎭 Playwright Run Summary
3 passed (11.3s)
🎭 Playwright Run Summary
2 passed (31.6s)
🎭 Playwright Run Summary
7 passed (11.1s)
🎭 Playwright Run Summary
1 skipped 76 passed (14.9s)
🎭 Playwright Run Summary
25 skipped 2 passed (3.6s)
🎭 Playwright Run Summary
4 passed (22.7s)
🎭 Playwright Run Summary
4 passed (11.4s)
🎭 Playwright Run Summary
4 passed (10.5s)
🎭 Playwright Run Summary
12 passed (17.3s)
🎭 Playwright Run Summary
12 passed (17.4s)
🎭 Playwright Run Summary
11 failed [chromium] › tests/span-decorator.test.ts:4:5 › Transaction includes span and correct value for decorated async function [chromium] › tests/span-decorator.test.ts:40:5 › Transaction includes span and correct value for decorated sync function [chromium] › tests/transactions.test.ts:4:5 › Sends an API route transaction ─────────────────── [chromium] › tests/transactions.test.ts:133:5 › API route transaction includes nest middleware span. Spans created in and after middleware are nested correctly [chromium] › tests/transactions.test.ts:213:5 › API route transaction includes nest guard span and span started in guard is nested correctly [chromium] › tests/transactions.test.ts:278:5 › API route transaction includes nest pipe span for valid request [chromium] › tests/transactions.test.ts:315:5 › API route transaction includes nest pipe span for invalid request [chromium] › tests/transactions.test.ts:352:5 › API route transaction includes nest interceptor spans before route execution. Spans created in and after interceptor are nested correctly [chromium] › tests/transactions.test.ts:470:5 › API route transaction includes exactly one nest interceptor span after route execution. Spans created in controller and in interceptor are nested correctly [chromium] › tests/transactions.test.ts:552:5 › API route transaction includes nest async interceptor spans before route execution. Spans created in and after async interceptor are nested correctly [chromium] › tests/transactions.test.ts:637:5 › API route transaction includes exactly one nest async interceptor span after route execution. Spans created in controller and in async interceptor are nested correctly 12 passed (22.6s)
🎭 Playwright Run Summary
6 passed (13.3s)
🎭 Playwright Run Summary
5 passed (11.5s)
🎭 Playwright Run Summary
15 passed (19.5s)
🎭 Playwright Run Summary
12 passed (39.9s)
🎭 Playwright Run Summary
8 passed (6.4s)
🎭 Playwright Run Summary
1 passed (18.7s)
🎭 Playwright Run Summary
4 passed (8.4s)
🎭 Playwright Run Summary
12 passed (7.3s)
🎭 Playwright Run Summary
77 passed (15.7s)
🎭 Playwright Run Summary
2 passed (18.2s)
🎭 Playwright Run Summary
15 passed (43.8s)
🎭 Playwright Run Summary
4 passed (10.4s)
🎭 Playwright Run Summary
25 skipped 2 passed (3.6s)
🎭 Playwright Run Summary
25 passed (54.0s)
🎭 Playwright Run Summary
24 skipped 3 passed (3.5s)
🎭 Playwright Run Summary
5 passed (11.8s)
🎭 Playwright Run Summary
5 passed (13.7s)
🎭 Playwright Run Summary
13 passed (43.4s)
🎭 Playwright Run Summary
12 passed (19.5s)
🎭 Playwright Run Summary
1 failed [chromium] › tests/performance.test.ts:4:1 › sends a pageload transaction with component tracking init spans 1 passed (4.7s)
🎭 Playwright Run Summary
25 skipped 2 passed (4.0s)
🎭 Playwright Run Summary
5 passed (16.2s)
🎭 Playwright Run Summary
30 passed (32.3s)
🎭 Playwright Run Summary
6 passed (34.8s)
🎭 Playwright Run Summary
10 passed (19.5s)
🎭 Playwright Run Summary
10 passed (13.0s)
🎭 Playwright Run Summary
3 passed (6.7s)
🎭 Playwright Run Summary
22 passed (35.6s)
🎭 Playwright Run Summary
1 skipped 76 passed (15.9s)
🎭 Playwright Run Summary
13 passed (41.7s)
🎭 Playwright Run Summary
4 failed [chromium] › tests/performance.test.ts:248:7 › TraceDirective › creates a child span with the component name as span name on ngOnInit [chromium] › tests/performance.test.ts:295:7 › TraceClass Decorator › adds init span for decorated class [chromium] › tests/performance.test.ts:328:7 › TraceMethod Decorator › adds name to span description of decorated method `ngOnInit` [chromium] › tests/performance.test.ts:359:7 › TraceMethod Decorator › adds fallback name to span description of decorated method `ngAfterViewInit` 1 skipped 8 passed (29.1s)
🎭 Playwright Run Summary
15 passed (31.5s)
🎭 Playwright Run Summary
9 passed (12.2s)
🎭 Playwright Run Summary
4 passed (3.1s)
🎭 Playwright Run Summary
12 passed (38.4s)
🎭 Playwright Run Summary
12 passed (31.9s)
🎭 Playwright Run Summary
2 skipped 7 passed (31.7s)
🎭 Playwright Run Summary
4 passed (22.4s)
🎭 Playwright Run Summary
4 passed (12.1s)
🎭 Playwright Run Summary
15 passed (42.0s)
🎭 Playwright Run Summary
3 passed (30.4s)
🎭 Playwright Run Summary
1 skipped 76 passed (16.3s)
🎭 Playwright Run Summary
2 passed (17.7s)
🎭 Playwright Run Summary
15 passed (50.8s)
🎭 Playwright Run Summary
15 passed (41.8s)
🎭 Playwright Run Summary
4 passed (12.1s)
🎭 Playwright Run Summary
12 passed (9.6s)
🎭 Playwright Run Summary
13 passed (44.3s)
🎭 Playwright Run Summary
12 passed (39.9s)
🎭 Playwright Run Summary
2 passed (29.7s)
🎭 Playwright Run Summary
15 passed (31.4s)
🎭 Playwright Run Summary
6 passed (14.1s)
🎭 Playwright Run Summary
14 passed (14.1s)
🎭 Playwright Run Summary
15 passed (30.8s)
🎭 Playwright Run Summary
13 passed (34.4s)
🎭 Playwright Run Summary
25 passed (52.6s)
🎭 Playwright Run Summary
4 passed (33.7s)
🎭 Playwright Run Summary
30 passed (37.0s)
🎭 Playwright Run Summary
3 passed (8.0s)
🎭 Playwright Run Summary
12 passed (41.1s)
🎭 Playwright Run Summary
12 passed (39.5s)
🎭 Playwright Run Summary
4 passed (12.4s)
🎭 Playwright Run Summary
5 passed (32.3s)
🎭 Playwright Run Summary
5 passed (33.2s)
🎭 Playwright Run Summary
9 passed (37.2s)
🎭 Playwright Run Summary
1 skipped 17 passed (34.0s)
🎭 Playwright Run Summary
498 skipped 190 passed (22.8s)
🎭 Playwright Run Summary
9 passed (15.5s)
🎭 Playwright Run Summary
1 failed [chromium] › tests/useCacheSpans.spec.ts:11:5 › uses low-cardinality names for `use cache` spans 1 skipped 19 passed (31.4s)
🎭 Playwright Run Summary
9 passed (13.2s)
🎭 Playwright Run Summary
11 passed (20.1s)
🎭 Playwright Run Summary
5 passed (33.4s)
🎭 Playwright Run Summary
5 passed (33.1s)
🎭 Playwright Run Summary
13 passed (31.1s)
🎭 Playwright Run Summary
13 passed (13.0s)
🎭 Playwright Run Summary
10 passed (42.3s)
🎭 Playwright Run Summary
3 passed (18.6s)
🎭 Playwright Run Summary
3 passed (12.3s)
🎭 Playwright Run Summary
1 failed [chromium] › tests/useCacheSpans.spec.ts:10:5 › Should create cache spans around `use cache` functions 1 skipped 20 passed (23.7s)
🎭 Playwright Run Summary
1 failed [chromium] › tests/performance.client.test.ts:85:3 › client-specific performance events › records manually added component tracking spans 18 passed (50.8s)
🎭 Playwright Run Summary
6 passed (48.3s)
🎭 Playwright Run Summary
9 passed (33.3s)
🎭 Playwright Run Summary
54 passed (38.3s)
🎭 Playwright Run Summary
22 passed (47.4s)
🎭 Playwright Run Summary
40 passed (35.3s)
🎭 Playwright Run Summary
10 passed (42.3s)
🎭 Playwright Run Summary
10 passed (53.8s)
🎭 Playwright Run Summary
15 passed (44.4s)
🎭 Playwright Run Summary
9 passed (13.1s)
🎭 Playwright Run Summary
3 passed (37.3s)
🎭 Playwright Run Summary
3 passed (7.8s)
🎭 Playwright Run Summary
10 passed (11.6s)
🎭 Playwright Run Summary
1 skipped 29 passed (16.2s)
🎭 Playwright Run Summary
7 skipped 23 passed (11.9s)
🎭 Playwright Run Summary
500 skipped 188 passed (23.9s)
🎭 Playwright Run Summary
40 passed (35.4s)
🎭 Playwright Run Summary
5 skipped 25 passed (11.2s)
🎭 Playwright Run Summary
3 passed (31.9s)
🎭 Playwright Run Summary
3 passed (3.7s)
🎭 Playwright Run Summary
8 passed (38.9s)
🎭 Playwright Run Summary
8 passed (16.0s)
🎭 Playwright Run Summary
10 passed (23.1s)
🎭 Playwright Run Summary
10 passed (6.4s)
🎭 Playwright Run Summary
2 passed (17.1s)
🎭 Playwright Run Summary
13 passed (34.2s)
🎭 Playwright Run Summary
11 passed (46.1s)
🎭 Playwright Run Summary
2 passed (31.1s)
🎭 Playwright Run Summary
6 skipped 7 passed (27.9s)
🎭 Playwright Run Summary
13 passed (18.0s)
🎭 Playwright Run Summary
16 passed (1.3m)
🎭 Playwright Run Summary
8 skipped 22 passed (11.5s)
🎭 Playwright Run Summary
13 passed (47.9s)
🎭 Playwright Run Summary
7 skipped 23 passed (11.5s)
🎭 Playwright Run Summary
13 passed (14.8s)
🎭 Playwright Run Summary
22 passed (47.1s)
🎭 Playwright Run Summary
2 failed [chromium] › tests/transaction.test.ts:6:1 › Sends a server function transaction with auto-instrumentation [chromium] › tests/transaction.test.ts:39:1 › Sends a server function transaction for a nested server function only if it is manually instrumented 2 skipped 19 passed (39.4s)
🎭 Playwright Run Summary
16 skipped 12 passed (27.5s)
🎭 Playwright Run Summary
5 skipped 25 passed (16.3s)
🎭 Playwright Run Summary
17 passed (1.2m)
🎭 Playwright Run Summary
3 failed [chromium] › tests/layer.test.ts:20:7 › Lambda layer › tracing in CJS works ──────────────────── [chromium] › tests/layer.test.ts:91:7 › Lambda layer › tracing in ESM works ──────────────────── [chromium] › tests/layer.test.ts:218:7 › Lambda layer › streaming handlers work ──────────────── 7 passed (1.3m)
🎭 Playwright Run Summary
4 passed (32.4s)
🎭 Playwright Run Summary
4 passed (9.3s)
🎭 Playwright Run Summary
495 skipped 193 passed (25.3s)
🎭 Playwright Run Summary
4 passed (18.2s)
🎭 Playwright Run Summary
4 skipped 53 passed (1.5m)
🎭 Playwright Run Summary
4 skipped 26 passed (19.6s)
🎭 Playwright Run Summary
4 skipped 12 passed (22.5s)
🎭 Playwright Run Summary
2 skipped 14 passed (15.8s)
🎭 Playwright Run Summary
3 failed [chromium] › tests/layer.test.ts:20:7 › Lambda layer › tracing in CJS works ──────────────────── [chromium] › tests/layer.test.ts:91:7 › Lambda layer › tracing in ESM works ──────────────────── [chromium] › tests/layer.test.ts:218:7 › Lambda layer › streaming handlers work ──────────────── 7 passed (1.2m)
🎭 Playwright Run Summary
1 skipped 28 passed (1.2m)
🎭 Playwright Run Summary
29 passed (1.3m)
🎭 Playwright Run Summary
2 passed (19.4s)
🎭 Playwright Run Summary
3 skipped 24 passed (49.9s)
🎭 Playwright Run Summary
1 failed [chromium] › tests/middleware.test.ts:80:5 › Should trace outgoing fetch requests inside middleware and create breadcrumbs for it 5 skipped 41 passed (1.3m)
🎭 Playwright Run Summary
17 passed (1.1m)
🎭 Playwright Run Summary
2 passed (17.1s)
🎭 Playwright Run Summary
13 passed (44.9s)
🎭 Playwright Run Summary
1 skipped 28 passed (1.1m)
🎭 Playwright Run Summary
2 failed [chromium] › tests/performance.server.test.ts:5:1 › sends a server action transaction on pageload [chromium] › tests/performance.server.test.ts:28:1 › sends a server action transaction on client navigation 9 passed (42.3s)
🎭 Playwright Run Summary
4 skipped 12 passed (31.7s)
🎭 Playwright Run Summary
2 skipped 14 passed (15.2s)
🎭 Playwright Run Summary
4 passed (17.1s)
🎭 Playwright Run Summary
2 passed (19.0s)
🎭 Playwright Run Summary
11 passed (44.3s)
🎭 Playwright Run Summary
29 passed (1.3m)
🎭 Playwright Run Summary
364 skipped 324 passed (59.4s)
🎭 Playwright Run Summary
1 skipped 28 passed (1.3m)
🎭 Playwright Run Summary
4 passed (1.8m)
🎭 Playwright Run Summary
13 passed (52.1s)
🎭 Playwright Run Summary
13 passed (16.4s)
🎭 Playwright Run Summary
6 skipped 7 passed (44.9s)
🎭 Playwright Run Summary
13 passed (17.6s)
🎭 Playwright Run Summary
5 skipped 30 passed (1.3m)
🎭 Playwright Run Summary
5 skipped 30 passed (49.4s)
🎭 Playwright Run Summary
3 passed (36.5s)
🎭 Playwright Run Summary
3 passed (12.5s)
🎭 Playwright Run Summary
1 skipped 5 passed (22.2s)
🎭 Playwright Run Summary
58 passed (1.6m)
🎭 Playwright Run Summary
4 skipped 30 passed (58.2s)
🎭 Playwright Run Summary
2 skipped 32 passed (1.3m)
🎭 Playwright Run Summary
2 passed (17.9s)
🎭 Playwright Run Summary
18 passed (1.2m)
🎭 Playwright Run Summary
5 skipped 17 passed (1.3m)
🎭 Playwright Run Summary
1 skipped 21 passed (21.3s)
🎭 Playwright Run Summary
2 failed [chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction [chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction 6 skipped 164 passed (1.7m)
🎭 Playwright Run Summary
9 failed [chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener. [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener. [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan [chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction [chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction 194 skipped 485 passed (1.7m)
🎭 Playwright Run Summary
4 skipped 17 passed (1.3m)
🎭 Playwright Run Summary
1 skipped 20 passed (30.6s)
🎭 Playwright Run Summary
6 failed [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener. [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener. [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan 4 skipped 162 passed (1.8m)
🎭 Playwright Run Summary
1 skipped 171 passed (1.7m)
🎭 Playwright Run Summary
9 failed [chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener. [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener. [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan [chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction [chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction 57 skipped 622 passed (2.2m)
🎭 Playwright Run Summary
9 failed [chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener. [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener. [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan [chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction [chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction 57 skipped 622 passed (2.2m)
🎭 Playwright Run Summary
1 failed [chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source 4 skipped 167 passed (1.7m)
🎭 Playwright Run Summary
9 failed [chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener. [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener. [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan [chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction [chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction 59 skipped 620 passed (2.2m)
🎭 Playwright Run Summary
1 skipped 6 passed (24.4s)
🎭 Playwright Run Summary
76 passed (2.4m)
🎭 Playwright Run Summary
9 failed [chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener. [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener. [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan [chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction [chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction 61 skipped 618 passed (2.2m)
🎭 Playwright Run Summary
1 failed [chromium] › tests/send-to-sentry.test.ts:39:1 › Sends the spans of Workflow steps before the Workflow goes to sleep 6 passed (3.2m)
🎭 Playwright Run Summary
1 skipped 5 passed (23.4s)
🎭 Playwright Run Summary
58 passed (1.8m)
🎭 Playwright Run Summary
76 passed (2.4m)
🎭 Playwright Run Summary
363 skipped 325 passed (50.1s)
🎭 Playwright Run Summary
5 skipped 30 passed (1.9m)
🎭 Playwright Run Summary
4 skipped 31 passed (48.8s)
🎭 Playwright Run Summary
9 failed [chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener. [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener. [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan [chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction [chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction 61 skipped 618 passed (2.5m)
🎭 Playwright Run Summary
1 skipped 5 passed (24.9s)
🎭 Playwright Run Summary
58 passed (1.7m)
🎭 Playwright Run Summary
16 skipped 32 passed (1.6m)
🎭 Playwright Run Summary
5 skipped 43 passed (1.6m)
🎭 Playwright Run Summary
1 skipped 6 passed (26.6s)
🎭 Playwright Run Summary
76 passed (2.3m)
🎭 Playwright Run Summary
44 passed (2.6m)
🎭 Playwright Run Summary
5 skipped 30 passed (2.2m)
🎭 Playwright Run Summary
4 skipped 31 passed (51.4s)
🎭 Playwright Run Summary
16 skipped 32 passed (1.7m)
🎭 Playwright Run Summary
5 skipped 43 passed (1.5m)
🎭 Playwright Run Summary
5 failed [webkit] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source [webkit] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans [webkit] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan [webkit] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction [webkit] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction 190 skipped 493 passed (2.3m)
🎭 Playwright Run Summary
1 skipped 6 passed (27.7s)
🎭 Playwright Run Summary
76 passed (2.3m)
🎭 Playwright Run Summary
16 skipped 32 passed (1.9m)
🎭 Playwright Run Summary
5 skipped 43 passed (1.5m)
🎭 Playwright Run Summary
9 failed [chromium] › suites/public-api/startSpan/basic/test.ts:11:11 › sends a transaction in an envelope with manual origin and custom source [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. [chromium] › suites/tracing/browserTracingIntegration/long-animation-frame-enabled/test.ts:61:11 › should capture long animation frame for event listener. [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:8:11 › should capture long animation frame for top-level script. [chromium] › suites/tracing/browserTracingIntegration/long-tasks-and-animation-frame-enabled/test.ts:63:11 › should capture long animation frame for event listener. [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/multiple-redirects/test.ts:13:11 › creates a pageload and navigation root spans each with multiple navigation.redirect childspans [chromium] › suites/tracing/browserTracingIntegration/navigation-redirect/pageload-redirect/test.ts:13:11 › creates a pageload root span with navigation.redirect childspan [chromium] › suites/tracing/metrics/pageload-resource-spans/test.ts:8:11 › adds resource spans to pageload transaction [chromium] › suites/tracing/user-timing/pageload-measure-spans/test.ts:7:11 › should add browser-related spans to pageload transaction 198 skipped 481 passed (1.7m)
🎭 Playwright Run Summary
13 skipped 35 passed (2.2m)
🎭 Playwright Run Summary
5 skipped 43 passed (1.5m)
🎭 Playwright Run Summary
2 skipped 32 passed (2.6m)
🎭 Playwright Run Summary
2 skipped 32 passed (1.3m)
🎭 Playwright Run Summary
13 skipped 35 passed (2.7m)
🎭 Playwright Run Summary
5 skipped 43 passed (1.6m)
🎭 Playwright Run Summary
13 skipped 35 passed (2.8m)
🎭 Playwright Run Summary
5 skipped 43 passed (1.5m)
🎭 Playwright Run Summary
2 skipped 32 passed (3.0m)
🎭 Playwright Run Summary
2 skipped 32 passed (1.3m)
🎭 Playwright Run Summary
11 failed [chromium] › tests/cloudflare-runtime.test.ts:5:7 › Cloudflare Runtime › Should report cloudflare as the runtime in API route error events [chromium] › tests/isr-routes.test.ts:4:5 › should remove sentry-trace and baggage meta tags on ISR dynamic route page load [chromium] › tests/isr-routes.test.ts:16:5 › should remove sentry-trace and baggage meta tags on ISR static route [chromium] › tests/isr-routes.test.ts:28:5 › should remove meta tags for different ISR dynamic route values [chromium] › tests/isr-routes.test.ts:44:5 › should create unique traces for ISR pages on each visit [chromium] › tests/isr-routes.test.ts:72:5 › ISR route should be identified correctly in the route manifest [chromium] › tests/parameterized-routes.test.ts:4:5 › should create a parameterized pageload span when the `app` directory is used [chromium] › tests/parameterized-routes.test.ts:24:5 › should create a span named after the static route when the `app` directory is used [chromium] › tests/parameterized-routes.test.ts:45:5 › should create a partially parameterized pageload span when the `app` directory is used [chromium] › tests/parameterized-routes.test.ts:65:5 › should create a nested parameterized pageload span when the `app` directory is used [chromium] › tests/prefetch-spans.test.ts:5:5 › Prefetch client spans should have a http.request.prefetch attribute 16 skipped 1 passed (4.9m)

Artifacts

Produced during runtime
Name Size Digest
E2E Test Dump (nextjs-16-cacheComponents)
34.2 KB
sha256:ec9553dc6698e64c04e6949635bd569fa89aa0ff7d3ff2bc8982a2ffad0ec8a4
E2E Test Dump (nextjs-16-static)
104 KB
sha256:ef895d3d4ec992198005dbb10b0f3a219a51b13607cc537032242216ac7f7ce0
E2E Test Dump (nextjs-16-streaming-cacheComponents)
40.7 KB
sha256:206df01c34c834e3d30a3a14577810a990e40a163b0bd5b67e6972618650c8ba
build-bundle-output
20.5 MB
sha256:a2babe76ab45968521d0535140d90616187e2342a105d7a2e5d023095f24272b
build-layer-output
1.38 MB
sha256:738e29f6c96946d08079016a54b14f82dd81363d065070b9895e4ead0b9dbde9
build-output
14.7 MB
sha256:aa940e26af31190235249e7627b93555fde923d4dc081ed37646650dc1d2a34e
build-tarball-output
7.5 MB
sha256:fc9bc91b0d87ae72f09e3b293fcfd9a05332dcba2110e4e63aa15e86b1bc8d7e
playwright-traces-job_browser_playwright_tests-bundle_tracing-chromium-0
1.66 MB
sha256:7b4958c14f976aebb9483dee105e2271cceb0df7bb6d10e80ac28261875ca478
playwright-traces-job_browser_playwright_tests-bundle_tracing_logs_metrics-chromium-0
1.7 MB
sha256:e5b3d830850bf3444346e0e68376e2317c8cf33465a6f1c59819e44922410a1a
playwright-traces-job_browser_playwright_tests-bundle_tracing_replay-chromium-0
2.52 MB
sha256:9207facc4a38cfde8601c81bb855bb9fd4e10d03e6f59bdc14a0d855154a3eb8
playwright-traces-job_browser_playwright_tests-bundle_tracing_replay_feedback-chromium-0
2.61 MB
sha256:9abeef81a69cf75aae830ad6b810c9a51886720de0fc8763db31ece684376ffb
playwright-traces-job_browser_playwright_tests-bundle_tracing_replay_feedback_logs_metrics-chromium-0
2.66 MB
sha256:e9e189363f155e68408a14120d6185146e4bc18de9bddecc3f6e09fe5099cc30
playwright-traces-job_browser_playwright_tests-bundle_tracing_replay_feedback_logs_metrics_min-chromium-0
1.49 MB
sha256:0d1cf39c63fdc4a223c7c3a96e227569623b22befdde08f8d96a9aa4a43ea234
playwright-traces-job_browser_playwright_tests-bundle_tracing_replay_feedback_logs_metrics_min-webkit-0
850 KB
sha256:550d7699039074692393f98e8215f4b57d8ce6e90f66c60ca329fc6491e6deed
playwright-traces-job_browser_playwright_tests-bundle_tracing_replay_logs_metrics-chromium-0
2.57 MB
sha256:58aac2294e04105284e206bc9fa9fb517cdcbccc6285bf642ac11cc7fb8812fb
playwright-traces-job_browser_playwright_tests-esm-chromium-2
560 KB
sha256:4249e461857af6594fc2222dec40e478394553289fa4b36917bb72ffccff0ebc
playwright-traces-job_browser_playwright_tests-esm-chromium-3
3.31 MB
sha256:fa7b0bb42cb82d51e1822faa86b7be36c6e4f541ed2e3d0dbd487b8dd44f33ec
playwright-traces-job_browser_playwright_tests-esm-chromium-4
1.1 MB
sha256:cc2bd1899154c939b056856926558cac679d1b03d78a2c38e3bf47fe4e74b90a
playwright-traces-job_e2e_playwright_tests-angular-19
117 KB
sha256:de6f54f360f98e5b2b0e7a4f646005e97ab3b10e7bb0be5ecd61398afcc19210
playwright-traces-job_e2e_playwright_tests-aws-serverless-layer
34.3 KB
sha256:dfd496e74326cda605188f00d7d5c8b990bbc071f0fa4a8b8ccb13f0ec03c6ed
playwright-traces-job_e2e_playwright_tests-ember-strict-resolver
37.8 KB
sha256:207e27e37f6f8bc263385fb7674d35ee3845f855a63ff75d0cdf0e9671402ef5
playwright-traces-job_e2e_playwright_tests-nestjs-11-static
155 KB
sha256:c18b92e7706793ac0947df40786ff4d27040ef6324ddb12e4678a0b8e2bed14c
playwright-traces-job_e2e_playwright_tests-nextjs-16-cacheComponents
13.1 KB
sha256:8fdea240579c49ad7ac2c7a919f2f702df517c4526f1ebb0bb94a377630f7b00
playwright-traces-job_e2e_playwright_tests-nextjs-16-cf-workers
9.98 MB
sha256:5acb4522ebda04d6ba191bae53845831c763ad6e533b81c6f574c69355088b55
playwright-traces-job_e2e_playwright_tests-nextjs-16-static
12.2 KB
sha256:e03a139c5c296033471f8893d13174aff9aabb5af00cc94deb89fc2975f9f46c
playwright-traces-job_e2e_playwright_tests-nextjs-16-streaming-cacheComponents
10 KB
sha256:c64a826091e5726b0e76874f49eaf3ae6efe61b72c294a3a48dbc03f4518481d
playwright-traces-job_e2e_playwright_tests-node-express-static
16 KB
sha256:c804803b757362048a48d04414ff7979390487bc2be0fbaa9c374838337240de
playwright-traces-job_e2e_playwright_tests-solidstart-static
40.8 KB
sha256:de23a3279577d9d5a79cf3e37cbd947f8b2792013cdf5a398906e871a88a321a
playwright-traces-job_e2e_playwright_tests-svelte-5-static
32.4 KB
sha256:110f334bd2f0b1f16cef00d6fcd6b33774d61baaf60f795cf0dfe5f06d427e1a
playwright-traces-job_e2e_playwright_tests-sveltekit-2-static
55.2 KB
sha256:3f94ed51b5832e7fc49ce884d482cfa030e74e18742a58267d5c6dea393a4f00
playwright-traces-job_e2e_playwright_tests-tanstackstart-react-static
31.4 KB
sha256:147cbc4196add1b346d590f612dc5a57923e3d1a8fdd884076ab01786f3ee29b