Skip to content

fix: bound MCP self-check pipe I/O and shutdown - #271

Draft
ejgallego wants to merge 6 commits into
codex/self-check-stderr-loggingfrom
codex/mcp-self-check-lifecycle
Draft

ejgallego wants to merge 6 commits into
codex/self-check-stderr-loggingfrom
codex/mcp-self-check-lifecycle

Conversation

@ejgallego

@ejgallego ejgallego commented Oct 14, 2026 •

Copy link
Copy Markdown
Collaborator

This PR bounds protocol I/O and shutdown in MCP self-check when a server stops responding or a descendant retains its pipes. It builds on the diagnostic-logging correction in #276.

  • Use one controller for nonblocking pipe I/O and child reaping, with absolute deadlines for writes, responses and teardown and an 8 KiB stderr tail on failure.
  • Key native helper artifacts to the selected Lean toolchain to prevent cross-toolchain ABI reuse.
  • Document the native helper assumption that Lean file handles wrap FILE pointers. The external lifecycle supervisor currently covers POSIX only; equivalent Windows lifecycle coverage remains outstanding.
  • Keep deterministic typed Lake-helper failure and installed-MCP startup fixtures.

@ejgallego
ejgallego marked this pull request as ready for review October 14, 2026 09:26
@ejgallego
ejgallego force-pushed the codex/mcp-self-check-lifecycle branch from b60d1fe to df2ecc9 Compare October 14, 2026 12:13
@ejgallego ejgallego changed the title fix: bound MCP self-check lifecycle and permit stderr logging fix: bound MCP self-check without blocking reader tasks Oct 14, 2026
@ejgallego
ejgallego marked this pull request as draft October 15, 2026 21:05
@ejgallego
ejgallego force-pushed the codex/mcp-self-check-lifecycle branch from 8eac7a3 to bde1ecf Compare October 15, 2026 21:10
@ejgallego ejgallego changed the title fix: bound MCP self-check without blocking reader tasks fix: bound MCP self-check pipe I/O and shutdown Oct 15, 2026
@ejgallego
ejgallego changed the base branch from main to codex/self-check-stderr-logging October 15, 2026 21:10
@ejgallego
ejgallego force-pushed the codex/self-check-stderr-logging branch from 9b578b7 to 535eada Compare October 15, 2026 21: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.

1 participant