Skip to content

Commit bcbfffe

Browse files
committed
wip
1 parent ca62ce1 commit bcbfffe

File tree

137 files changed

+268
-10582
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+268
-10582
lines changed

dev-packages/node-core-integration-tests/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/node-core-integration-tests",
3-
"version": "9.31.0",
3+
"version": "9.32.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=18"
@@ -34,8 +34,8 @@
3434
"@opentelemetry/resources": "^1.30.1",
3535
"@opentelemetry/sdk-trace-base": "^1.30.1",
3636
"@opentelemetry/semantic-conventions": "^1.30.0",
37-
"@sentry/core": "9.31.0",
38-
"@sentry/node-core": "9.31.0",
37+
"@sentry/core": "9.32.0",
38+
"@sentry/node-core": "9.32.0",
3939
"body-parser": "^1.20.3",
4040
"cors": "^2.8.5",
4141
"cron": "^3.1.6",

dev-packages/node-core-integration-tests/suites/anr/app-path.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import * as Sentry from '@sentry/node-core';
2-
import { setupOtel } from '../../utils/setupOtel.js';
32
import * as assert from 'assert';
43
import * as crypto from 'crypto';
54
import * as path from 'path';
65
import * as url from 'url';
6+
import { setupOtel } from '../../utils/setupOtel.js';
77

88
global._sentryDebugIds = { [new Error().stack]: 'aaaaaaaa-aaaa-4aaa-aaaa-aaaaaaaaaa' };
99

@@ -19,7 +19,6 @@ const client = Sentry.init({
1919
integrations: [Sentry.anrIntegration({ captureStackTrace: true, anrThreshold: 100, appRootPath: __dirname })],
2020
});
2121

22-
2322
setupOtel(client);
2423

2524
Sentry.setUser({ email: 'person@home.com' });

dev-packages/node-core-integration-tests/suites/anr/basic-multiple.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as Sentry from '@sentry/node-core';
2-
import { setupOtel } from '../../utils/setupOtel.js';
32
import * as assert from 'assert';
43
import * as crypto from 'crypto';
4+
import { setupOtel } from '../../utils/setupOtel.js';
55

66
global._sentryDebugIds = { [new Error().stack]: 'aaaaaaaa-aaaa-4aaa-aaaa-aaaaaaaaaa' };
77

@@ -15,7 +15,6 @@ const client = Sentry.init({
1515
integrations: [Sentry.anrIntegration({ captureStackTrace: true, anrThreshold: 100, maxAnrEvents: 2 })],
1616
});
1717

18-
1918
setupOtel(client);
2019

2120
Sentry.setUser({ email: 'person@home.com' });

dev-packages/node-core-integration-tests/suites/anr/basic.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as Sentry from '@sentry/node-core';
2-
import { setupOtel } from '../../utils/setupOtel.js';
32
import * as assert from 'assert';
43
import * as crypto from 'crypto';
4+
import { setupOtel } from '../../utils/setupOtel.js';
55

66
global._sentryDebugIds = { [new Error().stack]: 'aaaaaaaa-aaaa-4aaa-aaaa-aaaaaaaaaa' };
77

@@ -15,7 +15,6 @@ const client = Sentry.init({
1515
integrations: [Sentry.anrIntegration({ captureStackTrace: true, anrThreshold: 100 })],
1616
});
1717

18-
1918
setupOtel(client);
2019

2120
Sentry.setUser({ email: 'person@home.com' });

dev-packages/node-core-integration-tests/suites/anr/indefinite.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as Sentry from '@sentry/node-core';
2-
import { setupOtel } from '../../utils/setupOtel.js';
32
import * as assert from 'assert';
43
import * as crypto from 'crypto';
4+
import { setupOtel } from '../../utils/setupOtel.js';
55

66
setTimeout(() => {
77
process.exit();
@@ -13,7 +13,6 @@ const client = Sentry.init({
1313
integrations: [Sentry.anrIntegration({ captureStackTrace: true, anrThreshold: 100 })],
1414
});
1515

16-
1716
setupOtel(client);
1817

1918
Sentry.setUser({ email: 'person@home.com' });

dev-packages/node-core-integration-tests/suites/anr/isolated.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as Sentry from '@sentry/node-core';
2-
import { setupOtel } from '../../utils/setupOtel.js';
32
import * as assert from 'assert';
43
import * as crypto from 'crypto';
4+
import { setupOtel } from '../../utils/setupOtel.js';
55

66
setTimeout(() => {
77
process.exit();
@@ -13,7 +13,6 @@ const client = Sentry.init({
1313
integrations: [Sentry.anrIntegration({ captureStackTrace: true, anrThreshold: 100 })],
1414
});
1515

16-
1716
setupOtel(client);
1817

1918
async function longWork() {

dev-packages/node-core-integration-tests/suites/anr/should-exit-forced.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ function configureSentry() {
66
dsn: 'https://public@dsn.ingest.sentry.io/1337',
77
release: '1.0',
88
debug: true,
9-
integrations: [Sentry.anrIntegration({ captureStackTrace: true })
10-
11-
setupOtel(client);],
9+
integrations: [Sentry.anrIntegration({ captureStackTrace: true })],
1210
});
11+
setupOtel(client);
1312
}
1413

1514
async function main() {

dev-packages/node-core-integration-tests/suites/anr/should-exit.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,9 @@ function configureSentry() {
66
dsn: 'https://public@dsn.ingest.sentry.io/1337',
77
release: '1.0',
88
debug: true,
9-
integrations: [Sentry.anrIntegration({ captureStackTrace: true })
10-
11-
setupOtel(client);],
9+
integrations: [Sentry.anrIntegration({ captureStackTrace: true })],
1210
});
11+
setupOtel(client);
1312
}
1413

1514
async function main() {

dev-packages/node-core-integration-tests/suites/breadcrumbs/process-thread/app.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import * as Sentry from '@sentry/node-core';
2-
import { setupOtel } from '../../../utils/setupOtel.js';
32
import { loggingTransport } from '@sentry-internal/node-integration-tests';
43
import { spawn } from 'child_process';
54
import { join } from 'path';
65
import { Worker } from 'worker_threads';
6+
import { setupOtel } from '../../../utils/setupOtel.js';
77

88
const __dirname = new URL('.', import.meta.url).pathname;
99

@@ -14,7 +14,6 @@ const client = Sentry.init({
1414
transport: loggingTransport,
1515
});
1616

17-
1817
setupOtel(client);
1918

2019
(async () => {

dev-packages/node-core-integration-tests/suites/child-process/fork.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import * as Sentry from '@sentry/node-core';
2-
import { setupOtel } from '../../utils/setupOtel.js';
32
import { loggingTransport } from '@sentry-internal/node-integration-tests';
43
import { fork } from 'child_process';
54
import * as path from 'path';
5+
import { setupOtel } from '../../utils/setupOtel.js';
66

77
const __dirname = new URL('.', import.meta.url).pathname;
88

@@ -13,7 +13,6 @@ const client = Sentry.init({
1313
transport: loggingTransport,
1414
});
1515

16-
1716
setupOtel(client);
1817

1918
fork(path.join(__dirname, 'child.mjs'));

0 commit comments

Comments
 (0)