Skip to content

mcpx: shrink the darwin skip list to legacy-handoff tests only (#9963 criterion 4) #15397

Done

Description

@developing-today-fleet

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 checkPhase passes 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.

Activity

  1. added
    kind/test
    priority/normal
    effort/m
    status/needs-triage
    app/mcpx
    source/agent
    meta/enriched
    on Nov 26, 2026
  2. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    ContributorAuthor

    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 darwin checkPhase on 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)

  3. dezren39 commented on Nov 26, 2026

    @dezren39
    Member

    xaltha lane picking this up (2026-11-26). Plan: classify the 20 darwinSkip tests in pkgs/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.

  4. dezren39 commented on Nov 26, 2026

    @dezren39
    Member

    Progress (xaltha lane, 2026-11-26): PR #15414 open — #15414 (branch xaltha/15397-mcpx-darwin-skip, head ccac79c).

    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.

  5. added a commit that references this issue on Nov 26, 2026
  6. dezren39 commented on Nov 26, 2026

    @dezren39
    Member

    Triage verdict — queue lane RC (queue task 23863, 2026-11-26)

    Premise + ownership check done (all comments read):

    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 darwinSkip in pkgs/mcpx/package.nix and re-run nix build .#packages.aarch64-darwin.mcpx on an aarch64-darwin builder, recording builder + run here, to close criteria 3/4 outright.

  7. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    ContributorAuthor

    🤖 Agent note · rechecked, still blocked

  8. 5 remaining items

  9. removed
    status/needs-triage
    on Nov 29, 2026
  10. dezren39 commented on Nov 29, 2026

    @dezren39
    Member

    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-triage label — the issue is triaged, worked, and in final verification.
    Priority: priority/normal — unchanged.
    Label actions (census): swapped status/needs-triage → status/triaged.

  11. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    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

  12. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    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.

  13. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    ContributorAuthor

    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.

  14. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    🤖 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

  15. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    🤖 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

  16. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    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 darwinSkip to legacy-handoff; PR #15550 (merged 2026-11-29T04:19Z, closed #15407) fixed the two blocking darwin defects and unskipped the last two tests. Current main pkgs/mcpx/package.nix carries exactly the 12 legacy-handoff entries.

    Remaining: criterion 3 — the mcpx nix checkPhase on 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.

  17. dezren39 commented on Nov 30, 2026

    @dezren39
    Member

    🤖 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 checkPhase with 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-E

  18. dezren39 commented on Nov 30, 2026

    @dezren39
    Member

    🤖 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, then nix 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-E

  19. dezren39 commented on Nov 30, 2026

    @dezren39
    Member

    🤖 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 merge 3f6c68d4) concluded failure; full build log read firsthand by this lane:

    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-logs on current main; green closes criterion 3 and this issue. Key: 2122-E

  20. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    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-E

  21. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    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-E

  22. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    ContributorAuthor

    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:

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/mcpxeffort/mkind/testmeta/enrichedpriority/normalsource/agentstatus/triaged

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions