Skip to content

feat(minidump): Shed large attachments#5970

Open
tobias-wilfert wants to merge 8 commits intomasterfrom
tobias-wilfert/feat/skip-large_attachments
Open

feat(minidump): Shed large attachments#5970
tobias-wilfert wants to merge 8 commits intomasterfrom
tobias-wilfert/feat/skip-large_attachments

Conversation

@tobias-wilfert
Copy link
Copy Markdown
Member

@tobias-wilfert tobias-wilfert commented May 11, 2026

This changes the logic to skip over large attachments on the /minidump endpoint (if they can't be uploaded to objectstore). More concretely if we encounter an attachment that is too large to put it in the envelope, instead of dropping everything, only drop the attachment and proceed with the remaining items. This is done to avoid dropping the minidump if it is send along with large attachments.

Fix: INGEST-876

field: Field<'static>,
mut item: Managed<Item>,
config: &Config,
ignore_size_exceeded: bool,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This already did some similar logic to what we wanted but could not be used to skip over only large attachments but not large minidumps.

Comment thread relay-server/src/utils/multipart.rs Outdated
Comment thread tests/integration/test_minidump.py Outdated
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 11, 2026

INGEST-876

@tobias-wilfert tobias-wilfert marked this pull request as ready for review May 11, 2026 11:07
@tobias-wilfert tobias-wilfert requested a review from a team as a code owner May 11, 2026 11:07
Comment thread tests/integration/test_minidump.py Outdated
Co-authored-by: Joris Bayer <joris.bayer@sentry.io>
@tobias-wilfert tobias-wilfert enabled auto-merge May 11, 2026 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants