Skip to content

fix: Truncate minidump extra parameters when updating#1361

Merged
timfish merged 1 commit intomasterfrom
fix/remove-stale-extra-minidump-param
Apr 27, 2026
Merged

fix: Truncate minidump extra parameters when updating#1361
timfish merged 1 commit intomasterfrom
fix/remove-stale-extra-minidump-param

Conversation

@timfish
Copy link
Copy Markdown
Collaborator

@timfish timfish commented Apr 24, 2026

When using the electronMinidumpIntegration, we store JSON stringified scope in what Crashpad calls "extra parameters". Because these parameters are limited in length, we save them to multiple parameters labelled sentry__N. On ingestion, Relay concatenates these parameters to get the JSON payload.

This PR fixes a potential bug if the JSON payload ever gets shorter and extra parameters are left with Crashpad containing the end of the previous JSON in them.

@timfish timfish requested a review from andreiborza April 27, 2026 14:05
@timfish timfish enabled auto-merge (squash) April 27, 2026 14:27
@timfish timfish merged commit 62da6a9 into master Apr 27, 2026
208 of 215 checks passed
@timfish timfish deleted the fix/remove-stale-extra-minidump-param branch April 27, 2026 14:46
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