Skip to content

fix: Don't generate empty metadata change events in VertexTaskStore#962

Draft
gaborfeher wants to merge 1 commit intoa2aproject:mainfrom
gaborfeher:gaborfeher-md2
Draft

fix: Don't generate empty metadata change events in VertexTaskStore#962
gaborfeher wants to merge 1 commit intoa2aproject:mainfrom
gaborfeher:gaborfeher-md2

Conversation

@gaborfeher
Copy link
Copy Markdown
Collaborator

For #751

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request modifies the VertexTaskStore to prevent the generation of metadata change events when metadata transitions between empty values, such as {} and None. It also includes a new test case to verify that these transitions do not increment the event sequence number. A review comment suggests moving the explanatory comment above the conditional logic for better clarity and correcting a minor grammatical error.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 10, 2026

🧪 Code Coverage (vs main)

⬇️ Download Full Report

Base PR Delta
src/a2a/contrib/tasks/vertex_task_store.py 91.60% 95.42% 🟢 +3.82%
Total 91.72% 91.82% 🟢 +0.10%

Generated by coverage-comment.yml

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