Repository navigation
test(mcp): isolate callback listener ownership - #480
Merged
Merged
Conversation
Signed-off-by: Val Alexander <val@opencoven.ai>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Nov 14, 2026
This was referenced Nov 14, 2026
This branch was successfully deployed
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.
Summary
Isolate the callback timeout/rebind fixture in an owned re-executed worker so sibling process-spawning tests cannot inherit its listener. The original 20ms callback deadline and immediate single rebind assertion remain unchanged.
Context
Changes
Validation
The independent local commands below ran with Rust 1.99.1, disposable child homes, existing Cargo/Rustup caches and default test concurrency. The final combined candidate additionally passed with CI's Rust 1.100.0 as recorded below.
git diff --check: passed.cargo fmt --all: passed.cargo check --workspace --locked: passed.cargo clippy --workspace --all-targets --locked -- -D warnings: passed.cargo test --workspace --locked: complete suite passed, exit 0 in 294.51 seconds.cargo test -p claurst-mcp --locked: 139 active unit cases passed; the additional ignored worker is executed and checked by its active owner. Integration and documentation suites passed.cargo test -p claurst-mcp --locked oauth::tests::callback_overall_timeout_releases_listener -- --exact --nocapture: passed before and after a test-only retained-listener mutation. The mutation failed the unchanged immediate-rebind predicate withAddrInUseand was restored.91c80f5f4d3f6c5259c69c26579d0cd9bd7cb88e; actual CodeQL analyses passed.Retained diagnosis reproduced inherited listener ownership under process-spawn pressure and identified the owned child in a deterministic fork control. The original failed suite did not expose its port or owner, so attribution of that particular failure remains inferred. Earlier failures are retained; this change does not weaken their assertions. The separate 15-second worker supervisor bounds polling after spawn, and diagnostic limits bound reads rather than arbitrary child disk output.
The reviewed combined candidate on base
31e1511plus #478, #480 and #481 passed Rust 1.100.0 formatting, workspace check, strict all-target Clippy and the complete workspace suite (349.58 seconds, default concurrency). It also passed both feature-enabled voice commands, 48 Python harness tests, the debug build, seven real tiny-terminal PTY journeys/53 checks, eight controlled long-history profiles and help/paste journeys at both sizes (11/11 each). All twelve committed blobs match this qualified source. This combined candidate is distinct from each independent PR head; hosted checks cover the individual head.PR Readiness