Skip to content

Enhancement: Merge metadata instead of replacing it in TaskManager.TaskStatusUpdateEvent #426

@flex-myeonghyeon

Description

@flex-myeonghyeon

Description

In the current implementation of TaskManager.TaskStatusUpdateEvent,
when metadata is provided, it replaces the existing metadata in the task.
This causes previously stored metadata to be lost.

Expected behavior

When new metadata is provided, it should be merged with the existing metadata instead of replacing it entirely.

Reference

In the a2a-python implementation
,
the metadata is merged rather than overwritten.

Suggestion

Update the Java implementation to merge the metadata (similar to a2a-python)
to preserve existing key-value pairs while updating only the changed entries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions