Skip to content

Conversation

@jpnurmi
Copy link
Collaborator

@jpnurmi jpnurmi commented Jan 22, 2026

This PR is a preparation step for offline caching. It passes a --report-id=<uuid> command-line argument to the crashpad handler to make crashpad use predefined report IDs instead of generating random IDs.

This eliminates a discrepancy between sentry-native and crashpad by allowing both operate on the same event/report IDs. Since #1319, sentry-native pre-generates event IDs (stored in __sentry-event) on startup, and this change makes crashpad use the same ID as report ID. This way, sentry-native's crashpad backend can maintain sentry-specific event-related state without having to communicate everything to crashpad, which makes it easier to convert completed crashpad reports back to sentry envelopes for backend-agnostic offline caching.

See also:

@jpnurmi jpnurmi force-pushed the jpnurmi/feat/crashpad-report-id branch 3 times, most recently from 4833613 to 96b9632 Compare January 22, 2026 12:49
@jpnurmi jpnurmi force-pushed the jpnurmi/feat/crashpad-report-id branch from 96b9632 to 0dd654c Compare January 22, 2026 16:00
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.

2 participants