Skip to content

Conversation

@JoshuaMoelans
Copy link
Member

@JoshuaMoelans JoshuaMoelans commented Dec 18, 2025

This is done to avoid collisions with the nil-event_id-envelope for sessions on Crashpad, where on crash we would try to write both the logs envelope and session envelope to the same file.

Since the original nil-id filename (00000000-0000-0000-0000-000000000000.envelope) had no meaning (and wasn't handled differently in reprocessing old runs) writing a random UUID should be fine.

#skip-changelog

- this avoids collisions with the nil-event_id-envelope for sessions on Crashpad
@JoshuaMoelans JoshuaMoelans requested review from mujacica and removed request for mujacica December 19, 2025 13:26
@JoshuaMoelans JoshuaMoelans marked this pull request as draft December 19, 2025 13:57
@JoshuaMoelans JoshuaMoelans changed the title fix(logs): add event_id to logs envelope fix(logs): write nil-event_id-envelopes to random UUID filename Dec 29, 2025
@JoshuaMoelans JoshuaMoelans marked this pull request as ready for review December 29, 2025 11:36
@JoshuaMoelans
Copy link
Member Author

@sentry review

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