Skip to content

feat(core)!: Enable data collection by default (based on spec) #3456

feat(core)!: Enable data collection by default (based on spec)

feat(core)!: Enable data collection by default (based on spec) #3456

Triggered via pull request July 31, 2026 13:37
Status Failure
Total duration 20m 42s
Artifacts 1

flaky-test-detector.yml

on: pull_request
Check tests for flakiness
20m 32s
Check tests for flakiness
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 notice
[chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags: dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts#L32
10) [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 @@ -3,11 +3,11 @@ "frames": Array [ Object { "context_line": " <button id=\"inline-error-btn\" onclick=\"throwTestError()\">Click me</button>", "lineno": 12, "post_context": Array [ - " <script src=\"cdn.bundle.js\"></script><script src=\"contextlines.bundle.js\"></script><script defer=\"\" src=\"init.bundle.js\"></script>", + " <script defer=\"\" src=\"init.bundle.js\"></script>", " <footer>Some text...</footer>", "", "</body>", "</html>", ], 30 | const exception = eventData.exception?.values?.[0]; 31 | > 32 | expect(exception).toMatchObject({ | ^ 33 | stacktrace: { 34 | frames: [ 35 | { at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts:32:23
[chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags: dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts#L32
9) [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 @@ -3,11 +3,11 @@ "frames": Array [ Object { "context_line": " <button id=\"inline-error-btn\" onclick=\"throwTestError()\">Click me</button>", "lineno": 12, "post_context": Array [ - " <script src=\"cdn.bundle.js\"></script><script src=\"contextlines.bundle.js\"></script><script defer=\"\" src=\"init.bundle.js\"></script>", + " <script defer=\"\" src=\"init.bundle.js\"></script>", " <footer>Some text...</footer>", "", "</body>", "</html>", ], 30 | const exception = eventData.exception?.values?.[0]; 31 | > 32 | expect(exception).toMatchObject({ | ^ 33 | stacktrace: { 34 | frames: [ 35 | { at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts:32:23
[chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags: dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts#L32
8) [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 @@ -3,11 +3,11 @@ "frames": Array [ Object { "context_line": " <button id=\"inline-error-btn\" onclick=\"throwTestError()\">Click me</button>", "lineno": 12, "post_context": Array [ - " <script src=\"cdn.bundle.js\"></script><script src=\"contextlines.bundle.js\"></script><script defer=\"\" src=\"init.bundle.js\"></script>", + " <script defer=\"\" src=\"init.bundle.js\"></script>", " <footer>Some text...</footer>", "", "</body>", "</html>", ], 30 | const exception = eventData.exception?.values?.[0]; 31 | > 32 | expect(exception).toMatchObject({ | ^ 33 | stacktrace: { 34 | frames: [ 35 | { at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts:32:23
[chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags: dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts#L32
7) [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 @@ -3,11 +3,11 @@ "frames": Array [ Object { "context_line": " <button id=\"inline-error-btn\" onclick=\"throwTestError()\">Click me</button>", "lineno": 12, "post_context": Array [ - " <script src=\"cdn.bundle.js\"></script><script src=\"contextlines.bundle.js\"></script><script defer=\"\" src=\"init.bundle.js\"></script>", + " <script defer=\"\" src=\"init.bundle.js\"></script>", " <footer>Some text...</footer>", "", "</body>", "</html>", ], 30 | const exception = eventData.exception?.values?.[0]; 31 | > 32 | expect(exception).toMatchObject({ | ^ 33 | stacktrace: { 34 | frames: [ 35 | { at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts:32:23
[chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags: dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts#L32
6) [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 @@ -3,11 +3,11 @@ "frames": Array [ Object { "context_line": " <button id=\"inline-error-btn\" onclick=\"throwTestError()\">Click me</button>", "lineno": 12, "post_context": Array [ - " <script src=\"cdn.bundle.js\"></script><script src=\"contextlines.bundle.js\"></script><script defer=\"\" src=\"init.bundle.js\"></script>", + " <script defer=\"\" src=\"init.bundle.js\"></script>", " <footer>Some text...</footer>", "", "</body>", "</html>", ], 30 | const exception = eventData.exception?.values?.[0]; 31 | > 32 | expect(exception).toMatchObject({ | ^ 33 | stacktrace: { 34 | frames: [ 35 | { at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts:32:23
[chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags: dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts#L32
5) [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 @@ -3,11 +3,11 @@ "frames": Array [ Object { "context_line": " <button id=\"inline-error-btn\" onclick=\"throwTestError()\">Click me</button>", "lineno": 12, "post_context": Array [ - " <script src=\"cdn.bundle.js\"></script><script src=\"contextlines.bundle.js\"></script><script defer=\"\" src=\"init.bundle.js\"></script>", + " <script defer=\"\" src=\"init.bundle.js\"></script>", " <footer>Some text...</footer>", "", "</body>", "</html>", ], 30 | const exception = eventData.exception?.values?.[0]; 31 | > 32 | expect(exception).toMatchObject({ | ^ 33 | stacktrace: { 34 | frames: [ 35 | { at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts:32:23
[chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags: dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts#L32
4) [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 @@ -3,11 +3,11 @@ "frames": Array [ Object { "context_line": " <button id=\"inline-error-btn\" onclick=\"throwTestError()\">Click me</button>", "lineno": 12, "post_context": Array [ - " <script src=\"cdn.bundle.js\"></script><script src=\"contextlines.bundle.js\"></script><script defer=\"\" src=\"init.bundle.js\"></script>", + " <script defer=\"\" src=\"init.bundle.js\"></script>", " <footer>Some text...</footer>", "", "</body>", "</html>", ], 30 | const exception = eventData.exception?.values?.[0]; 31 | > 32 | expect(exception).toMatchObject({ | ^ 33 | stacktrace: { 34 | frames: [ 35 | { at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts:32:23
[chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags: dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts#L32
3) [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 @@ -3,11 +3,11 @@ "frames": Array [ Object { "context_line": " <button id=\"inline-error-btn\" onclick=\"throwTestError()\">Click me</button>", "lineno": 12, "post_context": Array [ - " <script src=\"cdn.bundle.js\"></script><script src=\"contextlines.bundle.js\"></script><script defer=\"\" src=\"init.bundle.js\"></script>", + " <script defer=\"\" src=\"init.bundle.js\"></script>", " <footer>Some text...</footer>", "", "</body>", "</html>", ], 30 | const exception = eventData.exception?.values?.[0]; 31 | > 32 | expect(exception).toMatchObject({ | ^ 33 | stacktrace: { 34 | frames: [ 35 | { at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts:32:23
[chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags: dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts#L32
2) [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 @@ -3,11 +3,11 @@ "frames": Array [ Object { "context_line": " <button id=\"inline-error-btn\" onclick=\"throwTestError()\">Click me</button>", "lineno": 12, "post_context": Array [ - " <script src=\"cdn.bundle.js\"></script><script src=\"contextlines.bundle.js\"></script><script defer=\"\" src=\"init.bundle.js\"></script>", + " <script defer=\"\" src=\"init.bundle.js\"></script>", " <footer>Some text...</footer>", "", "</body>", "</html>", ], 30 | const exception = eventData.exception?.values?.[0]; 31 | > 32 | expect(exception).toMatchObject({ | ^ 33 | stacktrace: { 34 | frames: [ 35 | { at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts:32:23
[chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags: dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts#L32
1) [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags Error: expect(received).toMatchObject(expected) - Expected - 1 + Received + 1 @@ -3,11 +3,11 @@ "frames": Array [ Object { "context_line": " <button id=\"inline-error-btn\" onclick=\"throwTestError()\">Click me</button>", "lineno": 12, "post_context": Array [ - " <script src=\"cdn.bundle.js\"></script><script src=\"contextlines.bundle.js\"></script><script defer=\"\" src=\"init.bundle.js\"></script>", + " <script defer=\"\" src=\"init.bundle.js\"></script>", " <footer>Some text...</footer>", "", "</body>", "</html>", ], 30 | const exception = eventData.exception?.values?.[0]; 31 | > 32 | expect(exception).toMatchObject({ | ^ 33 | stacktrace: { 34 | frames: [ 35 | { at /home/runner/work/sentry-javascript/sentry-javascript/dev-packages/browser-integration-tests/suites/integrations/ContextLines/scriptTag/test.ts:32:23
🎭 Playwright Run Summary
21 failed [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags [chromium] › suites/integrations/ContextLines/scriptTag/test.ts:5:11 › should add source context lines around stack frames from errors in Html script tags 567 passed (14.0m)

Artifacts

Produced during runtime
Name Size Digest
playwright-test-results
20.2 MB
sha256:91e242d17a490cd0dd842f0ffaefb2c3e41a2175c141aabefcc5b12d4ca99e76