Skip to content

[Feat]: Artifact metadata are not updated when append = True #735

@guglielmo-san

Description

@guglielmo-san

Is your feature request related to a problem? Please describe.

If a new artifact is appended, the metadata it carries are not saved.

elif existing_artifact:
# Append new parts to the existing artifact's part list
logger.debug(
'Appending parts to artifact id %s for task %s',
artifact_id,
task.id,
)
existing_artifact.parts.extend(new_artifact_data.parts)

Should be aggregated instead.

Describe the solution you'd like

The artifact.metadata carried by the TaskArtifactUpdateEvent should be aggregated with the ones currently saved

Describe alternatives you've considered

No response

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: coreIssues related to base data models, auth, gRPC interfaces, observability, and fundamental utilities.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions