Skip to content

perf!(types): Reduce the size of EnvelopeItem#1255

Open
szokeasaurusrex wants to merge 2 commits into
masterfrom
szokeasaurusrex/large-enum-variant-fix
Open

perf!(types): Reduce the size of EnvelopeItem#1255
szokeasaurusrex wants to merge 2 commits into
masterfrom
szokeasaurusrex/large-enum-variant-fix

Conversation

@szokeasaurusrex

Copy link
Copy Markdown
Member

Box the large event and transaction variants to reduce the size of EnvelopeItem. This removes the suppressed large_enum_variant lint.

BREAKING CHANGE: EnvelopeItem::Event and EnvelopeItem::Transaction now hold boxed payloads.

Fixes #1129
Fixes RUST-217

Box the large event and transaction variants to reduce the size of `EnvelopeItem`. This removes the suppressed `large_enum_variant` lint.

BREAKING CHANGE: `EnvelopeItem::Event` and `EnvelopeItem::Transaction` now hold boxed payloads.

Fixes [#1129](#1129)
Fixes [RUST-217](https://linear.app/getsentry/issue/RUST-217)
@linear-code

linear-code Bot commented Jul 21, 2026

Copy link
Copy Markdown

RUST-217

@szokeasaurusrex
szokeasaurusrex marked this pull request as ready for review July 21, 2026 12:29
@szokeasaurusrex
szokeasaurusrex requested a review from a team as a code owner July 21, 2026 12:29
@szokeasaurusrex
szokeasaurusrex requested a review from Litarnus July 21, 2026 12:29
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.

Fix allowed large_enum_variant lint on EnvelopeItem

1 participant