feat: Determine Electron process from minidump metadata #2032
build.yml
on: pull_request
Matrix: E2E Tests
Matrix: Unit Tests
All required jobs passed or were skipped
0s
Annotations
11 errors and 2 warnings
index.test.ts > E2E Tests > Electron v15.5.7 > Functional Test Recipes > Native (Sentry Uploader) > Native Main Crash:
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": "09b02c0a-b6ae-4139-fce4f4a6-6bc25e9a.dmp",
+ "length": 567106,
+ "type": "attachment",
},
],
"data": Object {
"breadcrumbs": Array [
+ Object {
+ "category": "electron",
+ "message": "app.will-finish-launching",
+ "timestamp": 0,
+ "type": "ui",
+ },
Object {
- "category": "console",
- "level": "log",
- "message": "main process breadcrumb from first crashing run",
+ "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": "console",
- "level": "log",
- "message": "renderer process breadcrumb from first crashing run",
+ "category": "electron",
+ "data": Object {},
+ "message": "renderer.load-url",
+ "timestamp": 0,
+ "type": "ui",
},
Object {
"category": "console",
"level": "log",
"message": "main process breadcrumb from second run",
+ "timestamp": 0,
},
],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 265072640,
"app_name": "native-sentry-main",
"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-09T15:09:29.873Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
"name": "{{platform}}",
"version": "{{version}}",
},
"runtime": Object {
"name": "Electron",
"version": "{{version}}",
},
+ "trace": Object {
+ "span_id": "{{id}}",
+ "trace_id": "{{id}}",
+ },
},
"environment": "development",
"event_id": "{{id}}",
+ "level": "fatal",
+ "platform": "native",
"release": "[email protected]",
"sdk": Object {
+ "integrations": Array [
+ "SentryMinidump",
+ "ElectronBreadcrumbs",
+ "ElectronNet",
+ "ElectronContext",
+ "ChildProcess",
+ "OnUncaughtException",
+ "PreloadInjection",
+ "AdditionalContext",
+ "Screenshots",
+ "Inbou
|
index.test.ts > E2E Tests > Electron v15.5.7 > Functional Test Recipes > Native (Sentry Uploader) > Native Main Crash:
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": "56fbf258-ceb2-4e60-9a07e4a3-994388ef.dmp",
+ "length": 538730,
+ "type": "attachment",
},
],
"data": Object {
"breadcrumbs": Array [
+ Object {
+ "category": "electron",
+ "message": "app.will-finish-launching",
+ "timestamp": 0,
+ "type": "ui",
+ },
Object {
- "category": "console",
- "level": "log",
- "message": "main process breadcrumb from first crashing run",
+ "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": "console",
- "level": "log",
- "message": "renderer process breadcrumb from first crashing run",
+ "category": "electron",
+ "data": Object {},
+ "message": "renderer.load-url",
+ "timestamp": 0,
+ "type": "ui",
},
Object {
"category": "console",
"level": "log",
"message": "main process breadcrumb from second run",
+ "timestamp": 0,
},
],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 265801728,
"app_name": "native-sentry-main",
"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-09T15:09:29.878Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
"name": "{{platform}}",
"version": "{{version}}",
},
"runtime": Object {
"name": "Electron",
"version": "{{version}}",
},
+ "trace": Object {
+ "span_id": "{{id}}",
+ "trace_id": "{{id}}",
+ },
},
"environment": "development",
"event_id": "{{id}}",
+ "level": "fatal",
+ "platform": "native",
"release": "[email protected]",
"sdk": Object {
+ "integrations": Array [
+ "SentryMinidump",
+ "ElectronBreadcrumbs",
+ "ElectronNet",
+ "ElectronContext",
+ "ChildProcess",
+ "OnUncaughtException",
+ "PreloadInjection",
+ "AdditionalContext",
+ "Screenshots",
+ "Inbou
|
index.test.ts > E2E Tests > Electron v15.5.7 > Functional Test Recipes > Native (Sentry Uploader) > Native Main Crash:
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": "aba6a9dd-78fc-4051-1476d79e-7d3f9ffb.dmp",
+ "length": 534122,
+ "type": "attachment",
},
],
"data": Object {
"breadcrumbs": Array [
+ Object {
+ "category": "electron",
+ "message": "app.will-finish-launching",
+ "timestamp": 0,
+ "type": "ui",
+ },
Object {
- "category": "console",
- "level": "log",
- "message": "main process breadcrumb from first crashing run",
+ "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": "console",
- "level": "log",
- "message": "renderer process breadcrumb from first crashing run",
+ "category": "electron",
+ "data": Object {},
+ "message": "renderer.load-url",
+ "timestamp": 0,
+ "type": "ui",
},
Object {
"category": "console",
"level": "log",
"message": "main process breadcrumb from second run",
+ "timestamp": 0,
},
],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 264998912,
"app_name": "native-sentry-main",
"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-09T15:09:29.877Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
"name": "{{platform}}",
"version": "{{version}}",
},
"runtime": Object {
"name": "Electron",
"version": "{{version}}",
},
+ "trace": Object {
+ "span_id": "{{id}}",
+ "trace_id": "{{id}}",
+ },
},
"environment": "development",
"event_id": "{{id}}",
+ "level": "fatal",
+ "platform": "native",
"release": "[email protected]",
"sdk": Object {
+ "integrations": Array [
+ "SentryMinidump",
+ "ElectronBreadcrumbs",
+ "ElectronNet",
+ "ElectronContext",
+ "ChildProcess",
+ "OnUncaughtException",
+ "PreloadInjection",
+ "AdditionalContext",
+ "Screenshots",
+ "Inbou
|
index.test.ts > E2E Tests > Electron v15.5.7 > Functional Test Recipes > Native (Sentry Uploader) > Native Main Crash:
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": "c9ddd3e3-579b-4fed-f7dc988f-87a5ee16.dmp",
+ "length": 538386,
+ "type": "attachment",
},
],
"data": Object {
"breadcrumbs": Array [
+ Object {
+ "category": "electron",
+ "message": "app.will-finish-launching",
+ "timestamp": 0,
+ "type": "ui",
+ },
Object {
- "category": "console",
- "level": "log",
- "message": "main process breadcrumb from first crashing run",
+ "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": "console",
- "level": "log",
- "message": "renderer process breadcrumb from first crashing run",
+ "category": "electron",
+ "data": Object {},
+ "message": "renderer.load-url",
+ "timestamp": 0,
+ "type": "ui",
},
Object {
"category": "console",
"level": "log",
"message": "main process breadcrumb from second run",
+ "timestamp": 0,
},
],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 264499200,
"app_name": "native-sentry-main",
"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-09T15:09:29.878Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
"name": "{{platform}}",
"version": "{{version}}",
},
"runtime": Object {
"name": "Electron",
"version": "{{version}}",
},
+ "trace": Object {
+ "span_id": "{{id}}",
+ "trace_id": "{{id}}",
+ },
},
"environment": "development",
"event_id": "{{id}}",
+ "level": "fatal",
+ "platform": "native",
"release": "[email protected]",
"sdk": Object {
+ "integrations": Array [
+ "SentryMinidump",
+ "ElectronBreadcrumbs",
+ "ElectronNet",
+ "ElectronContext",
+ "ChildProcess",
+ "OnUncaughtException",
+ "PreloadInjection",
+ "AdditionalContext",
+ "Screenshots",
+ "Inbou
|
index.test.ts > E2E Tests > Electron v15.5.7 > Functional Test Recipes > Native (Sentry Uploader) > Native Main Crash (Custom Release Name):
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": "628df857-4d2d-4600-c4df338d-34a4dbdd.dmp",
+ "length": 548034,
+ "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",
+ "data": Object {},
+ "message": "renderer.load-url",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ ],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 265539584,
"app_name": "native-sentry-main-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-09T15:09:29.878Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
"name": "{{platform}}",
"version": "{{version}}",
},
"runtime": Object {
"name": "Electron",
"version": "{{version}}",
},
+ "trace": Object {
+ "span_id": "{{id}}",
+ "trace_id": "{{id}}",
+ },
},
"environment": "custom-env",
"event_id": "{{id}}",
+ "level": "fatal",
+ "platform": "native",
"release": "custom-name",
"sdk": Object {
+ "integrations": Array [
+ "SentryMinidump",
+ "ElectronBreadcrumbs",
+ "ElectronNet",
+ "ElectronContext",
+ "ChildProcess",
+ "OnUncaughtException",
+ "PreloadInjection",
+ "AdditionalContext",
+ "Screenshots",
+ "InboundFilters",
+ "FunctionToString",
+ "LinkedErrors",
+ "Console",
+ "NodeFetch",
+ "OnUnhandledRejection",
+ "ContextLines",
+ "LocalVariables",
+ "Context",
+ "NormalizePaths",
+ ],
"name": "sentry.javascript.electron",
"packages": Array [
Object {
"name": "npm:@sentry/electron",
|
index.test.ts > E2E Tests > Electron v15.5.7 > Functional Test Recipes > Native (Sentry Uploader) > Native Main Crash (Custom Release Name):
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": "d5c982ea-ef50-4109-45ce5382-e57ab135.dmp",
+ "length": 534746,
+ "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",
+ "data": Object {},
+ "message": "renderer.load-url",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ ],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 264372224,
"app_name": "native-sentry-main-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-09T15:09:29.870Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
"name": "{{platform}}",
"version": "{{version}}",
},
"runtime": Object {
"name": "Electron",
"version": "{{version}}",
},
+ "trace": Object {
+ "span_id": "{{id}}",
+ "trace_id": "{{id}}",
+ },
},
"environment": "custom-env",
"event_id": "{{id}}",
+ "level": "fatal",
+ "platform": "native",
"release": "custom-name",
"sdk": Object {
+ "integrations": Array [
+ "SentryMinidump",
+ "ElectronBreadcrumbs",
+ "ElectronNet",
+ "ElectronContext",
+ "ChildProcess",
+ "OnUncaughtException",
+ "PreloadInjection",
+ "AdditionalContext",
+ "Screenshots",
+ "InboundFilters",
+ "FunctionToString",
+ "LinkedErrors",
+ "Console",
+ "NodeFetch",
+ "OnUnhandledRejection",
+ "ContextLines",
+ "LocalVariables",
+ "Context",
+ "NormalizePaths",
+ ],
"name": "sentry.javascript.electron",
"packages": Array [
Object {
"name": "npm:@sentry/electron",
|
index.test.ts > E2E Tests > Electron v15.5.7 > Functional Test Recipes > Native (Sentry Uploader) > Native Main Crash (Custom Release Name):
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": "435817c8-4750-4a48-44aed289-2ce1ff08.dmp",
+ "length": 538594,
+ "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",
+ "data": Object {},
+ "message": "renderer.load-url",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ ],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 264351744,
"app_name": "native-sentry-main-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-09T15:09:29.874Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
"name": "{{platform}}",
"version": "{{version}}",
},
"runtime": Object {
"name": "Electron",
"version": "{{version}}",
},
+ "trace": Object {
+ "span_id": "{{id}}",
+ "trace_id": "{{id}}",
+ },
},
"environment": "custom-env",
"event_id": "{{id}}",
+ "level": "fatal",
+ "platform": "native",
"release": "custom-name",
"sdk": Object {
+ "integrations": Array [
+ "SentryMinidump",
+ "ElectronBreadcrumbs",
+ "ElectronNet",
+ "ElectronContext",
+ "ChildProcess",
+ "OnUncaughtException",
+ "PreloadInjection",
+ "AdditionalContext",
+ "Screenshots",
+ "InboundFilters",
+ "FunctionToString",
+ "LinkedErrors",
+ "Console",
+ "NodeFetch",
+ "OnUnhandledRejection",
+ "ContextLines",
+ "LocalVariables",
+ "Context",
+ "NormalizePaths",
+ ],
"name": "sentry.javascript.electron",
"packages": Array [
Object {
"name": "npm:@sentry/electron",
|
index.test.ts > E2E Tests > Electron v15.5.7 > Functional Test Recipes > Native (Sentry Uploader) > Native Main Crash (Custom Release Name):
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": "2ac8ec67-af79-41f5-97669abe-8dd25734.dmp",
+ "length": 534042,
+ "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",
+ "data": Object {},
+ "message": "renderer.load-url",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ ],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 264904704,
"app_name": "native-sentry-main-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-09T15:09:29.874Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
"name": "{{platform}}",
"version": "{{version}}",
},
"runtime": Object {
"name": "Electron",
"version": "{{version}}",
},
+ "trace": Object {
+ "span_id": "{{id}}",
+ "trace_id": "{{id}}",
+ },
},
"environment": "custom-env",
"event_id": "{{id}}",
+ "level": "fatal",
+ "platform": "native",
"release": "custom-name",
"sdk": Object {
+ "integrations": Array [
+ "SentryMinidump",
+ "ElectronBreadcrumbs",
+ "ElectronNet",
+ "ElectronContext",
+ "ChildProcess",
+ "OnUncaughtException",
+ "PreloadInjection",
+ "AdditionalContext",
+ "Screenshots",
+ "InboundFilters",
+ "FunctionToString",
+ "LinkedErrors",
+ "Console",
+ "NodeFetch",
+ "OnUnhandledRejection",
+ "ContextLines",
+ "LocalVariables",
+ "Context",
+ "NormalizePaths",
+ ],
"name": "sentry.javascript.electron",
"packages": Array [
Object {
"name": "npm:@sentry/electron",
|
index.test.ts > E2E Tests > Electron v15.5.7 > Functional Test Recipes > Native (Sentry Uploader) > Native Main Crash (after update):
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": "e7688430-2cab-4612-d4a39a9d-d8053414.dmp",
+ "length": 534394,
+ "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",
+ "data": Object {},
+ "message": "renderer.load-url",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ ],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 265134080,
"app_name": "native-sentry-main-update",
"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-09T15:09:29.879Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
"name": "{{platform}}",
"version": "{{version}}",
},
"runtime": Object {
"name": "Electron",
"version": "{{version}}",
},
+ "trace": Object {
+ "span_id": "{{id}}",
+ "trace_id": "{{id}}",
+ },
},
"environment": "development",
"event_id": "{{id}}",
- "release": "[email protected]",
+ "level": "fatal",
+ "platform": "native",
+ "release": "[email protected]",
"sdk": Object {
+ "integrations": Array [
+ "SentryMinidump",
+ "ElectronBreadcrumbs",
+ "ElectronNet",
+ "ElectronContext",
+ "ChildProcess",
+ "OnUncaughtException",
+ "PreloadInjection",
+ "AdditionalContext",
+ "Screenshots",
+ "InboundFilters",
+ "FunctionToString",
+ "LinkedErrors",
+ "Console",
+ "NodeFetch",
+ "OnUnhandledRejection",
+ "ContextLines",
+ "LocalVariables",
+ "Context",
+ "NormalizePaths",
+ ],
"name": "sentry.javascript.electron",
"packages": Array [
|
index.test.ts > E2E Tests > Electron v15.5.7 > Functional Test Recipes > Native (Sentry Uploader) > Native Main Crash (after update):
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": "f7e4dac8-8233-4709-179051a0-04aa60cf.dmp",
+ "length": 524434,
+ "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",
+ "data": Object {},
+ "message": "renderer.load-url",
+ "timestamp": 0,
+ "type": "ui",
+ },
+ ],
"contexts": Object {
"app": Object {
+ "app_arch": "x64",
+ "app_memory": 263843840,
"app_name": "native-sentry-main-update",
"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-09T15:09:29.873Z",
"cpu_description": "{{cpu}}",
"family": "Desktop",
"free_memory": 0,
"memory_size": 0,
"processor_count": 0,
"processor_frequency": 0,
"screen_density": 1,
"screen_resolution": "{{screen}}",
},
"node": Object {
"name": "Node",
"type": "runtime",
"version": "{{version}}",
},
"os": Object {
+ "kernel_version": "6.5.0-1025-azure",
"name": "{{platform}}",
"version": "{{version}}",
},
"runtime": Object {
"name": "Electron",
"version": "{{version}}",
},
+ "trace": Object {
+ "span_id": "{{id}}",
+ "trace_id": "{{id}}",
+ },
},
"environment": "development",
"event_id": "{{id}}",
- "release": "[email protected]",
+ "level": "fatal",
+ "platform": "native",
+ "release": "[email protected]",
"sdk": Object {
+ "integrations": Array [
+ "SentryMinidump",
+ "ElectronBreadcrumbs",
+ "ElectronNet",
+ "ElectronContext",
+ "ChildProcess",
+ "OnUncaughtException",
+ "PreloadInjection",
+ "AdditionalContext",
+ "Screenshots",
+ "InboundFilters",
+ "FunctionToString",
+ "LinkedErrors",
+ "Console",
+ "NodeFetch",
+ "OnUnhandledRejection",
+ "ContextLines",
+ "LocalVariables",
+ "Context",
+ "NormalizePaths",
+ ],
"name": "sentry.javascript.electron",
"packages": Array [
|
All required jobs passed or were skipped
Process completed with exit code 1.
|
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
acf207496c857e84919d37d4c9e46ed01ff3e249
|
214 KB |
|