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
Sessions table with DatabaseSessionService does not get updated #2721
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
Create a session
Send a few messages
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.
Activity
[-]lastUpdateTime field doesn't get updated[/-][+]Sessions table with DatabaseSessionService does not get updated[/+]fix: Update session last update time when appending events
fix: Update session last update time when appending events
fix: Update session last update time when appending events