Skip to content

Firestore Session Service does not handle timestamp correctly #5632

@Dumeng

Description

@Dumeng

🔴 Required Information

Please ensure all items in this section are completed to allow for efficient
triaging. Requests without complete information may be rejected / deprioritized.
If an item is not applicable to you - please mark it as N/A

Describe the Bug:
A clear and concise description of what the bug is.

Steps to Reproduce:

  1. Use google.adk.integrations.firestore.firestore_session_service.FirestoreSessionService as sessions service.
  2. Call session_service.list_sessions

Expected Behavior:
The returned session's last_update_time should match the Firestore record

Observed Behavior:
The returned session's last_update_time is always 0.

Environment Details:

  • ADK Library Version (pip show google-adk): 1.20
  • Desktop OS:** [e.g., macOS, Linux, Windows]: Linux
  • Python Version (python -V): 3.14

Model Information:

  • Are you using LiteLLM: No
  • Which model is being used: gemini

🟡 Optional Information

Providing this information greatly speeds up the resolution process.

The issue is the code does not handle the attribute.

firestore_session_service.py

Regression:
Did this work in a previous version of ADK? If so, which one?

Logs:
Please attach relevant logs. Wrap them in code blocks (```) or attach a
text file.

// Paste logs here

Screenshots / Video:
If applicable, add screenshots or screen recordings to help explain
your problem.

Additional Context:
Add any other context about the problem here.

Minimal Reproduction Code:
Please provide a code snippet or a link to a Gist/repo that isolates the issue.

// Code snippet here

How often has this issue occurred?:

  • Always (100%)

Metadata

Metadata

Labels

request clarification[Status] The maintainer need clarification or more information from the authorservices[Component] This issue is related to runtime services, e.g. sessions, memory, artifacts, etc

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions