Skip to content

docs: bring three upstream notes back in line with the code - #433

Merged
plusky merged 1 commit into
mainfrom
docs/upstream-notes-429
Nov 17, 2026
Merged

plusky merged 1 commit into
mainfrom
docs/upstream-notes-429

Conversation

@plusky

@plusky plusky commented Nov 17, 2026

Copy link
Copy Markdown
Owner

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_failure exclusions in .cargo/mutants.toml, and a tokio line citation in a test comment. No behaviour changes.

Closes #429

@plusky
plusky force-pushed the docs/upstream-notes-429 branch from 3da42da to ef4f599 Compare November 17, 2026 15:20
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
plusky force-pushed the docs/upstream-notes-429 branch from ef4f599 to 9fe5744 Compare November 17, 2026 15:36
@plusky
plusky merged commit 8b12d56 into main Nov 17, 2026
19 checks passed
@plusky
plusky deleted the docs/upstream-notes-429 branch November 17, 2026 15:43
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.

docs: three upstream notes that drifted from the code they cite

1 participant