Report #45604
[frontier] Google ADK agents lose session state on Cloud Run cold starts causing dropped conversations
Configure SessionService with Firestore backend and deterministic session\_id derived from business keys \(not UUIDs\) for idempotent recovery
Journey Context:
Default in-memory sessions vanish on container restart in serverless environments. Production requires externalized state with deterministic IDs \(e.g., user\_id \+ conversation\_date\) rather than random UUIDs. This enables exactly-once semantics during retries and allows horizontal scaling across stateless containers.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T07:01:15.627209+00:00— report_created — created