Repository navigation
Done
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workkind/testTest coverage, test infrastructure, or test-only fixesmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/agentCreated by an agent workerstatus/triagedTriaged and routed (see agent note)
Description
Follow-up to #9963 (Phase 3 of #1384), whose acceptance criterion 4 reads: "#237's darwin skip list covers only legacy-handoff tests after this lands." The supervised-default restore itself lands separately; this issue is the darwin verification leg, which cannot be exercised from a Linux sandbox seat.
The list: darwinSkip in pkgs/mcpx/package.nix names 20 takeover/handoff e2e tests skipped in the darwin nix build's checkPhase because they exercise /proc and systemd-mainpid mechanics. (The compile-level list, scripts/darwin-compile-check.sh's DARWIN_COMPILE_EXCEPTIONS, is already empty — this is the test-run list, a different thing.)
Work:
- Classify each of the 20 skipped tests: legacy-handoff-only (fd-passing handoff, registry handoff, detached-child pipe adoption) vs default/supervised-path (daemon takeover where the stdio servers now run supervised and takeover is attach). Tests in the second class should no longer need /proc or systemd-mainpid mechanics for their stdio children.
- Remove the second class from
darwinSkip, keeping the list strictly legacy-handoff. - Verify on a darwin builder: the mcpx package's nix checkPhase on aarch64-darwin (darwin-nix nightly or a Mac builder) passes with the shrunk list. No darwin builder is reachable from the sandbox seats, so this verification leg is the gating step — record the builder and run on this issue.
Not enqueued: the queue broker is down (incident #15131); enqueue when it recovers.
{
"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-26T04:34:16Z",
"session_id": null,
"lane": null,
"host": "htch-runtime",
"worktree": "/home/hatch",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/hatch",
"repo": "developing-today/code",
"branch": "main",
"sha": "30247ab2d608be39eb0ebe922589e002a3771a66"
},
"auth_subject": "felix",
"stamped_by": "fleet 0.1.0 (native)"
}
}Acceptance criteria
- Each of the 20 tests in
darwinSkip(pkgs/mcpx/package.nix) is classified as legacy-handoff-only (fd-passing handoff, registry handoff, detached-child pipe adoption) or default/supervised-path (daemon takeover where stdio servers now run supervised and takeover is attach). - Tests in the supervised-path class are removed from
darwinSkip; the remaining list covers only legacy-handoff tests (parent mcpx: Phase 3 of #1384 — supervised stdio by default + lifecycle hygiene #9963 acceptance criterion 4). - The mcpx package's nix
checkPhasepasses on an aarch64-darwin builder (darwin-nix nightly or a Mac builder) with the shrunk list; the builder identity and the run are recorded on this issue.
Metadata
Metadata
Assignees
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workkind/testTest coverage, test infrastructure, or test-only fixesmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/agentCreated by an agent workerstatus/triagedTriaged and routed (see agent note)
Activity
developing-today-fleet commentedon Nov 26, 2026
Intake review
Related: parent #9963 (Phase 3 of #1384), criterion 4 is this issue verbatim; prerequisite PR #15398 (mcpx: restore supervised stdio as the default, MERGED) is the landing this follow-up depends on — it does not resolve this issue, which is the separate darwin verification leg the filer split out.
Live check: no open PR references #15397; merged PR #15398 is the supervised-default restore itself, not the skip-list shrink. The issue is live and not resolved.
Notes / risks: the gating step is darwin builder access — no darwin builder is reachable from the Linux sandbox seats, so classification (Linux-doable) and verification (darwin-only) may land in two stages; the issue must not be closed on the classification alone. The compile-level list (
DARWIN_COMPILE_EXCEPTIONS, already empty) is a different list and out of scope.Suggested approach: classify the 20 tests from the sandbox (test sources show whether they exercise /proc or systemd-mainpid mechanics for stdio children), shrink
darwinSkip, then run the darwincheckPhaseon a builder and record builder + run here.Labels applied:
kind/test,priority/normal,effort/m,status/needs-triage,app/mcpx,source/agent(filed by a felix fleet lane). Acceptance criteria appended from the issue's own Work section.— fleet monitor (intake enrichment, protocol §5)
dezren39 commentedon Nov 26, 2026
xaltha lane picking this up (2026-11-26). Plan: classify the 20
darwinSkiptests inpkgs/mcpx/package.nix(legacy-handoff vs supervised-path, post-#15398), shrink the list to legacy-handoff only, and verify the mcpx nix checkPhase on aarch64-darwin via a remote macOS dispatch (fleet-command workflow, platform=macos) against the pushed branch. PR to follow.test(mcpx): shrink darwin skip list to legacy-handoff tests (#15397)
test(mcpx): keep two e2e takeover tests skipped on darwin, blocked on #…
dezren39 commentedon Nov 26, 2026
Progress (xaltha lane, 2026-11-26): PR #15414 open — #15414 (branch
xaltha/15397-mcpx-darwin-skip, head ccac79c).darwinSkip; the list goes 20 → 14. The other 2 (TestClientLeaseSurvivesDaemonTakeover, TestTakeoverRestartsAChangedServerAndKeepsTheRest) fail on darwin for product defects and stay as a documented non-legacy exception blocked on the new issue mcpx darwin: supervised takeover defects — supervisor socket path exceeds darwin limit; changed server's child not retired #15407.nix build .#packages.aarch64-darwin.mcpxcheckPhase fails with 34 pre-existing main failures — none unskipped or touched by this change — dominated by the mcpx darwin: supervised takeover defects — supervisor socket path exceeds darwin limit; changed server's child not retired #15407 scoped-supervisor socket-length family (~105-byte socket paths vs darwin's 104-byte limit inside the sandbox). Full evidence on mcpx darwin: supervised takeover defects — supervisor socket path exceeds darwin limit; changed server's child not retired #15407 (comment 7185581265).Issue stays open on #15407: when it lands, remove the last two entries and re-run the darwin build to close criterion 3/4 outright.
Merge pull request #15414 from developing-today/xaltha/15397-mcpx-dar…
dezren39 commentedon Nov 26, 2026
Triage verdict — queue lane RC (queue task 23863, 2026-11-26)
Premise + ownership check done (all comments read):
ccac79cd1591cc77ec7ed508703d16c4b6604a08, branchxaltha/15397-mcpx-darwin-skip. Per the progress comment above: all 20darwinSkipentries classified (12 legacy-handoff, 8 supervised-path); 6 supervised-path tests removed, list 20 → 14; the 6 pass on darwin (GitHub macos-15 aarch64-darwin runs 45770074151 / 45772820608 cited above).TestClientLeaseSurvivesDaemonTakeover,TestTakeoverRestartsAChangedServerAndKeepsTheRest) stay in the list as a documented non-legacy exception, and criterion 3 (full darwincheckPhasepass) is blocked on mcpx darwin: supervised takeover defects — supervisor socket path exceeds darwin limit; changed server's child not retired #15407 — mcpx darwin: supervised takeover defects — supervisor socket path exceeds darwin limit; changed server's child not retired #15407 — OPEN as of this check (supervised takeover defects: supervisor socket path exceeds darwin's 104-byte limit, ~105-byte paths; changed server's child not retired).Disposition: Triage complete; the issue is correctly OPEN and must not be closed on the classification/shrink alone. Queue task 23863 is parked with ready condition: #15407 closed — then remove the last 2 entries from
darwinSkipinpkgs/mcpx/package.nixand re-runnix build .#packages.aarch64-darwin.mcpxon an aarch64-darwin builder, recording builder + run here, to close criteria 3/4 outright.developing-today-fleet commentedon Nov 27, 2026
🤖 Agent note · rechecked, still blocked
darwinSkip, full darwin checkPhase pass) still blocked on mcpx darwin: supervised takeover defects — supervisor socket path exceeds darwin limit; changed server's child not retired #15407, OPEN/parked.nix build .#packages.aarch64-darwin.mcpxto close criteria 3/4.5 remaining items
dezren39 commentedon Nov 29, 2026
Census re-verification — CEN-C16 (2026-11-29; delivery completed in a follow-up pass — the original drafts were lost with the census poster scratch, this text is regenerated from the C16 findings record).
Verdict: ready (final verification in flight)
Blocker: none remaining. #15407 and #16639 are both CLOSED; the only outstanding item is the criterion-3 darwin checkPhase run on current main, claimed and dispatched 2026-11-29 by felix lane 0640-R (queue task 23863's recorded wake).
Strengths: exemplary issue — PR #15414 classified all 20 darwinSkip tests and shrank 20→14; PR #15550 (closing #15407) unskipped the last 2, leaving exactly 12 legacy-handoff entries on main; criterion-3 darwin runs recorded with run IDs and failure analysis (new defects filed as #16639).
Gaps: stale
status/needs-triagelabel — the issue is triaged, worked, and in final verification.Priority: priority/normal — unchanged.
Label actions (census): swapped status/needs-triage → status/triaged.
developing-today-fleet commentedon Nov 29, 2026
Criterion 3 verification — lane 0640-R (2026-11-29), discharging queue task 23863's wake condition.
#16639 is closed (part 1 PR #16654, part 2 PR #16641, both merged), so I ran the criterion-3 check: fleet-command run 46268879689 (platform=macos, ref=main) —
nix build .#packages.aarch64-darwin.mcpx --print-build-logs.Result: checkPhase is NOT green yet. Every package passes except
internal/e2e, which fails with exactly three tests:TestRestartReportsAServerThatDoesNotComeBack,TestTransportSessionMetaKeysNameTheSession,TestTemplatesListedColdIncludeTheServers— all in the supervised-server lifecycle (supervisor does not attach within 20s / socket absent; refused attach 'already attached'; cold template list missing the demo server). The EOF/temp-file class is gone: no EOF failures anywhere in the run.Criteria 1–2 stand as recorded on this issue (darwinSkip = the 12 legacy-handoff tests). Criterion 3 remains blocked, now by the single tracked defect #16832 (filed with the full run evidence). This issue stays open on that blocker; when #16832 lands, re-run the same macos build to close this out. Releasing my claim — the next step belongs to whoever takes #16832. Refs #15397, #16639, #16832
developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix): rechecked in full (body, labels, comments, edges).
STRENGTHS: Precise scoping — the darwinSkip list (20 tests in pkgs/mcpx/package.nix) is distinguished from the already-empty compile-exceptions list, the classification rule is mechanical (legacy-handoff mechanics vs supervised-path), and the gating step is named honestly (verification needs a darwin builder, unreachable from sandbox seats). kind/test + priority/normal already set.
GAPS: Nearly closed. Classification and the list shrink landed (PR #15414 merged: 12 legacy-handoff kept, the rest removed in stages). Criterion 3 (a green aarch64-darwin checkPhase with the shrunk list) ran into fresh darwin defects, filed as #16639 — now CLOSED (PRs #16654, #16641) — and felix lane 0640-R claimed the verification re-run today (13:41Z) on current main.
FIXES I APPLIED: None — labels and priority verified correct.
REMAINS: Nothing for Drewry. Close when 0640-R's darwin run concludes green, citing the run.
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Wave-2 recheck: body, labels and all comments re-read firsthand for this pass. Two full census verdicts from earlier today already stand on this issue (Felix and CEN-C15/C16 lanes) — their verdicts are not duplicated here; this note records only the residual check and any residual fix.
Residual check (kind/test; priority/normal; status: status/triaged; acceptance criteria present): no residual gaps found — verified complete, no changes.
developing-today-fleet commentedon Nov 30, 2026
🤖 Agent note · lane 1937-L (alpha DRIVE author lane, 2026-11-29 19:37 CST) — CLAIM #15397. Premise + ownership check firsthand: issue + all comments read; no live claim (newest activity is census notes and lane 0640-R's criterion-3 verification, which discharged a wake on #9963, not a claim here). Scope: classify the 20 darwinSkip tests in pkgs/mcpx/package.nix (legacy-handoff-only vs supervised/default-path), shrink the skip list to legacy-handoff only, verify with a macos fleet-command nix build of pkgs/mcpx on the branch, land as PR. This is the filed darwin slice of #9963 criterion 4 (mcpx programme #8993). Key: 1937-L
developing-today-fleet commentedon Nov 30, 2026
🤖 Agent note · lane 1937-L — RELEASE / premise correction on #15397 (2026-11-29). My claim above misstated the remaining scope; the full comment thread (read after claiming) shows: criteria 1–2 are DONE — PR #15414 classified all 20 tests and shrank darwinSkip 20→14, PR #15550 (closing #15407) unskipped the last 2, and current main carries exactly the 12 legacy-handoff entries (verified firsthand in pkgs/mcpx/package.nix this pass). The sole remainder is criterion 3, a green aarch64-darwin checkPhase with the shrunk list. Lane 0640-R ran exactly that on 2026-11-29 (fleet-command run 46268879689, macos, ref=main): NOT green — internal/e2e fails on TestRestartReportsAServerThatDoesNotComeBack, TestTransportSessionMetaKeysNameTheSession, TestTemplatesListedColdIncludeTheServers, the supervised-lifecycle cluster now tracked by #16797 (live-claimed by other lanes tonight). No duplicate darwin run from this lane. Wake: #16797 cluster fixed/closed, then re-run nix build .#packages.aarch64-darwin.mcpx on main and record builder + run here to close criterion 3. Claim released. Key: 1937-L
developing-today-fleet commentedon Nov 30, 2026
Lane 2107-H (Archer, charlie ADVANCE 2026-11-29 21:07 CST) claiming #15397's remaining leg.
Premise check (firsthand, two reads): criteria 1–2 are landed — PR #15414 (merged 2026-11-26) classified all 20 and shrank
darwinSkipto legacy-handoff; PR #15550 (merged 2026-11-29T04:19Z, closed #15407) fixed the two blocking darwin defects and unskipped the last two tests. Current mainpkgs/mcpx/package.nixcarries exactly the 12 legacy-handoff entries.Remaining: criterion 3 — the mcpx nix
checkPhaseon an aarch64-darwin builder with the shrunk list, builder + run recorded here. The last full checkPhase run (45772820608, pre-#15550) failed on the #15407 socket-length family + one defaults guard test. I am dispatching the darwin build on current main now; verdict and close (or follow-up) follow from the run log.dezren39 commentedon Nov 30, 2026
🤖 Agent note · lane 2122-E (delta PRESS, queue-draw + author, 2026-11-29 21:22 CST) — CLAIM #15397 criterion-3 re-run.
Premise + ownership check firsthand: issue + ALL 15 comments read. Criteria 1–2 are met (PR #15414 classification, darwinSkip = 12 legacy-handoff entries on main; PR #15550 unskipped the last 2). The sole remainder is criterion 3: a green aarch64-darwin
checkPhasewith the shrunk list, recorded here.The recorded wake has now fired, verified by two agreeing live reads (gh view + gh api):
Scope of this claim: dispatch the recorded repro on current main via fleet-command on a macOS runner (Determinate nix install, then
nix build .#packages.aarch64-darwin.mcpx --print-build-logs), record builder + run here; green = criterion 3 met and this issue closes; any new darwin failures get filed/fixed from the log. Key: 2122-Edezren39 commentedon Nov 30, 2026
🤖 Lane 2122-E — criterion-3 verification dispatched. Fleet-command run 46347945086 (dezren39/fleet, platform=macos, repo=developing-today/code, ref=main at dispatch, dispatch_id
2122E-15397-criterion3): Determinate nix install, thennix build .#packages.aarch64-darwin.mcpx --print-build-logs. Status at dispatch +20s: in_progress. Wake: this run's conclusion — green = criterion 3 met, close #15397 citing the run; red = failing log names the remaining slice. Key: 2122-Edezren39 commentedon Nov 30, 2026
🤖 Lane 2122-E — criterion-3 verification verdict: NOT MET, narrowed to exactly one test (2026-11-29).
Run 46347945086 (fleet-command, platform=macos, ref=main at
f2e61d61f4a98b912f9e8c1feb9686ea003bf8c2, carrying PR #17060's merge3f6c68d4) concluded failure; full build log read firsthand by this lane:TestSupervisorServesExitedReportForTheWholeGrace(5.01s) —supervised_report_grace_test.go:41: supervisor socket never appeared— packageinternal/mcpclientFAIL (30.533s). This is PR mcpx: serve the exited-child supervisor report for the whole grace (#16797) #17060's own new regression test for mcpx e2e remainder from #15689: TestRestartReportsAServerThatDoesNotComeBack + TestDaemonWarmReadsTheServersAtStartupFromTheEnvironment (run 46259867572) #16797, failing on darwin.okpackage lines, and none of the three e2e tests that failed in run 46268879689 (TestRestartReportsAServerThatDoesNotComeBack,TestTransportSessionMetaKeysNameTheSession,TestTemplatesListedColdIncludeTheServers) is in this run's failure list — mcpx e2e remainder from #15689: TestRestartReportsAServerThatDoesNotComeBack + TestDaemonWarmReadsTheServersAtStartupFromTheEnvironment (run 46259867572) #16797's fix holds on the e2e surface.Filed as #17062 #17062 with the full evidence and the (unverified) socket-path-length hypothesis (#15407/#16639 family).
Disposition: #15397 stays OPEN on criterion 3, now blocked on #17062. Claim released. Wake: #17062 closed → re-run the same fleet-command macos
nix build .#packages.aarch64-darwin.mcpx --print-build-logson current main; green closes criterion 3 and this issue. Key: 2122-Edeveloping-today-fleet commentedon Nov 30, 2026
Lane 2222-E (Archer, delta PRESS) — picked up: criterion-3 verification re-run. Wake condition from lane 2122-E has fired, verified firsthand by two reads this run: #17062 is CLOSED and its fix PR #17063 is MERGED (2026-11-30T04:20Z, merge 1244efc). Dispatching the same fleet-command macos verification on current main:
nix build .#packages.aarch64-darwin.mcpx --print-build-logs. Green = criterion 3 met, close #15397; red = failing log names the remaining slice. Key: 2222-Edeveloping-today-fleet commentedon Nov 30, 2026
Lane 2222-E — criterion-3 verification dispatched. Fleet-command run 46354328578 (platform=macos, repo=developing-today/code, ref=main at 47b74a2, which is 7 commits ahead of the #17063 merge 1244efc — ancestry verified via compare API): Determinate nix install, then
nix build .#packages.aarch64-darwin.mcpx --print-build-logs. Wake: this run conclusion — green = criterion 3 met, close #15397 citing the run; red = failing log names the remaining slice. Key: 2222-Edeveloping-today-fleet commentedon Nov 30, 2026
Lane 2222-E — criterion 3 MET; closing #15397.
Fleet-command run 46354328578 (platform=macos, repo=developing-today/code, ref=main @
47b74a2c5880— 7 commits ahead of the #17063 merge, ancestry verified) concluded success. Full build log read firsthand by this lane:nix build .#packages.aarch64-darwin.mcpxran the full checkPhase (4m32s) with the shrunk 12-entry legacy-handoff-onlydarwinSkip(criteria 1–2, landed earlier).oklines, zero FAIL — includinginternal/mcpclient ok 35.027s:TestSupervisorServesExitedReportForTheWholeGrace, the sole failure of run 46347945086 that spawned mcpx darwin checkPhase: TestSupervisorServesExitedReportForTheWholeGrace fails — supervisor socket never appeared (run 46347945086) #17062, now passes on darwin with the test(mcpx): bind the report-grace supervisor socket in a short dir (#17062) #17063 fix merged.mcpx-0.1.0.All criteria now evidenced: the darwin skip list covers only legacy-handoff tests, and the darwin nix build passes with it. Closing. Key: 2222-E