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
[Server] Handle notifications/cancelled on the handshake era #732
ServerIssues & PRs related to the Server componenthelp wantedContributions especially welcome if you have a good knowledge of the codebase and languageimproves spec complianceImproves consistency with other SDKs such as TyepScript
Currently a handshake-era server ignores notifications/cancelled - there's no handler for it, only stdio uses it on 2026-07-28 to end a subscriptions/listen stream. Per the cancellation utility the server should stop processing the request and not answer it.
With PHP handling requests one at a time, there's only something to cancel while a handler is suspended in its fiber, e.g. waiting for an elicitation or sampling answer. So the fix would be dropping that suspended fiber and its pending response.
Help is very much welcome - let us know if you need some pointers.
ServerIssues & PRs related to the Server componenthelp wantedContributions especially welcome if you have a good knowledge of the codebase and languageimproves spec complianceImproves consistency with other SDKs such as TyepScript
Activity
Handle notifications/cancelled on the handshake era