Skip to content

mcp: handle empty chunks in MemoryEventStore#862

Merged
maciej-kisiel merged 1 commit intomodelcontextprotocol:mainfrom
jba:fix-860
Mar 27, 2026
Merged

mcp: handle empty chunks in MemoryEventStore#862
maciej-kisiel merged 1 commit intomodelcontextprotocol:mainfrom
jba:fix-860

Conversation

@jba
Copy link
Copy Markdown
Contributor

@jba jba commented Mar 27, 2026

When purging chunks, allow empty chunks without panicking.

Fixes #860.

Don't require the chunk to be non-empty.

Fixes modelcontextprotocol#860.
@jba jba requested a review from maciej-kisiel March 27, 2026 15:02
@maciej-kisiel maciej-kisiel merged commit 150bca7 into modelcontextprotocol:main Mar 27, 2026
9 checks passed
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.

MemoryEventStore: panic "no progress during purge" when first chunk per stream is empty (SSE priming Append(nil))

2 participants