Skip to content

Sessions table with DatabaseSessionService does not get updated #2721

Closed

Description

Describe the bug
The fields in the sessions table are never getting updated. For example lastUpdateTime sticks to the time the session was created, and the events field is not updated if new messages are sent.

To Reproduce

  1. Create a session
  2. Send a few messages
  3. Inspect the the sessions via API (/apps/{app_name}/users/{user_id}/sessions) or in my case also via SQL query because I use a DatabaseSessionService (AlloyDB).

Expected behavior
The lastUpdateTime field should be updated with the timestamp of the last message and the events should contain the sessions events.

  • Python version: 3.11
  • ADK version: 1.11.0

Activity

  1. added
    services
    on Aug 25, 2025
  2. added theissue type on Aug 25, 2025
  3. changed the title [-]lastUpdateTime field doesn't get updated[/-] [+]Sessions table with DatabaseSessionService does not get updated[/+] on Aug 27, 2025
  4. self-assigned this
    on Nov 10, 2025
  5. added a commit that references this issue on Nov 21, 2025
    a3e4ad3
  6. added a commit that references this issue on Nov 27, 2025
    2adbab4
  7. added a commit that references this issue on Aug 11, 2026
    2381566
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

services

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions