Skip to content

feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels #49677

feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels

feat(mysql2): Instrument mysql2 >= 3.20.0 via native tracing channels #49677

Triggered via pull request June 29, 2026 13:43
Status Failure
Total duration 19m 38s
Artifacts 4

build.yml

on: pull_request
Get CI Metadata  /  Get Metadata
9s
Get CI Metadata / Get Metadata
Check lockfile
Check lockfile
Check file formatting
49s
Check file formatting
Check PR branches
5s
Check PR branches
Build Lambda layer
1m 28s
Build Lambda layer
Matrix: job_node_core_integration_tests
Matrix: job_node_integration_tests
Matrix: job_node_unit_tests
Lint
1m 5s
Lint
Circular Dependency Check
1m 36s
Circular Dependency Check
Browser Unit Tests
55s
Browser Unit Tests
Bun Unit Tests
56s
Bun Unit Tests
Deno Unit Tests
1m 7s
Deno Unit Tests
Node v18.0.0 Compatibility Check
38s
Node v18.0.0 Compatibility Check
Cloudflare Integration Tests
3m 11s
Cloudflare Integration Tests
Bundler Plugin Integration Tests
3m 21s
Bundler Plugin Integration Tests
Bun Integration Tests
50s
Bun Integration Tests
Check for faulty .d.ts files
38s
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
6s
All required jobs passed or were skipped
Fit to window
Zoom out
Zoom in

Annotations

16 errors, 5 warnings, and 167 notices
[chromium] β€Ί tests/trpc-mutation.test.ts:4:1 β€Ί should create transaction with trpc input for mutation: ../../_temp/test-application/tests/trpc-mutation.test.ts#L0
2) [chromium] β€Ί tests/trpc-mutation.test.ts:4:1 β€Ί should create transaction with trpc input for mutation Test timeout of 30000ms exceeded.
[chromium] β€Ί tests/trpc-error.test.ts:4:1 β€Ί should capture error with trpc context: ../../_temp/test-application/tests/trpc-error.test.ts#L0
1) [chromium] β€Ί tests/trpc-error.test.ts:4:1 β€Ί should capture error with trpc context ──────────── Test timeout of 30000ms exceeded.
Node (26) Integration Tests
Process completed with exit code 1.
suites/tracing/mysql2-tracing-channel/test.ts > mysql2 tracing channel Test > subscribes to mysql2 >= 3.20.0 diagnostics channels with stable semconv attributes [esm]: dev-packages/node-integration-tests/utils/runner/createEsmAndCjsTests.ts#L348
Error: Test timed out in 15000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ Object.apply utils/runner/createEsmAndCjsTests.ts:348:22 ❯ additionalDependencies.mysql2 suites/tracing/mysql2-tracing-channel/test.ts:57:7 ❯ createEsmAndCjsTests utils/runner/createEsmAndCjsTests.ts:52:3 ❯ suites/tracing/mysql2-tracing-channel/test.ts:52:3
Node (24) Integration Tests
Process completed with exit code 1.
suites/tracing/mysql2-tracing-channel/test.ts > mysql2 tracing channel Test > subscribes to mysql2 >= 3.20.0 diagnostics channels with stable semconv attributes [esm]: dev-packages/node-integration-tests/utils/runner/createEsmAndCjsTests.ts#L348
Error: Test timed out in 15000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ Object.apply utils/runner/createEsmAndCjsTests.ts:348:22 ❯ additionalDependencies.mysql2 suites/tracing/mysql2-tracing-channel/test.ts:57:7 ❯ createEsmAndCjsTests utils/runner/createEsmAndCjsTests.ts:52:3 ❯ suites/tracing/mysql2-tracing-channel/test.ts:52:3
Node (18) Integration Tests
Process completed with exit code 1.
suites/tracing/knex/mysql2/test.ts > knex auto instrumentation > with `mysql2` client > should auto-instrument `knex` package [esm]: dev-packages/node-integration-tests/utils/runner/createRunner.ts#L577
Error: docker compose up --wait failed (exit 1) time="2026-06-29T13:58:02Z" level=warning msg="/home/runner/work/sentry-javascript/sentry-javascript/dev-packages/node-integration-tests/suites/tracing/knex/mysql2/docker-compose.yml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion" db_mysql2 Pulling 6b21eb7a1e3e Pulling fs layer 676de6236934 Pulling fs layer 628b8216f873 Pulling fs layer 7626df9d5579 Pulling fs layer 8a1152ace190 Pulling fs layer 6b18c08f8591 Pulling fs layer 44a229152b54 Pulling fs layer c1aa162f275a Pulling fs layer 5b19b549a4f7 Pulling fs layer c1aa162f275a Waiting 44a229152b54 Waiting 55529d672a1c Pulling fs layer 5b19b549a4f7 Waiting 8a1152ace190 Waiting 6b18c08f8591 Waiting 55529d672a1c Waiting 7626df9d5579 Waiting 676de6236934 Downloading [==================================================>] 883B/883B 676de6236934 Verifying Checksum 676de6236934 Download complete 628b8216f873 Downloading [=> ] 15.79kB/783.6kB 6b21eb7a1e3e Downloading [> ] 490.9kB/47.92MB 628b8216f873 Downloading [==================================================>] 783.6kB/783.6kB 628b8216f873 Verifying Checksum 628b8216f873 Download complete 6b21eb7a1e3e Downloading [====> ] 4.423MB/47.92MB 7626df9d5579 Downloading [> ] 64.94kB/6.193MB 6b21eb7a1e3e Downloading [==========================> ] 25.07MB/47.92MB 8a1152ace190 Downloading [==================================================>] 2.607kB/2.607kB 8a1152ace190 Verifying Checksum 8a1152ace190 Download complete 7626df9d5579 Downloading [===========> ] 1.376MB/6.193MB 6b21eb7a1e3e Verifying Checksum 6b21eb7a1e3e Download complete 6b21eb7a1e3e Extracting [> ] 491.5kB/47.92MB 7626df9d5579 Verifying Checksum 7626df9d5579 Download complete 6b18c08f8591 Downloading [==================================================>] 335B/335B 6b18c08f8591 Verifying Checksum 6b18c08f8591 Download complete 6b21eb7a1e3e Extracting [==> ] 1.966MB/47.92MB c1aa162f275a Downloading [==================================================>] 320B/320B c1aa162f275a Verifying Checksum c1aa162f275a Download complete 44a229152b54 Downloading [> ] 523.7kB/51.61MB 6b21eb7a1e3e Extracting [=======> ] 6.881MB/47.92MB 44a229152b54 Downloading [=====> ] 5.242MB/51.61MB 6b21eb7a1e3e Extracting [=======> ] 7.373MB/47.92MB 55529d672a1c Downloading [=================================> ] 3.502kB/5.225kB 55529d672a1c Downloading [==================================================>] 5.225kB/5.225kB 55529d672a1c Verifying Checksum 55529d672a1c Download complete 5b19b549a4f7 Downloading [> ] 527kB/132.4MB 44a229152b54 Downloading [=======================> ] 24.64MB/51.61MB 6b21eb7a1e3e Extracting [===========> ] 10.81MB/47.92MB 5b19b549a4f7 Downloading [=> ] 3.7MB/132.4MB 44a229152b54 Downloading [=============================================> ] 47.19MB/51.61MB 44a229152b54 Verifying Checksum 44a229152b54 Download complete 6b21eb7a1e3e Extracting [===============> ] 14.75MB/47.92MB 5b19b549a4f7 Downloading [=======> ] 19.1MB/132.4MB 6b21eb7a1e3e Extracting [====================> ] 19.66MB/47.92MB 5b19b549a4f7 Downloading [================>
Node (22) Integration Tests
Process completed with exit code 1.
suites/tracing/mysql2-tracing-channel/test.ts > mysql2 tracing channel Test > subscribes to mysql2 >= 3.20.0 diagnostics channels with stable semconv attributes [esm]: dev-packages/node-integration-tests/utils/runner/createEsmAndCjsTests.ts#L348
Error: Test timed out in 15000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ Object.apply utils/runner/createEsmAndCjsTests.ts:348:22 ❯ additionalDependencies.mysql2 suites/tracing/mysql2-tracing-channel/test.ts:57:7 ❯ createEsmAndCjsTests utils/runner/createEsmAndCjsTests.ts:52:3 ❯ suites/tracing/mysql2-tracing-channel/test.ts:52:3
suites/tracing/mysql/test.ts > mysql auto instrumentation > diagnostics-channel (--import @sentry/node/import opt-in) > should run streamed query listeners with the parent context active [cjs]: dev-packages/node-integration-tests/suites/tracing/mysql/test.ts#L161
AssertionError: expected undefined to be defined ❯ transaction suites/tracing/mysql/test.ts:161:40 ❯ expectTransactionEvent utils/runner/createRunner.ts:669:5 ❯ assertExpectedEnvelope utils/runner/createRunner.ts:645:5 ❯ newEnvelope utils/runner/createRunner.ts:331:15 ❯ tryParseEnvelopeFromStdoutLine utils/runner/createRunner.ts:449:15 ❯ Socket.<anonymous> utils/runner/createRunner.ts:467:15
Node (20) Integration Tests
Process completed with exit code 1.
suites/tracing/mysql2-tracing-channel/test.ts > mysql2 tracing channel Test > subscribes to mysql2 >= 3.20.0 diagnostics channels with stable semconv attributes [esm]: dev-packages/node-integration-tests/utils/runner/createEsmAndCjsTests.ts#L348
Error: Test timed out in 15000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ Object.apply utils/runner/createEsmAndCjsTests.ts:348:22 ❯ additionalDependencies.mysql2 suites/tracing/mysql2-tracing-channel/test.ts:57:7 ❯ createEsmAndCjsTests utils/runner/createEsmAndCjsTests.ts:52:3 ❯ suites/tracing/mysql2-tracing-channel/test.ts:52:3
Node (24) (TS 3.8) Integration Tests
Process completed with exit code 1.
suites/tracing/mysql2-tracing-channel/test.ts > mysql2 tracing channel Test > subscribes to mysql2 >= 3.20.0 diagnostics channels with stable semconv attributes [esm]: dev-packages/node-integration-tests/utils/runner/createEsmAndCjsTests.ts#L348
Error: Test timed out in 15000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ Object.apply utils/runner/createEsmAndCjsTests.ts:348:22 ❯ additionalDependencies.mysql2 suites/tracing/mysql2-tracing-channel/test.ts:57:7 ❯ createEsmAndCjsTests utils/runner/createEsmAndCjsTests.ts:52:3 ❯ suites/tracing/mysql2-tracing-channel/test.ts:52:3
All required jobs passed or were skipped
Process completed with exit code 1.
E2E aws-serverless-layer Test
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: aws-actions/setup-sam@v2. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
E2E aws-serverless Test
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: aws-actions/setup-sam@v2. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
E2E aws-serverless-layer (Node 18) Test
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: aws-actions/setup-sam@v2. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
E2E aws-serverless-layer (Node 22) Test
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: aws-actions/setup-sam@v2. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Size Check
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: ./dev-packages/size-limit-gh-action. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
🎭 Playwright Run Summary
3 skipped 17 passed (2.6s)
🎭 Playwright Run Summary
3 passed (3.7s)
🎭 Playwright Run Summary
4 passed (3.5s)
🎭 Playwright Run Summary
3 skipped 17 passed (2.4s)
🎭 Playwright Run Summary
3 passed (2.9s)
🎭 Playwright Run Summary
3 passed (6.5s)
🎭 Playwright Run Summary
2 passed (3.7s)
🎭 Playwright Run Summary
8 passed (2.7s)
🎭 Playwright Run Summary
1 passed (6.4s)
🎭 Playwright Run Summary
19 passed (7.0s)
🎭 Playwright Run Summary
4 passed (4.7s)
🎭 Playwright Run Summary
2 passed (2.8s)
🎭 Playwright Run Summary
1 skipped 71 passed (5.9s)
🎭 Playwright Run Summary
3 passed (4.5s)
🎭 Playwright Run Summary
9 passed (9.0s)
🎭 Playwright Run Summary
12 passed (5.8s)
🎭 Playwright Run Summary
2 passed (2.6s)
🎭 Playwright Run Summary
1 skipped 71 passed (4.7s)
🎭 Playwright Run Summary
3 passed (3.8s)
🎭 Playwright Run Summary
13 passed (12.9s)
🎭 Playwright Run Summary
1 passed (2.4s)
🎭 Playwright Run Summary
25 passed (16.4s)
🎭 Playwright Run Summary
3 passed (4.3s)
🎭 Playwright Run Summary
10 passed (5.4s)
🎭 Playwright Run Summary
10 passed (5.8s)
🎭 Playwright Run Summary
1 passed (3.7s)
🎭 Playwright Run Summary
8 passed (6.5s)
🎭 Playwright Run Summary
7 passed (11.3s)
🎭 Playwright Run Summary
3 passed (8.8s)
🎭 Playwright Run Summary
3 passed (5.6s)
🎭 Playwright Run Summary
1 skipped 71 passed (4.2s)
🎭 Playwright Run Summary
2 passed (4.4s)
🎭 Playwright Run Summary
15 passed (10.6s)
🎭 Playwright Run Summary
5 passed (9.1s)
🎭 Playwright Run Summary
4 passed (3.3s)
🎭 Playwright Run Summary
15 passed (3.0s)
🎭 Playwright Run Summary
3 passed (3.7s)
🎭 Playwright Run Summary
5 passed (18.0s)
🎭 Playwright Run Summary
9 passed (11.5s)
🎭 Playwright Run Summary
18 passed (18.6s)
🎭 Playwright Run Summary
9 passed (10.9s)
🎭 Playwright Run Summary
9 passed (11.6s)
🎭 Playwright Run Summary
11 passed (15.5s)
🎭 Playwright Run Summary
13 passed (13.1s)
🎭 Playwright Run Summary
19 skipped 2 passed (2.6s)
🎭 Playwright Run Summary
8 passed (18.4s)
🎭 Playwright Run Summary
10 passed (25.4s)
🎭 Playwright Run Summary
2 passed (33.8s)
🎭 Playwright Run Summary
14 passed (24.3s)
🎭 Playwright Run Summary
1 skipped 71 passed (4.9s)
🎭 Playwright Run Summary
11 passed (11.6s)
🎭 Playwright Run Summary
10 passed (10.7s)
🎭 Playwright Run Summary
13 passed (15.7s)
🎭 Playwright Run Summary
22 passed (6.6s)
🎭 Playwright Run Summary
5 passed (9.0s)
🎭 Playwright Run Summary
11 passed (15.7s)
🎭 Playwright Run Summary
7 passed (6.7s)
🎭 Playwright Run Summary
23 passed (13.9s)
🎭 Playwright Run Summary
7 passed (8.9s)
🎭 Playwright Run Summary
16 passed (28.9s)
🎭 Playwright Run Summary
16 passed (24.5s)
🎭 Playwright Run Summary
1 skipped 14 passed (12.7s)
🎭 Playwright Run Summary
8 passed (7.1s)
🎭 Playwright Run Summary
12 passed (6.9s)
🎭 Playwright Run Summary
11 passed (5.5s)
🎭 Playwright Run Summary
11 passed (6.0s)
🎭 Playwright Run Summary
11 passed (6.4s)
🎭 Playwright Run Summary
11 passed (6.8s)
🎭 Playwright Run Summary
19 skipped 2 passed (5.2s)
🎭 Playwright Run Summary
2 skipped 21 passed (33.4s)
🎭 Playwright Run Summary
2 skipped 25 passed (34.3s)
🎭 Playwright Run Summary
7 passed (9.6s)
🎭 Playwright Run Summary
12 passed (7.9s)
🎭 Playwright Run Summary
18 passed (18.3s)
🎭 Playwright Run Summary
2 skipped 21 passed (31.6s)
🎭 Playwright Run Summary
30 passed (28.7s)
🎭 Playwright Run Summary
19 skipped 2 passed (3.2s)
🎭 Playwright Run Summary
7 passed (5.3s)
🎭 Playwright Run Summary
2 skipped 19 passed (11.3s)
🎭 Playwright Run Summary
12 passed (19.4s)
🎭 Playwright Run Summary
2 skipped 21 passed (34.3s)
🎭 Playwright Run Summary
13 passed (25.2s)
🎭 Playwright Run Summary
2 passed (23.0s)
🎭 Playwright Run Summary
14 skipped 12 passed (19.3s)
🎭 Playwright Run Summary
14 skipped 12 passed (21.5s)
🎭 Playwright Run Summary
9 passed (9.8s)
🎭 Playwright Run Summary
9 passed (12.2s)
🎭 Playwright Run Summary
2 skipped 21 passed (31.3s)
🎭 Playwright Run Summary
9 passed (11.2s)
🎭 Playwright Run Summary
19 skipped 2 passed (5.0s)
🎭 Playwright Run Summary
40 passed (19.8s)
🎭 Playwright Run Summary
19 skipped 2 passed (9.4s)
🎭 Playwright Run Summary
53 passed (26.8s)
🎭 Playwright Run Summary
10 passed (32.2s)
🎭 Playwright Run Summary
40 passed (20.9s)
🎭 Playwright Run Summary
2 passed (31.4s)
🎭 Playwright Run Summary
11 passed (19.6s)
🎭 Playwright Run Summary
8 passed (10.0s)
🎭 Playwright Run Summary
3 passed (16.1s)
🎭 Playwright Run Summary
3 passed (10.3s)
🎭 Playwright Run Summary
3 passed (16.7s)
🎭 Playwright Run Summary
3 passed (10.3s)
🎭 Playwright Run Summary
9 passed (12.5s)
🎭 Playwright Run Summary
7 passed (21.8s)
🎭 Playwright Run Summary
7 passed (4.9s)
🎭 Playwright Run Summary
9 passed (12.1s)
🎭 Playwright Run Summary
10 passed (30.5s)
🎭 Playwright Run Summary
14 skipped 12 passed (21.1s)
🎭 Playwright Run Summary
17 passed (56.5s)
🎭 Playwright Run Summary
4 passed (34.4s)
🎭 Playwright Run Summary
4 passed (7.8s)
🎭 Playwright Run Summary
4 skipped 10 passed (29.0s)
🎭 Playwright Run Summary
2 skipped 12 passed (7.0s)
🎭 Playwright Run Summary
3 passed (35.0s)
🎭 Playwright Run Summary
3 passed (9.6s)
🎭 Playwright Run Summary
3 passed (39.5s)
🎭 Playwright Run Summary
3 passed (7.8s)
🎭 Playwright Run Summary
2 skipped 14 passed (1.2m)
🎭 Playwright Run Summary
3 skipped 27 passed (40.1s)
🎭 Playwright Run Summary
30 passed (12.5s)
🎭 Playwright Run Summary
2 flaky [chromium] β€Ί tests/trpc-error.test.ts:4:1 β€Ί should capture error with trpc context ───────────── [chromium] β€Ί tests/trpc-mutation.test.ts:4:1 β€Ί should create transaction with trpc input for mutation 1 passed (38.7s)
🎭 Playwright Run Summary
3 passed (4.5s)
🎭 Playwright Run Summary
3 skipped 27 passed (41.7s)
🎭 Playwright Run Summary
30 passed (12.9s)
🎭 Playwright Run Summary
4 skipped 10 passed (26.5s)
🎭 Playwright Run Summary
4 skipped 10 passed (7.4s)
🎭 Playwright Run Summary
5 passed (43.7s)
🎭 Playwright Run Summary
5 passed (11.7s)
🎭 Playwright Run Summary
13 passed (47.0s)
🎭 Playwright Run Summary
13 passed (9.1s)
🎭 Playwright Run Summary
13 passed (48.3s)
🎭 Playwright Run Summary
13 passed (9.5s)
🎭 Playwright Run Summary
4 skipped 10 passed (31.0s)
🎭 Playwright Run Summary
2 skipped 12 passed (7.0s)
🎭 Playwright Run Summary
2 skipped 29 passed (1.1m)
🎭 Playwright Run Summary
2 skipped 29 passed (37.1s)
🎭 Playwright Run Summary
4 passed (17.8s)
🎭 Playwright Run Summary
51 passed (1.0m)
🎭 Playwright Run Summary
4 passed (19.2s)
🎭 Playwright Run Summary
51 passed (1.0m)
🎭 Playwright Run Summary
6 skipped 6 passed (37.2s)
🎭 Playwright Run Summary
12 passed (51.3s)
🎭 Playwright Run Summary
13 skipped 30 passed (1.7m)
🎭 Playwright Run Summary
2 skipped 41 passed (1.1m)
🎭 Playwright Run Summary
13 skipped 30 passed (1.6m)
🎭 Playwright Run Summary
2 skipped 41 passed (1.1m)
🎭 Playwright Run Summary
13 passed (44.6s)
🎭 Playwright Run Summary
13 passed (9.0s)
🎭 Playwright Run Summary
2 skipped 29 passed (1.9m)
🎭 Playwright Run Summary
2 skipped 29 passed (38.0s)
🎭 Playwright Run Summary
13 skipped 30 passed (1.7m)
🎭 Playwright Run Summary
2 skipped 41 passed (1.1m)
🎭 Playwright Run Summary
2 skipped 29 passed (1.9m)
🎭 Playwright Run Summary
2 skipped 29 passed (37.1s)
🎭 Playwright Run Summary
5 skipped 29 passed (2.1m)
🎭 Playwright Run Summary
6 skipped 28 passed (1.1m)
🎭 Playwright Run Summary
2 skipped 32 passed (2.5m)
🎭 Playwright Run Summary
2 skipped 32 passed (1.1m)
🎭 Playwright Run Summary
9 skipped 34 passed (2.5m)
🎭 Playwright Run Summary
2 skipped 41 passed (1.0m)
🎭 Playwright Run Summary
9 skipped 34 passed (2.8m)
🎭 Playwright Run Summary
2 skipped 41 passed (1.0m)
🎭 Playwright Run Summary
4 passed (23.5s)
🎭 Playwright Run Summary
9 skipped 34 passed (2.8m)
🎭 Playwright Run Summary
2 skipped 41 passed (1.0m)
🎭 Playwright Run Summary
2 skipped 32 passed (3.2m)
🎭 Playwright Run Summary
2 skipped 32 passed (1.1m)

Artifacts

Produced during runtime
Name Size Digest
build-bundle-output Expired
16.9 MB
sha256:053b31dc546523ecdd77857d73404ca97eeaacf66c552131d2d99113974af47f
build-layer-output Expired
1.37 MB
sha256:250c92a745f1bdcbc7dfdfec19e59f51099deba464df9b5b0113714c36a87631
build-output Expired
11.5 MB
sha256:3c196b3df3286f98c95e011146565c0f9c9ec59e5680b74a5eec98dff725c733
build-tarball-output Expired
5.48 MB
sha256:aea3ad60a331949fcdbd954d08102d42c185acf15e27a2d9bff0a64a47cefd88