Skip to content

feat(client-reports): Record profiles dropped for a missing OS context - #2326

Merged
Litarnus merged 1 commit into
masterfrom
feat/client-reports-profile-missing-os-context
Nov 6, 2026
Merged

Litarnus merged 1 commit into
masterfrom
feat/client-reports-profile-missing-os-context

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #2325: a profile is also discarded when the event has no valid OS context, which happens for example when the default integrations are disabled. This records that drop as profile / insufficient_data, the spec reason for "lack of data in the event".

One line in Profile::getFormattedData() plus a test. ProfileItem already removes a profile that can't be formatted from the event (#2325), so serializing twice for Spotlight doesn't count it twice.

The other validation drops (runtime context, transaction/trace ID, duration, start time) are left for follow-ups.

Part of #2228.

via Martin Linzmayer.

--

View Session [Sentry]

Co-Authored-By: Martin Linzmayer <martin.linzmayer@sentry.io>
@Litarnus
Litarnus merged commit 5808432 into master Nov 6, 2026
56 checks passed
@Litarnus
Litarnus deleted the feat/client-reports-profile-missing-os-context branch November 6, 2026 14:05
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.

1 participant