Skip to content

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

Merged
ishymko merged 1 commit intoa2aproject:mainfrom
gaborfeher:gaborfeher-md2
Apr 16, 2026
Merged

fix: Don't generate empty metadata change events in VertexTaskStore#962
ishymko merged 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.

Comment thread src/a2a/contrib/tasks/vertex_task_store.py Outdated
@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

@gaborfeher gaborfeher marked this pull request as ready for review April 14, 2026 12:11
@gaborfeher gaborfeher requested a review from a team as a code owner April 14, 2026 12:11
@ishymko ishymko merged commit b44fa8f into a2aproject:main Apr 16, 2026
8 checks passed
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.

2 participants