Skip to content

feat(minidump): Shed large attachments#5970

Merged
tobias-wilfert merged 8 commits into
masterfrom
tobias-wilfert/feat/skip-large_attachments
May 11, 2026
Merged

feat(minidump): Shed large attachments#5970
tobias-wilfert merged 8 commits into
masterfrom
tobias-wilfert/feat/skip-large_attachments

Conversation

@tobias-wilfert

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

Copy link
Copy Markdown
Member

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

linear-code Bot commented May 11, 2026

Copy link
Copy Markdown

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
@tobias-wilfert tobias-wilfert added this pull request to the merge queue May 11, 2026
Merged via the queue into master with commit fa4dfaf May 11, 2026
32 checks passed
@tobias-wilfert tobias-wilfert deleted the tobias-wilfert/feat/skip-large_attachments branch May 11, 2026 11:47
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