Skip to content

chore: Inline span-streaming branch of tracing shims in Seer files - #124714

Merged
alexander-alderman-webb merged 3 commits into
masterfrom
webb/seer/remove-tracing-shim
Oct 8, 2026
Merged

alexander-alderman-webb merged 3 commits into
masterfrom
webb/seer/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

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit a8173d3. Configure here.

@alexander-alderman-webb
alexander-alderman-webb requested a review from a team as a code owner October 8, 2026 13:44
@alexander-alderman-webb
alexander-alderman-webb merged commit be71935 into master Oct 8, 2026
78 checks passed
@alexander-alderman-webb
alexander-alderman-webb deleted the webb/seer/remove-tracing-shim branch October 8, 2026 14:48

This branch was successfully deployed

1 active deployment
Preview — 6bd716d2 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