Repository navigation
docs: bring three upstream notes back in line with the code - #433
Merged
Merged
Conversation
plusky
force-pushed
the
docs/upstream-notes-429
branch
from
November 17, 2026 15:20
3da42da to
ef4f599
Compare
Three notes about upstream code had drifted from what they cite. DESIGN.md's sentence on what rmcp 3.9 changed in code this crate builds left out four changes: stateful session workers now follow config.cancellation_token (#1427), the in-band -32600 for a protocol-error frame survives a cancelled receive (#1370), and two Deserialize fixes in model.rs (#1405, #1383) that this server compiles and never runs. main.rs sets that token, so the note on it now says what #1427 does here, measured on the binary against a 3.8 lock: a stateful session dispatches nothing that completes after the signal, where it used to keep dispatching until the process exited, and an initialize still in its handler is answered 500. The exit code, the time to exit and the fate of a call already in flight do not change. The comment over the three serve_failure exclusions in mutants.toml said to drop them if rmcp starts constructing the variants. rmcp already constructs two of them, and since 3.9 this build reaches one on http. The exclusions rest on neither reaching serve_failure, and the comment now names what would change that. A test comment cited tokio 1.53 lines.rs:126-129 for the two trailing pops. In the locked 1.54 they are at lines 130 and 133.
plusky
force-pushed
the
docs/upstream-notes-429
branch
from
November 17, 2026 15:36
ef4f599 to
9fe5744
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings three drifted notes about upstream code back in line: DESIGN.md's account of what rmcp 3.9 changed in code this crate builds (it now names #1427, #1370, #1405 and #1383, and says what #1427 does at shutdown, measured on the binary against a 3.8 lock), the premise comment over the
serve_failureexclusions in.cargo/mutants.toml, and a tokio line citation in a test comment. No behaviour changes.Closes #429