You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pub/Sub and Eventarc triggers store fully-qualified resource paths as user_id, making sessions unqueryable via REST API #5324
The Pub/Sub and Eventarc trigger handlers use raw resource identifiers as user_id when creating sessions. These identifiers contain slashes, which makes the resulting sessions difficult to query via the ADK's REST session APIs.
Eventarc sources look like //pubsub.googleapis.com/projects/my-project/topics/my-topic.
These values are used as user_id when creating sessions. Sessions are created and stored successfully, but retrieving them via the session list endpoint at adk_web_server.py:1347 is not possible because user_id is a URL path parameter:
GET /apps/{app_name}/users/{user_id}/sessions
ASGI/Starlette decodes %2F → / before routing, so a user_id containing slashes causes the request to 404 or match the wrong route.
Suggested fix
Replace slashes with a safe delimiter (--) to preserve the full resource path while keeping the user_id queryable:
Activity
Decouple frontend approval UI from backend, Terraform-managed Cloud Run
Sravan1011 commentedon Apr 21, 2026
hello sir can i work on this issue ?
fix: Sanitize user_id derived from PubSub subscription and Eventarc s…