Skip to content

fix: issue that status or artifact events do not propagate the metatadata to the task - #748

Merged
bartek-gralewicz merged 2 commits into
a2aproject:mainfrom
RonaldMarske:fix-metata-status-update
Sep 23, 2026
Merged

bartek-gralewicz merged 2 commits into
a2aproject:mainfrom
RonaldMarske:fix-metata-status-update

Conversation

@RonaldMarske

Copy link
Copy Markdown
Contributor

Description

Status-update metadata was never merged into the task, so it showed up in the
stream but vanished on tasks/get. applyStatusUpdate just didn't merge it like
the task/artifact paths do.

Turns out applyArtifactUpdate had the same gap for its event-level metadata, so
fixed both. Incoming keys win; the artifact's own metadata still lands 1:1.

Added two tests.

Fixes #739 🦕

@RonaldMarske
RonaldMarske requested a review from a team as a code owner September 23, 2026 09:27
@RonaldMarske
RonaldMarske force-pushed the fix-metata-status-update branch from 1433ace to 708fc39 Compare September 23, 2026 09:28
@RonaldMarske RonaldMarske changed the title Fix: issue that status or artifact events do not propagate the metatadata to the task fix: issue that status or artifact events do not propagate the metatadata to the task Sep 23, 2026
@github-actions

github-actions Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

🧪 Code Coverage

⬇️ Download Full Report

Base PR Delta
src/server/result_manager.ts 83.26% 84.08% 🟢 +0.82%
Total 86.46% 86.48% 🟢 +0.02%

Generated by coverage-comment.yml

@bartek-gralewicz
bartek-gralewicz merged commit 72588af into a2aproject:main Sep 23, 2026
16 checks passed
@RonaldMarske
RonaldMarske deleted the fix-metata-status-update branch September 23, 2026 10:35
bartek-gralewicz pushed a commit that referenced this pull request Sep 24, 2026
🤖 I have created a release *beep* *boop*
---


## [1.2.1](v1.2.0...v1.2.1)
(2026-09-24)


### Bug Fixes

* issue that status or artifact events do not propagate the metatadata
to the task ([#748](#748))
([72588af](72588af))
* **jsonrpc:** return JSON-RPC errors as HTTP 200 and dispatch on
A2A-Version ([#747](#747))
([733259d](733259d))
* **rest:** ensure taskId is correctly set from path parameters when
creating push notification configs
([#740](#740))
([4a42ec1](4a42ec1))
* **server:** add optional media type validation against agent
defaultInputModes
([#745](#745))
([27659a2](27659a2))
* validate JSON-RPC response version
([#698](#698))
([e0cdc91](e0cdc91))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

[Bug]: Title: status-update metadata not persisted on the task

2 participants