Skip to content

perf(claude-agent-sdk): reduce tracing payload copies - #945

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/optimize-claude-tracing-a2d94413
Oct 16, 2026
Merged

Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/optimize-claude-tracing-a2d94413

Conversation

@AbhiPrasad

Copy link
Copy Markdown
Member

Summary

  • Reuse each AssistantMessage serialization for the new LLM span output and conversation history.
  • Defer merged LLM output logging until span finalization to avoid repeated deep copies.
  • Store tool dispatch keys at span start and reuse them when closing tool spans.

Validation

  • Commit hooks passed, including Ruff format/check and codespell.
  • Tests not run.
  • No cassette files changed or re-recorded.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-15T23:52:11.446839Z 6e61170 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) merged commit 55dcf51 into main Oct 16, 2026
191 of 195 checks passed
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) deleted the abhi/optimize-claude-tracing-a2d94413 branch October 16, 2026 00:32
@AbhiPrasad

Copy link
Copy Markdown
Member Author

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.

1 participant