Skip to content

chore(mcp-introspector): drop unused rmcp transport-child-process feature#152

Merged
bug-ops merged 1 commit into
masterfrom
fix/146-drop-unused-rmcp-feature
Jul 9, 2026
Merged

chore(mcp-introspector): drop unused rmcp transport-child-process feature#152
bug-ops merged 1 commit into
masterfrom
fix/146-drop-unused-rmcp-feature

Conversation

@bug-ops

@bug-ops bug-ops commented Jul 9, 2026

Copy link
Copy Markdown
Owner

Summary

  • Remove the unused rmcp transport-child-process feature from crates/mcp-introspector/Cargo.toml; TokioChildProcess was already replaced by a manually spawned stdio pair in fix: introspector lifecycle robustness (child-process kill, eviction TOCTOU) #142, and the only remaining user of the feature was ConfigureCommandExt
  • Rewrite spawn_introspection_child to mutate the tokio::process::Command directly (same args/envs/cwd/stdio sequence, verified behaviorally identical) instead of chaining ConfigureCommandExt::configure(...)
  • Cargo.lock shrinks by ~84 lines, dropping process-wrap, nix, cfg_aliases, and several Windows-only transitive crates that were only pulled in by the removed feature

Test plan

  • cargo build --workspace --all-features
  • cargo +nightly fmt --check
  • cargo +stable clippy --all-targets --all-features --workspace -- -D warnings
  • cargo nextest run --all-features --workspace --no-fail-fast (696 passed)
  • cargo test --doc --all-features --workspace
  • Confirmed no other workspace code references ConfigureCommandExt, TokioChildProcess, or transport-child-process

Closes #146

@github-actions github-actions Bot added crate: mcp-introspector Changes to mcp-introspector crate (MCP server analysis) type: documentation Documentation changes (*.md, docs/, comments) type: dependencies Dependency updates (Cargo.toml, Cargo.lock) workspace Workspace-wide changes affecting multiple crates breaking change Contains breaking API changes (requires major version bump) release Release preparation (changelog, version bumps) labels Jul 9, 2026
@bug-ops
bug-ops enabled auto-merge (squash) July 9, 2026 17:37
…ture

TokioChildProcess was replaced by a manually spawned stdio pair in
Rewrite spawn_introspection_child to mutate the Command directly so
the feature (and its transitive deps: process-wrap, nix, and several
Windows-only crates) can be dropped entirely.

Closes #146
@bug-ops
bug-ops force-pushed the fix/146-drop-unused-rmcp-feature branch from f114f52 to 75aa247 Compare July 9, 2026 17:38
@bug-ops
bug-ops merged commit 6ca2e07 into master Jul 9, 2026
17 checks passed
@bug-ops
bug-ops deleted the fix/146-drop-unused-rmcp-feature branch July 9, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking change Contains breaking API changes (requires major version bump) crate: mcp-introspector Changes to mcp-introspector crate (MCP server analysis) release Release preparation (changelog, version bumps) type: dependencies Dependency updates (Cargo.toml, Cargo.lock) type: documentation Documentation changes (*.md, docs/, comments) workspace Workspace-wide changes affecting multiple crates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mcp-introspector: unused rmcp transport-child-process feature after #142

1 participant