Skip to content

Fixing OpenAI tracing issues - #974

Merged
tconley1428 merged 9 commits into
mainfrom
openai/tracing_fixes
Jul 18, 2025
Merged

tconley1428 merged 9 commits into
mainfrom
openai/tracing_fixes

Conversation

@tconley1428

@tconley1428 tconley1428 commented Jul 16, 2025 •

Copy link
Copy Markdown
Contributor

What was changed

Traces are not restarted across activity boundaries, span parentage is propagated across activity boundaries. Remove startActivity event

Why?

This makes the traces much more understandable

Checklist

  1. Closes Add tests for the tracing intercepter to OpenAI tests #916

  2. How was this tested:
    Validated against the tracing UI

image
  1. Any docs updates needed?

@tconley1428
tconley1428 requested a review from a team as a code owner July 16, 2025 17:56

@cretz cretz 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.

We may need to open an issue for tracking adding tests for confirming tracing works and continues to work as expected

@tconley1428
tconley1428 merged commit 60f67d9 into main Jul 18, 2025
@tconley1428
tconley1428 deleted the openai/tracing_fixes branch July 18, 2025 17:11
tconley1428 added a commit that referenced this pull request Aug 28, 2025
* Fixing tracing issues. Propagate span parentage, remove startActivity

* Remove traceback

* Add start traces with correct durations

* Add tracing test

* Remove cast

* Remove flaky test check
brianstrauch pushed a commit to temporalio/ai-integrations that referenced this pull request Sep 3, 2026
* Fixing tracing issues. Propagate span parentage, remove startActivity

* Remove traceback

* Add start traces with correct durations

* Add tracing test

* Remove cast

* Remove flaky test check

Migrated-From: temporalio/sdk-python@60f67d9
brianstrauch pushed a commit to temporalio/ai-integrations that referenced this pull request Sep 3, 2026
* Fixing tracing issues. Propagate span parentage, remove startActivity

* Remove traceback

* Add start traces with correct durations

* Add tracing test

* Remove cast

* Remove flaky test check

Migrated-From: temporalio/sdk-python@60f67d9
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.

Add tests for the tracing intercepter to OpenAI tests

2 participants