Skip to content

PRIOR: Terminate stdio MCP servers on shutdown #420

@Hmbown

Description

@Hmbown

Summary

MCP child processes can leak when the TUI exits abnormally.

Acceptance criteria

  • All stdio MCP servers receive SIGTERM on shutdown.
  • Integration test verifies no zombies.

Files

crates/tui/src/mcp.rs shutdown path

Size

S

Source

Source tag: PRIOR. Add exact upstream/opencode source links during implementation if they are not already known. Do not copy external code blindly; port the behavior into this repo's architecture.

Filed from 2026-05-02 v0.8.8 intake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv0.8.10Targeting v0.8.10

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions