You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Trace meta types transaction.event_id as never null #130461
The organization trace-meta endpoint documents transactionChildCountMap[].transaction.event_id as a non-null string, but it returns null there for spans that belong to no transaction.
TransactionChildCount in src/sentry/api/endpoints/organization_trace_meta_types.py declares "transaction.event_id": str.
serialize in src/sentry/api/endpoints/organization_trace_meta.py passes the rows of the transaction_children query (grouped by transaction.event_id) through unchanged, so spans without a transaction show up as a row with "transaction.event_id": null.
The generated OpenAPI spec carries the non-null type at paths["/api/0/organizations/{organization_id_or_slug}/trace-meta/{trace_id}/"].get.responses.200.content["application/json"].schema.properties.transactionChildCountMap.items.properties["transaction.event_id"].
Activity
linear-code commentedon Nov 9, 2026
ENG-9010
fix(cli): Keep response validation working with @sentry/api 1.53.0 (#…
fix(api): Type trace-meta transaction.event_id as nullable (#130511)