Skip to content

Improve renderer crash report diagnostics#2438

Open
nwparker wants to merge 1 commit into
stablyai:mainfrom
nwparker:nwparker/crash-renderer-diagnostics
Open

Improve renderer crash report diagnostics#2438
nwparker wants to merge 1 commit into
stablyai:mainfrom
nwparker:nwparker/crash-renderer-diagnostics

Conversation

@nwparker
Copy link
Copy Markdown
Contributor

Summary

  • Add renderer breadcrumbs for bootstrap start/render, window errors, unhandled rejections, and Chromium JS heap samples.
  • Add a typed preload IPC path for renderer breadcrumbs with main-process sanitization.
  • Coalesce repetitive agent-state crash breadcrumbs so they do not fill the 30-entry crash report ring.

Crash reports

Validation

  • pnpm vitest run --config config/vitest.config.ts src/main/crash-reporting/crash-breadcrumb-store.test.ts src/main/ipc/crash-reporting.test.ts src/renderer/src/lib/crash-diagnostics.test.ts
  • pnpm run typecheck:node
  • pnpm run typecheck:web
  • pnpm lint
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant