Skip to content

Python: preserve A2A status message ids - #5967

Closed
Yufeng He (he-yufeng) wants to merge 1 commit into
microsoft:mainfrom
he-yufeng:fix/a2a-message-id-status-events
Closed

Python: preserve A2A status message ids#5967
Yufeng He (he-yufeng) wants to merge 1 commit into
microsoft:mainfrom
he-yufeng:fix/a2a-message-id-status-events

Conversation

@he-yufeng

Copy link
Copy Markdown
Contributor

Summary

  • Preserve A2A status message IDs when converting status messages into AgentResponseUpdate.
  • Cover both in-progress task snapshots and TaskStatusUpdateEvent streaming updates.

Fixes #5949.

Validation

  • python -m pytest packages\a2a\tests\test_a2a_agent.py::test_terminal_no_artifacts_after_working_with_content packages\a2a\tests\test_a2a_agent.py::test_streaming_status_update_event_yields_content -q -p no:cacheprovider
  • python -m pytest packages\a2a\tests\test_a2a_agent.py -q -p no:cacheprovider
  • python -m ruff check python\packages\a2a\agent_framework_a2a\_agent.py python\packages\a2a\tests\test_a2a_agent.py
  • python -m py_compile python\packages\a2a\agent_framework_a2a\_agent.py python\packages\a2a\tests\test_a2a_agent.py
  • python -m mypy --config-file pyproject.toml agent_framework_a2a
  • python -m pyright --pythonpath .\.venv\Scripts\python.exe packages\a2a\agent_framework_a2a

Copilot AI review requested due to automatic review settings May 20, 2026 06:53
@moonbox3 Evan Mattson (moonbox3) added the python Usage: [Issues, PRs], Target: Python label May 20, 2026

Copilot AI 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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@giles17

Copy link
Copy Markdown
Contributor

Closing in favor of #6053

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

python Usage: [Issues, PRs], Target: Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python: [Bug]: [A2A] Correctly Handle task_id and message_id Returned by A2A

4 participants