Skip to content

docs(develop): Broaden no_parent_span client report reason - #20571

Closed
sentry-junior[bot] wants to merge 1 commit into
masterfrom
szokeasaurusrex/no-parent-span-span-end
Closed

sentry-junior[bot] wants to merge 1 commit into
masterfrom
szokeasaurusrex/no-parent-span-span-end

Conversation

@sentry-junior

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

Copy link
Copy Markdown
Contributor

DESCRIBE YOUR PR

Broadens the no_parent_span discard reason to also cover spans that are dropped at span end. The motivating case: transaction-based SDKs drop child spans that finish after their transaction was sent. No existing reason fits that case, and SDKs currently report it inconsistently (JS uses invalid, Python uses buffer_overflow). We discussed this in the SDK team channel.

New wording: "Span was not started or was dropped because no active parent span or transaction was present at span start or end."

The wording only describes why a span was dropped. It doesn't imply that every span without a parent gets dropped (in span streaming, those spans become segments). The reason is already registered in Snuba and the frontend, so only the spec needs to change. This bumps the spec to 1.26.0.

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 5, 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 5, 2026 4:04pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
sentry-docs Ignored Ignored Preview Nov 5, 2026 4:04pm 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 5, 2026
@cursor

cursor Bot commented Nov 5, 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 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ensure we follow spec lifecycle

This pull request was closed.

This branch was successfully deployed

1 active deployment
Preview – develop-docs — 960231a5 Deployed Nov 5, 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.

1 participant