Skip to content

perf(adk): avoid redundant span input copying - #943

Merged
Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/adk-tracing-cleanup-bd827727
Oct 16, 2026
Merged

Abhijeet Prasad (AbhiPrasad) merged 1 commit into
mainfrom
abhi/adk-tracing-cleanup-bd827727

Conversation

@AbhiPrasad

Copy link
Copy Markdown
Member

Summary

  • Avoid deep-copying ADK Part payloads before span.log, which already performs a safe deep copy.
  • Pass Pydantic tool arguments through to core serialization, which omits None fields.
  • Omit live_connect_config when it is empty.

_serialize_pydantic_schema remains unchanged. Caching model_json_schema() in core's class branch would allow this helper to be removed.

Validation

  • Pre-commit hooks passed.
  • Tests not run.

@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:51:54.922798Z 7b08650 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 bf95827 into main Oct 16, 2026
98 checks passed
@AbhiPrasad
Abhijeet Prasad (AbhiPrasad) deleted the abhi/adk-tracing-cleanup-bd827727 branch October 16, 2026 00:08
@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