Skip to content

fix: make empty session_store append a true no-op - #1582

Open
adityajai119 wants to merge 1 commit into
anthropics:mainfrom
adityajai119:fix/w4-bug
Open

adityajai119 wants to merge 1 commit into
anthropics:mainfrom
adityajai119:fix/w4-bug

Conversation

@adityajai119

Copy link
Copy Markdown

append([]) on InMemorySessionStore created a phantom session key, summary entry, and mtime bump even though the SessionStore contract defines it as a no-op. The store now returns early for empty batches. Regression test checks load, list_sessions, list_session_summaries, and mtime.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant