Skip to content

docs(develop): Broaden invalid client report reason - #20595

Merged
szokeasaurusrex merged 2 commits into
masterfrom
szokeasaurusrex/broaden-invalid-discard-reason
Nov 10, 2026
Merged

szokeasaurusrex merged 2 commits into
masterfrom
szokeasaurusrex/broaden-invalid-discard-reason

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

DESCRIBE YOUR PR

Broadens the invalid discard reason to cover any data that is dropped because it is invalid, including data in an invalid SDK state, not only data that fails validation. It applies only when no more specific reason fits.

The case that prompted this: transaction-based SDKs drop child spans that finish after their transaction was sent. A child span can't outlive its transaction, so the span is invalid, but it didn't strictly "fail validation." JS already reports this case as invalid. We discussed this in the SDK team channel.

New wording: "Telemetry item failed validation or was otherwise invalid, and no more specific reason applies."

The reason is already registered, so this only changes the spec. This bumps the spec to 1.26.0 and sets the discard-reasons section's since to 1.26.0, following the spec lifecycle.

Refs getsentry/sentry-rust#1397

IS YOUR CHANGE URGENT?

  • Urgent deadline (GA date, etc.): YYYY-MM-DD
  • Other deadline: YYYY-MM-DD
  • No deadline: Not urgent, can wait up to 1 week+

PRE-MERGE CHECKLIST

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

via @szokeasaurusrex.

--

View Session [Sentry]

Co-Authored-By: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com>
@vercel

vercel Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
develop-docs Ready Ready Preview Nov 6, 2026 10:41am UTC
1 Skipped Deployment
Project Deployment Actions Updated
sentry-docs Ignored Ignored Preview Nov 6, 2026 10:41am UTC

Request Review

@github-actions github-actions Bot added sdk-develop-docs PRs touching develop-docs/sdk Priority: Normal Docs review has no urgent deadline labels Nov 6, 2026
@cursor

cursor Bot commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Getting ready to monitor this change · Rollout details

Status Service Environment
⏳ Getting ready to monitor this change

@szokeasaurusrex
szokeasaurusrex merged commit 6fabf68 into master Nov 10, 2026
28 checks passed
@szokeasaurusrex
szokeasaurusrex deleted the szokeasaurusrex/broaden-invalid-discard-reason branch November 10, 2026 12:17

This branch was successfully deployed

1 active deployment
Preview – develop-docs — 889707fb Deployed Nov 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Normal Docs review has no urgent deadline sdk-develop-docs PRs touching develop-docs/sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants