Skip to content

chore: Inline span-streaming branch of tracing shims in Issue Feed files - #124710

Merged
alexander-alderman-webb merged 4 commits into
masterfrom
webb/issues-feed/remove-tracing-shim
Oct 8, 2026
Merged

alexander-alderman-webb merged 4 commits into
masterfrom
webb/issues-feed/remove-tracing-shim

Conversation

@alexander-alderman-webb

@alexander-alderman-webb alexander-alderman-webb commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Inline the branches of utils.tracing.start_span(), utils.tracing.trace(), utils.tracing.set_span_tag() and utils.tracing.set_span_data() that run when the streaming trace lifecycle is enabled.

Since edfb641 the streaming trace lifecycle is always enabled.

Add repr() around the second argument to StreamedSpan.set_attribute() when mypy complains. Calling repr() is the existing runtime fallback in the SDK.

Set attributes in the attributes parameter to traces.start_span() instead of calling StreamedSpan.set_attribute() where reasonable.

@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Sep 17, 2026
@alexander-alderman-webb alexander-alderman-webb changed the title chore: Inline span-streaming branch of tracing shims in Issue Detection files chore: Inline span-streaming branch of tracing shims in Issue Feed files Sep 17, 2026
@alexander-alderman-webb
alexander-alderman-webb force-pushed the webb/issues-feed/remove-tracing-shim branch from c098f58 to aaf78a3 Compare September 22, 2026 12:24
@alexander-alderman-webb
alexander-alderman-webb marked this pull request as ready for review October 7, 2026 12:54
@alexander-alderman-webb
alexander-alderman-webb merged commit ebd0fd6 into master Oct 8, 2026
88 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/issues-feed/remove-tracing-shim branch October 8, 2026 17:51

This branch was successfully deployed

1 active deployment
Preview — 371223c7 Deployed Oct 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants