feat: Determine Electron process from minidump metadata #2031
Annotations
10 errors
Run E2E Tests:
test/e2e/recipe/index.ts#L276
AssertionError: expected [ { data: { …(10) }, …(4) } ] to contain subset [ { method: 'envelope', …(4) } ]
- Expected
+ Received
Array [
Object {
"appId": "277345",
"attachments": Array [
Object {
"attachment_type": "event.minidump",
+ "filename": "12b67a21-b7b3-418d-9945-dc4337c91a83.dmp",
+ "length": 121776,
+ "type": "attachment",
},
],
"data": Object {
- "breadcrumbs": Array [],
+ "breadcrumbs": Array [
+ Object {
+ "category": "electron",
+ "message": "app.will-finish-launching",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.session-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.web-contents-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.browser-window-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.gpu-info-update",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "data": Object {
+ "id": 1,
+ "url": "app:///src/index.html",
+ },
+ "message": "renderer.dom-ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.render-process-gone",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "child-process",
+ "data": Object {
+ "exitCode": 139,
+ "reason": "crashed",
+ },
+ "level": "fatal",
+ "message": "'renderer' process exited with 'crashed'",
+ "timestamp": 0,
+ "type": "process",
+ },
+ Object {
+ "category": "console",
+ "level": "info",
+ "message": "Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.",
+ "timestamp": 0,
+ },
+ ],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 361107456,
"app_name": "native-sentry-renderer",
"app_start_time": "{{time}}",
"app_version": "1.0.0",
},
"browser": Object {
"name": "Chrome",
},
"chrome": Object {
"name": "Chrome",
"type": "runtime",
"version": "{{version}}",
},
+ "cloud_resource": Object {},
"culture": Object {
"locale": "{{locale}}",
"timezone": "{{timezone}}",
},
"device": Object {
"arch": "{{arch}}",
+ "boot_time": "2025-01-09T14:20:14.121Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"electron": Object {
"crashed_url": "app:///src/index.html",
+ "details": Object {
+ "exitCode": 139,
+ "reason": "crashed",
+ },
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
"name": "{
|
Run E2E Tests:
test/e2e/recipe/index.ts#L276
AssertionError: expected [ { data: { …(10) }, …(4) } ] to contain subset [ { method: 'envelope', …(4) } ]
- Expected
+ Received
Array [
Object {
"appId": "277345",
"attachments": Array [
Object {
"attachment_type": "event.minidump",
+ "filename": "cc325e16-bc88-417e-b8b7-a88cc1a5d639.dmp",
+ "length": 120032,
+ "type": "attachment",
},
],
"data": Object {
- "breadcrumbs": Array [],
+ "breadcrumbs": Array [
+ Object {
+ "category": "electron",
+ "message": "app.will-finish-launching",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.session-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.web-contents-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.browser-window-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.gpu-info-update",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "data": Object {
+ "id": 1,
+ "url": "app:///src/index.html",
+ },
+ "message": "renderer.dom-ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.render-process-gone",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "child-process",
+ "data": Object {
+ "exitCode": 139,
+ "reason": "crashed",
+ },
+ "level": "fatal",
+ "message": "'renderer' process exited with 'crashed'",
+ "timestamp": 0,
+ "type": "process",
+ },
+ Object {
+ "category": "console",
+ "level": "info",
+ "message": "Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.",
+ "timestamp": 0,
+ },
+ ],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 360656896,
"app_name": "native-sentry-renderer",
"app_start_time": "{{time}}",
"app_version": "1.0.0",
},
"browser": Object {
"name": "Chrome",
},
"chrome": Object {
"name": "Chrome",
"type": "runtime",
"version": "{{version}}",
},
+ "cloud_resource": Object {},
"culture": Object {
"locale": "{{locale}}",
"timezone": "{{timezone}}",
},
"device": Object {
"arch": "{{arch}}",
+ "boot_time": "2025-01-09T14:20:14.116Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"electron": Object {
"crashed_url": "app:///src/index.html",
+ "details": Object {
+ "exitCode": 139,
+ "reason": "crashed",
+ },
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
"name": "{
|
Run E2E Tests:
test/e2e/recipe/index.ts#L276
AssertionError: expected [ { data: { …(10) }, …(4) } ] to contain subset [ { method: 'envelope', …(4) } ]
- Expected
+ Received
Array [
Object {
"appId": "277345",
"attachments": Array [
Object {
"attachment_type": "event.minidump",
+ "filename": "a7870ffa-3367-4fe3-a6b8-852bd4f527eb.dmp",
+ "length": 124896,
+ "type": "attachment",
},
],
"data": Object {
- "breadcrumbs": Array [],
+ "breadcrumbs": Array [
+ Object {
+ "category": "electron",
+ "message": "app.will-finish-launching",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.session-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.web-contents-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.browser-window-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.gpu-info-update",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "data": Object {
+ "id": 1,
+ "url": "app:///src/index.html",
+ },
+ "message": "renderer.dom-ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.render-process-gone",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "child-process",
+ "data": Object {
+ "exitCode": 139,
+ "reason": "crashed",
+ },
+ "level": "fatal",
+ "message": "'renderer' process exited with 'crashed'",
+ "timestamp": 0,
+ "type": "process",
+ },
+ Object {
+ "category": "console",
+ "level": "info",
+ "message": "Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.",
+ "timestamp": 0,
+ },
+ ],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 361639936,
"app_name": "native-sentry-renderer",
"app_start_time": "{{time}}",
"app_version": "1.0.0",
},
"browser": Object {
"name": "Chrome",
},
"chrome": Object {
"name": "Chrome",
"type": "runtime",
"version": "{{version}}",
},
+ "cloud_resource": Object {},
"culture": Object {
"locale": "{{locale}}",
"timezone": "{{timezone}}",
},
"device": Object {
"arch": "{{arch}}",
+ "boot_time": "2025-01-09T14:20:14.120Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"electron": Object {
"crashed_url": "app:///src/index.html",
+ "details": Object {
+ "exitCode": 139,
+ "reason": "crashed",
+ },
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
"name": "{
|
Run E2E Tests:
test/e2e/recipe/index.ts#L276
AssertionError: expected [ { data: { …(10) }, …(4) } ] to contain subset [ { method: 'envelope', …(4) } ]
- Expected
+ Received
Array [
Object {
"appId": "277345",
"attachments": Array [
Object {
"attachment_type": "event.minidump",
+ "filename": "3f72bf85-7a1d-484d-a286-a9bee5d934e9.dmp",
+ "length": 117552,
+ "type": "attachment",
},
],
"data": Object {
- "breadcrumbs": Array [],
+ "breadcrumbs": Array [
+ Object {
+ "category": "electron",
+ "message": "app.will-finish-launching",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.session-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.web-contents-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.browser-window-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.gpu-info-update",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "data": Object {
+ "id": 1,
+ "url": "app:///src/index.html",
+ },
+ "message": "renderer.dom-ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.render-process-gone",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "child-process",
+ "data": Object {
+ "exitCode": 139,
+ "reason": "crashed",
+ },
+ "level": "fatal",
+ "message": "'renderer' process exited with 'crashed'",
+ "timestamp": 0,
+ "type": "process",
+ },
+ Object {
+ "category": "console",
+ "level": "info",
+ "message": "Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.",
+ "timestamp": 0,
+ },
+ ],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 362328064,
"app_name": "native-sentry-renderer",
"app_start_time": "{{time}}",
"app_version": "1.0.0",
},
"browser": Object {
"name": "Chrome",
},
"chrome": Object {
"name": "Chrome",
"type": "runtime",
"version": "{{version}}",
},
+ "cloud_resource": Object {},
"culture": Object {
"locale": "{{locale}}",
"timezone": "{{timezone}}",
},
"device": Object {
"arch": "{{arch}}",
+ "boot_time": "2025-01-09T14:20:14.122Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"electron": Object {
"crashed_url": "app:///src/index.html",
+ "details": Object {
+ "exitCode": 139,
+ "reason": "crashed",
+ },
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
"name": "{
|
Run E2E Tests:
test/e2e/recipe/index.ts#L276
AssertionError: expected [ { data: { …(10) }, …(4) } ] to contain subset [ { method: 'envelope', …(4) } ]
- Expected
+ Received
Array [
Object {
"appId": "277345",
"attachments": Array [
Object {
"attachment_type": "event.minidump",
+ "filename": "1692a873-9495-43e1-839a-d22468df8530.dmp",
+ "length": 121984,
+ "type": "attachment",
},
],
"data": Object {
- "breadcrumbs": Array [],
+ "breadcrumbs": Array [
+ Object {
+ "category": "electron",
+ "message": "app.will-finish-launching",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.session-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.web-contents-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.browser-window-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.gpu-info-update",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "data": Object {
+ "id": 1,
+ "url": "app:///src/index.html",
+ },
+ "message": "renderer.dom-ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.render-process-gone",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "child-process",
+ "data": Object {
+ "exitCode": 139,
+ "reason": "crashed",
+ },
+ "level": "fatal",
+ "message": "'renderer' process exited with 'crashed'",
+ "timestamp": 0,
+ "type": "process",
+ },
+ Object {
+ "category": "console",
+ "level": "info",
+ "message": "Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.",
+ "timestamp": 0,
+ },
+ ],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 360660992,
"app_name": "native-sentry-renderer-custom-release",
"app_start_time": "{{time}}",
"app_version": "1.0.0",
},
"browser": Object {
"name": "Chrome",
},
"chrome": Object {
"name": "Chrome",
"type": "runtime",
"version": "{{version}}",
},
+ "cloud_resource": Object {},
"culture": Object {
"locale": "{{locale}}",
"timezone": "{{timezone}}",
},
"device": Object {
"arch": "{{arch}}",
+ "boot_time": "2025-01-09T14:20:14.121Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"electron": Object {
"crashed_url": "app:///src/index.html",
+ "details": Object {
+ "exitCode": 139,
+ "reason": "crashed",
+ },
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
|
Run E2E Tests:
test/e2e/recipe/index.ts#L276
AssertionError: expected [ { data: { …(10) }, …(4) } ] to contain subset [ { method: 'envelope', …(4) } ]
- Expected
+ Received
Array [
Object {
"appId": "277345",
"attachments": Array [
Object {
"attachment_type": "event.minidump",
+ "filename": "20151f2a-02aa-40ed-ba3d-d9260dc84dab.dmp",
+ "length": 120160,
+ "type": "attachment",
},
],
"data": Object {
- "breadcrumbs": Array [],
+ "breadcrumbs": Array [
+ Object {
+ "category": "electron",
+ "message": "app.will-finish-launching",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.session-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.web-contents-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.browser-window-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.gpu-info-update",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "data": Object {
+ "id": 1,
+ "url": "app:///src/index.html",
+ },
+ "message": "renderer.dom-ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.render-process-gone",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "child-process",
+ "data": Object {
+ "exitCode": 139,
+ "reason": "crashed",
+ },
+ "level": "fatal",
+ "message": "'renderer' process exited with 'crashed'",
+ "timestamp": 0,
+ "type": "process",
+ },
+ Object {
+ "category": "console",
+ "level": "info",
+ "message": "Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.",
+ "timestamp": 0,
+ },
+ ],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 362987520,
"app_name": "native-sentry-renderer-custom-release",
"app_start_time": "{{time}}",
"app_version": "1.0.0",
},
"browser": Object {
"name": "Chrome",
},
"chrome": Object {
"name": "Chrome",
"type": "runtime",
"version": "{{version}}",
},
+ "cloud_resource": Object {},
"culture": Object {
"locale": "{{locale}}",
"timezone": "{{timezone}}",
},
"device": Object {
"arch": "{{arch}}",
+ "boot_time": "2025-01-09T14:20:14.118Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"electron": Object {
"crashed_url": "app:///src/index.html",
+ "details": Object {
+ "exitCode": 139,
+ "reason": "crashed",
+ },
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
|
Run E2E Tests:
test/e2e/recipe/index.ts#L276
AssertionError: expected [ { data: { …(10) }, …(4) } ] to contain subset [ { method: 'envelope', …(4) } ]
- Expected
+ Received
Array [
Object {
"appId": "277345",
"attachments": Array [
Object {
"attachment_type": "event.minidump",
+ "filename": "8046c604-146b-450c-b00b-1e715ae4aac2.dmp",
+ "length": 118672,
+ "type": "attachment",
},
],
"data": Object {
- "breadcrumbs": Array [],
+ "breadcrumbs": Array [
+ Object {
+ "category": "electron",
+ "message": "app.will-finish-launching",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.session-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.web-contents-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.browser-window-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.gpu-info-update",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "data": Object {
+ "id": 1,
+ "url": "app:///src/index.html",
+ },
+ "message": "renderer.dom-ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.render-process-gone",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "child-process",
+ "data": Object {
+ "exitCode": 139,
+ "reason": "crashed",
+ },
+ "level": "fatal",
+ "message": "'renderer' process exited with 'crashed'",
+ "timestamp": 0,
+ "type": "process",
+ },
+ Object {
+ "category": "console",
+ "level": "info",
+ "message": "Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.",
+ "timestamp": 0,
+ },
+ ],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 362143744,
"app_name": "native-sentry-renderer-custom-release",
"app_start_time": "{{time}}",
"app_version": "1.0.0",
},
"browser": Object {
"name": "Chrome",
},
"chrome": Object {
"name": "Chrome",
"type": "runtime",
"version": "{{version}}",
},
+ "cloud_resource": Object {},
"culture": Object {
"locale": "{{locale}}",
"timezone": "{{timezone}}",
},
"device": Object {
"arch": "{{arch}}",
+ "boot_time": "2025-01-09T14:20:14.121Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"electron": Object {
"crashed_url": "app:///src/index.html",
+ "details": Object {
+ "exitCode": 139,
+ "reason": "crashed",
+ },
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
|
Run E2E Tests:
test/e2e/recipe/index.ts#L276
AssertionError: expected [ { data: { …(10) }, …(4) } ] to contain subset [ { method: 'envelope', …(4) } ]
- Expected
+ Received
Array [
Object {
"appId": "277345",
"attachments": Array [
Object {
"attachment_type": "event.minidump",
+ "filename": "39718fd0-3092-4f2b-b0f6-fd4249f30526.dmp",
+ "length": 118368,
+ "type": "attachment",
},
],
"data": Object {
- "breadcrumbs": Array [],
+ "breadcrumbs": Array [
+ Object {
+ "category": "electron",
+ "message": "app.will-finish-launching",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.session-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.web-contents-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.browser-window-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.gpu-info-update",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "data": Object {
+ "id": 1,
+ "url": "app:///src/index.html",
+ },
+ "message": "renderer.dom-ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.render-process-gone",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "child-process",
+ "data": Object {
+ "exitCode": 139,
+ "reason": "crashed",
+ },
+ "level": "fatal",
+ "message": "'renderer' process exited with 'crashed'",
+ "timestamp": 0,
+ "type": "process",
+ },
+ Object {
+ "category": "console",
+ "level": "info",
+ "message": "Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.",
+ "timestamp": 0,
+ },
+ ],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 361992192,
"app_name": "native-sentry-renderer-custom-release",
"app_start_time": "{{time}}",
"app_version": "1.0.0",
},
"browser": Object {
"name": "Chrome",
},
"chrome": Object {
"name": "Chrome",
"type": "runtime",
"version": "{{version}}",
},
+ "cloud_resource": Object {},
"culture": Object {
"locale": "{{locale}}",
"timezone": "{{timezone}}",
},
"device": Object {
"arch": "{{arch}}",
+ "boot_time": "2025-01-09T14:20:14.120Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"electron": Object {
"crashed_url": "app:///src/index.html",
+ "details": Object {
+ "exitCode": 139,
+ "reason": "crashed",
+ },
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
|
Run E2E Tests:
test/e2e/recipe/index.ts#L276
AssertionError: expected [ { data: { …(10) }, …(4) } ] to contain subset [ { method: 'envelope', …(4) } ]
- Expected
+ Received
Array [
Object {
"appId": "277345",
"attachments": Array [
Object {
"attachment_type": "event.minidump",
+ "filename": "19a9c548-c21d-4a35-be95-ccae399c5ed8.dmp",
+ "length": 126624,
+ "type": "attachment",
},
],
+ "data": Object {
+ "breadcrumbs": Array [
+ Object {
+ "category": "electron",
+ "message": "app.will-finish-launching",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.session-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.web-contents-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.browser-window-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.gpu-info-update",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
"data": Object {
- "breadcrumbs": Array [],
+ "id": 1,
+ "url": "app:///src/index.html",
+ },
+ "message": "renderer.dom-ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.render-process-gone",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "child-process",
+ "data": Object {
+ "exitCode": 133,
+ "reason": "crashed",
+ },
+ "level": "fatal",
+ "message": "'renderer' process exited with 'crashed'",
+ "timestamp": 0,
+ "type": "process",
+ },
+ Object {
+ "category": "console",
+ "level": "info",
+ "message": "Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.",
+ "timestamp": 0,
+ },
+ ],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 362254336,
"app_name": "native-sentry-renderer-force-crash",
"app_start_time": "{{time}}",
"app_version": "1.0.0",
},
"browser": Object {
"name": "Chrome",
},
"chrome": Object {
"name": "Chrome",
"type": "runtime",
"version": "{{version}}",
},
+ "cloud_resource": Object {},
"culture": Object {
"locale": "{{locale}}",
"timezone": "{{timezone}}",
},
"device": Object {
"arch": "{{arch}}",
+ "boot_time": "2025-01-09T14:20:14.118Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
+ },
+ "electron": Object {
+ "crashed_url": "app:///src/index.html",
+ "details": Object {
+ "exitCode": 133,
+ "reason": "crashed",
+ },
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
|
Run E2E Tests:
test/e2e/recipe/index.ts#L276
AssertionError: expected [ { data: { …(10) }, …(4) } ] to contain subset [ { method: 'envelope', …(4) } ]
- Expected
+ Received
Array [
Object {
"appId": "277345",
"attachments": Array [
Object {
"attachment_type": "event.minidump",
+ "filename": "a37e07e4-c57c-40a3-89da-6cbe7882cf44.dmp",
+ "length": 129936,
+ "type": "attachment",
},
],
+ "data": Object {
+ "breadcrumbs": Array [
+ Object {
+ "category": "electron",
+ "message": "app.will-finish-launching",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.session-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.web-contents-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.browser-window-created",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.gpu-info-update",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
"data": Object {
- "breadcrumbs": Array [],
+ "id": 1,
+ "url": "app:///src/index.html",
+ },
+ "message": "renderer.dom-ready",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "electron",
+ "message": "app.render-process-gone",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ Object {
+ "category": "child-process",
+ "data": Object {
+ "exitCode": 133,
+ "reason": "crashed",
+ },
+ "level": "fatal",
+ "message": "'renderer' process exited with 'crashed'",
+ "timestamp": 0,
+ "type": "process",
+ },
+ Object {
+ "category": "console",
+ "level": "info",
+ "message": "Renderer process crashed - see https://www.electronjs.org/docs/tutorial/application-debugging for potential debugging information.",
+ "timestamp": 0,
+ },
+ ],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 361627648,
"app_name": "native-sentry-renderer-force-crash",
"app_start_time": "{{time}}",
"app_version": "1.0.0",
},
"browser": Object {
"name": "Chrome",
},
"chrome": Object {
"name": "Chrome",
"type": "runtime",
"version": "{{version}}",
},
+ "cloud_resource": Object {},
"culture": Object {
"locale": "{{locale}}",
"timezone": "{{timezone}}",
},
"device": Object {
"arch": "{{arch}}",
+ "boot_time": "2025-01-09T14:20:14.116Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
+ },
+ "electron": Object {
+ "crashed_url": "app:///src/index.html",
+ "details": Object {
+ "exitCode": 133,
+ "reason": "crashed",
+ },
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
|
Loading