Skip to content

return "Invalid subscription id." error on unknown unsubscribe id#209

Merged
fanatid merged 3 commits into
lamports-dev:masterfrom
victorbware:victorbware/fix-pubsub-unsubscribe
Apr 30, 2026
Merged

return "Invalid subscription id." error on unknown unsubscribe id#209
fanatid merged 3 commits into
lamports-dev:masterfrom
victorbware:victorbware/fix-pubsub-unsubscribe

Conversation

@victorbware
Copy link
Copy Markdown
Contributor

Unsubscribe with an unknown id was returning result: false instead of a JSON-RPC error, so Agave-style clients waiting for code -32602 timed out. Match Agave's wire format (code -32602, message "Invalid subscription id.") and add a unit test pinning the shape.

victorbware and others added 3 commits April 23, 2026 16:31
Unsubscribe with an unknown id was returning `result: false` instead of
a JSON-RPC error, so Agave-style clients waiting for code -32602 timed
out. Match Agave's wire format (code -32602, message
"Invalid subscription id.") and add a unit test pinning the shape.
@fanatid
Copy link
Copy Markdown
Member

fanatid commented Apr 30, 2026

@fanatid fanatid merged commit 53eab36 into lamports-dev:master Apr 30, 2026
2 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.

2 participants