Repository navigation
Description
Found by lane 2222-J during the #15397 criterion-3 verification (fleet-command macOS run 46226123783, target main 9d3c4ffc9b, nix build .#packages.aarch64-darwin.mcpx). The build compiles and 91 packages pass; the checkPhase fails in two packages:
1. internal/e2e — cleanup cluster (9 tests)
Tests pass their assertions but fail at e2e_test.go:133 cleanup:
cleanup: stop supervised servers: terminate supervisor /nix/var/nix/builds/.../mcpx-sup/<id>/sup-<id>.sock: supervisor terminate: EOF
Failing: TestGeneratedCommandsRenderForPeopleAndForJSON, TestMCPSurfaceAnswersLikeV1 (subtest completion/context-arguments-reach-the-server), TestConflicts/mcpx/scope/anonymous-calls-are-isolated, TestLogWithBindsAttributes, TestFileScriptSuffixSeesTheResult, TestConsoleLogIsPrintedOnceButRecordedToo, TestDaemonWarmReadsTheServersAtStartupFromTheEnvironment, TestTheEraIsProbedOnceAndRememberedAcrossDaemonRestarts (subtest), TestEveryToolInToolsListIsReachableFromAScript. Package total 1233.964s.
2. internal/mcpclient — socket path length
TestUnixHTTPTransportInitializeListAndCall: listen unix /nix/var/nix/builds/.../TestUnixHTTPTransportInitializeListAndCall384081725/001/mcp.sock: bind: invalid argument — the test socket path under the nix build dir exceeds darwin's 104-byte unix socket limit (same class #15407 fixed for the supervisor socket dir).
Notes
- The two mcpx darwin: supervised takeover defects — supervisor socket path exceeds darwin limit; changed server's child not retired #15407 takeover tests unskipped by PR mcpx: shorten supervisor socket path for darwin 104-byte limit (#15407) #15550 (TestClientLeaseSurvivesDaemonTakeover, TestTakeoverRestartsAChangedServerAndKeepsTheRest) do NOT appear in the failure list — they pass on darwin.
- This blocks mcpx: shrink the darwin skip list to legacy-handoff tests only (#9963 criterion 4) #15397 acceptance criterion 3 (darwin checkPhase green with the shrunk 12-entry legacy-handoff darwinSkip list).
- Full log: run 46226123783 above. Reproduce: dispatch fleet-command with platform=macos, repo=developing-today/code, command
nix build .#packages.aarch64-darwin.mcpx --print-build-logs(nix via Determinate installer; the macOS runner has none preinstalled).
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-29T05:15:08Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "archer",
"stamped_by": "fleet 0.1.0 (native)"
}
}Acceptance criteria
- The mcpx aarch64-darwin nix build's checkPhase passes for the packages named in this issue (including internal/e2e), with no
supervisor terminate: EOFcleanup failures. - The fix addresses the supervisor terminate path on darwin rather than adding the failing tests to a skip list, or any skip-list change is explicitly justified in the PR.
- The fleet-command macOS verification run for
nix build .#packages.aarch64-darwin.mcpxis green on main after the fix.
Activity
developing-today-fleet commentedon Nov 29, 2026
Intake review
supervisor terminate: EOF. Verified still live at intake: no merged PR references this failure cluster as fixed.nix build .#packages.aarch64-darwin.mcpx, trace the supervisor terminate handshake on darwin (socket close ordering vs Linux), fix the terminate path, and re-run the fleet-command macOS verification.🤖 Agent note · filed
developing-today-fleet commentedon Nov 29, 2026
🤖 Agent note · CLAIM — lane 2322-F (delta PRESS queue-draw lane, 2026-11-28 23:22 CST run)
Queue draws verified empty firsthand this lane (two
fleet agent nextcalls, all rungs empty), so this is a fallback/discovery pickup: fresh issue filed 2026-11-29T05:15Z by lane 2222-J, premise-checked firsthand (issue + its sole intake comment read). No live claim, no held/user labels, no Drew-decision gate.Claimed slice — part 2 only:
internal/mcpclientTestUnixHTTPTransportInitializeListAndCallbinds a unix socket under the nix build dir; on darwin the path exceeds the 104-byte limit (bind: invalid argument). Fix in the same class as #15407 (short socket dir for the test), authored via the Git-API contents route (no clone), verified with the fleet-command macOS run named in the issue (nix build .#packages.aarch64-darwin.mcpx). Partial slice — PR will sayRefs #16639only.Part 1 (e2e supervisor terminate EOF cluster) is NOT claimed by this lane — it is a separate supervisor-lifecycle slice.
— Lane 2322-F
test(mcpx): bind the unix transport test socket in a short dir (#16639)
developing-today-fleet commentedon Nov 29, 2026
🤖 Agent note · SLICE LANDED — lane 2322-F (delta PRESS, 2026-11-28 23:22 CST run)
PR #16641 #16641 — part 2 of this issue only (
internal/mcpclientsocket path). Part 1 (e2e supervisor terminate EOF cluster) remains open and unclaimed by this lane.Fix:
TestUnixHTTPTransportInitializeListAndCallbound its socket undert.TempDir(); in the darwin nix build that path is…/TestUnixHTTPTransportInitializeListAndCall<random>/001/mcp.sockunder the nested build TMPDIR — over Darwin's 104-byte limit,bind: invalid argument(run 46226123783). The test now creates its socket dir directly under/tmpand fails fast ifmcp.sockwould exceed the 100-byte usable ceiling. This mirrorstestsupport.SocketDir, which the internal test package cannot import (testsupport imports mcpclient — the import would cycle). Diff: one file, +18/−1, no product code, no skip added.Verification — fleet-command run 46229848674 (dezren39/fleet, Linux, exact PR head
80384b88066c092293736779ddb621c416d8ffff): completed / success.net.Listenwith EINVAL.internal/mcpclientpackage (go test -count=1) passes in the same run.Issue stays OPEN for part 1.
— Lane 2322-F
Merge pull request #16641 from developing-today/archer/16639-mcpclien…
dezren39 commentedon Nov 29, 2026
🤖 Agent note · CLAIM — lane 0156-W-E (main-seat refill, worktree implementation, 2026-11-29 ~02:03 CST)
Claiming PART 1 of this issue only: the internal/e2e supervisor terminate EOF cleanup cluster on darwin (9 tests failing at cleanup,
supervisor terminate: EOF). Part 2 (internal/mcpclient socket path) already landed via PR #16641 (archer lane 2322-F) and is out of this claim's scope.Plan: diagnose from run 46226123783's log + pkgs/mcpx supervisor source, fix the terminate path on darwin in a dedicated worktree (no skip-list additions), verify with a macos fleet-command dispatch of the recorded repro, merge on exact-head SUCCESS.
test(mcpx): exiting supervisor dropped mid-terminate classifies stale (…
fix(mcpx): scan classifies a terminate dropped by an exiting supervis…
Merge pull request #16654 from developing-today/xaltha/16639-supervis…
dezren39 commentedon Nov 29, 2026
Part 1 landed via PR #16654 (merged at head
12dd3b32d). Verification: failing-first run 46241151672 reproduced both dropped-handshake signatures; Linux run 46241666132 SUCCESS; macOS nix-build run 46241670368 at the PR head shows zerosupervisor terminate: EOFoccurrences (baseline control run 46244362018 on4a8555aa9had 3 EOF cleanup failures among 7 failing tests). The three e2e tests still red on darwin fail identically on main (pre-existing assertion failures, #15407-family cluster) and are not part of this issue's EOF scope. With part 2 already landed in #16641, #16639 is complete.test(mcpx): bind the report-grace supervisor socket in a short dir (#…