Skip to content

Don't add startActivity, etc spans when there is no parent trace in which to nest them #1037

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 20, 2025

Conversation

tconley1428
Copy link
Contributor

What was changed

Title

Why?

When the spans are created, they produce annoying warning messages since there is no trace to which to send them. Would welcome feedback on doing this with less duplication. My attempt at a decorator got gnarly enough I wasn't sure it was worthwhile.

Checklist

  1. Closes

  2. How was this tested:
    Validated the changes against https://github.com/temporal-sa/oai-temporal-wealth-management/tree/modify_ux

  3. Any docs updates needed?

@tconley1428 tconley1428 requested a review from a team as a code owner August 19, 2025 23:46
@tconley1428 tconley1428 merged commit 5080b68 into main Aug 20, 2025
23 of 28 checks passed
@tconley1428 tconley1428 deleted the openai/spans_without_traces branch August 20, 2025 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants