Windows: MCP child exits before initialize response without a recorded exit status #401
Labels
No labels
code-review
correctness
dos
performance
security
severity/high
severity/low
severity/medium
tech-debt
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
h-dv/code-index#401
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Observed in PR #400, Windows run 6116 / job 43551: 4760/4761 ordinary tests passed; concise_search_text_keeps_the_snippet_origin_disclosure failed at support/mcp.rs:513 during initialize with
mcp server closed stdout before responding. No product error appeared on inherited stderr. The snippet assertions were never reached. The native Windows job does not use the new Linux compiler cache, and product sources are unchanged from v0.41.3.The harness currently drops the child exit status on EOF, so the log cannot distinguish a normal refusal from a native exception or external termination. Add that diagnostic and a real-child regression, exercise the affected MCP target locally, then require a complete green native run. Keep the original startup failure open unless its cause is identified; a subsequent pass alone is not a root-cause fix.
Run: https://git.h-dv.de/h-dv/code-index/actions/runs/1294
PR #400 now records
try_wait()child status on stdout EOF, without retrying or relaxing timing limits. A real CLI refusal regression verifies the child's exit code 2 is retained. All 15 affected-target tests passed locally in snapshot and daemon modes, all 980 MCP tests passed under the CI profile, and Windows-GNU compilation passed.The final PR head
3d285208187c97f84c4f7baed6234d5d6a6b641acompleted native Windows qualification successfully: 4,762 ordinary tests, all 27 serial timing tests, doctests and plugin qualification. Run: https://git.h-dv.de/h-dv/code-index/actions/runs/1306 (39m29s). This establishes the diagnostic change passes qualification; the original startup failure's cause remains unknown and this issue stays open.Triage 2026-11-09: Closing as not reproduced. The exit-status diagnostic is now in place (
tests/support/mcp.rstry_waiton EOF), and PR #402 removed the stale-PID kill path, a plausible cause. Reopen on the next occurrence: the diagnostic will print the status.