Skip to content

Database session services are not storing the custom metadata like in Vertexai session service #2677

Closed

Description

@Yeswanth-gif

** Please make sure you read the contribution guide and file the issues in the right place. **
Contribution guide.

Describe the bug
When we use the database session service for short term memory, it is not storing the custoim metadata field, Hence every a2a request is going like a new requesting and the A2A server is not able to recognize that and treating every request as a new request.
like we are doing it here
https://github.com/google/adk-python/blob/main/src/google/adk/sessions/vertex_ai_session_service.py#L403

To Reproduce
Steps to reproduce the behavior:
Try to spin up an a2a server and test with the database session service by asking follow up questions and see that the metadata is not getting stored in the database.

Activity

  1. changed the title [-]Database session services are not storing the custom metadata like in Vertai session service[/-] [+]Database session services are not storing the custom metadata like in Vertexai session service[/+] on Aug 22, 2025
  2. added
    services[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc
    on Aug 22, 2025
  3. added theissue type on Aug 22, 2025
  4. Yeswanth-gif commented on Sep 1, 2025

    @Yeswanth-gif
    Author

    Hi team any updates on this ?

  5. added
    wip[Status] This issue is being worked on. Either there is a pending PR or is planned to be fixed
    on Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

services[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etcwip[Status] This issue is being worked on. Either there is a pending PR or is planned to be fixed

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions