GeezerVison is showing github.com — test(mcpx): shrink darwin skip list to legacy-handoff tests (#15397) by dezren39 · Pull Request #15414 · developing-today/code
Conversation
dezren39
commented
Nov 26, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Refs #15397 (follow-up to #9963 criterion 4; prerequisite #15398 merged).
Classification (all 20 darwinSkip entries)
Legacy-handoff — kept (12). Each drives the legacy handover machinery directly:
- fd-passing handoff / Detach / adoption (mcpclient, pool): TestClientHandoffCommitsOnlyWhenActivated, TestHandoffDoesNotSplitAFrameAcrossTheTwoProcesses, TestDetachedChildKeepsItsPipesAndAdoptionResumesThem, TestDetachRefusesWhileACallIsInFlight
- Registry handoff (daemon): TestRegistryHandoffKeepsTheChildAcrossTheSuccessor, TestRegistryHandoffThatIsNotCommittedRestoresTheChild
- In-process daemon handover of listener/connections/pools (daemon, built on the handoff paths): TestACallInFlightAtTheHandoverIsAnsweredByTheOldDaemon, TestAnIdleConnectionSurvivesATakeoverInProcess, TestKeepAliveCallersLoseNoCallsAcrossATakeover, TestCallsIssuedDuringATakeoverNeverFail, TestAClientLeaseSurvivesADaemonTakeover, TestHandoffRecordsTheIdentityAPoolWasMadeWith
Supervised-path — removed (6). End-to-end takeover/upgrade tests on the default config; since #15398 their stdio children are supervised and adopted by attach: TestTakeoverKeepsTheChildAndTheListener, TestTakeoverLosesNoCallsWhileAClientKeepsCalling, TestUpgradeKeepsTheChildAndHandsMainPIDToTheSuccessor, TestAnIdleKeepAliveConnectionSurvivesATakeover, TestACallInFlightAtATakeoverIsAnsweredAndItsConnectionMovesOn, TestKeepAliveCallersLoseNoCallsAcrossARealTakeover.
Blocked exception — kept (2). TestClientLeaseSurvivesDaemonTakeover and TestTakeoverRestartsAChangedServerAndKeepsTheRest are supervised-path by class but fail on darwin for the product defects filed as #15407; they stay skipped with the blocker recorded in the package.nix comment and come out when #15407 lands.
Verification (remote dispatch only, aarch64-darwin)
Builder: GitHub macos-15 (Darwin 24.6.0, arm64) via the fleet-command workflow, go1.27.4 darwin/arm64, branch head ccac79c.
- Run 45769411977 (targeted, pre-restore list of 8): 5 PASS, 1 self-SKIP (TestAnIdleKeepAliveConnectionSurvivesATakeover at its own /proc assertion), 2 FAIL → filed as mcpx darwin: supervised takeover defects — supervisor socket path exceeds darwin limit; changed server's child not retired #15407.
- Run 45770074151 (targeted, final list): the six removed tests — 5 PASS + 1 self-SKIP, exit 0.
- Run 45772820608 (
nix build .#packages.aarch64-darwin.mcpx, Determinate Nix 2.35.6): checkPhase FAILS, but with 34 failing tests that are all pre-existing on main and none of them a test this change unskips or touches — the scoped-supervisor socket-length family (mcpx darwin: supervised takeover defects — supervisor socket path exceeds darwin limit; changed server's child not retired #15407, ~105-byte socket paths vs darwin's 104-byte limit, 35 occurrences in the sandbox) plus the platform-independent internal/defaults guard TestNoPackageRedeclaresADefault. So criterion 3 (green darwin checkPhase) is blocked on mcpx darwin: supervised takeover defects — supervisor socket path exceeds darwin limit; changed server's child not retired #15407, not on this change; the builder and runs are recorded here and on mcpx: shrink the darwin skip list to legacy-handoff tests only (#9963 criterion 4) #15397/mcpx darwin: supervised takeover defects — supervisor socket path exceeds darwin limit; changed server's child not retired #15407 as the issue requires.
Diff is pkgs/mcpx/package.nix only: the skip list (20 → 14) and its comment.
{
"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-26T07:33:22Z",
"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": "bbfc8aa3a3b4f3e3d399b7e76beb6962c0daa5b9"
},
"auth_subject": "xaltha",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by CodeRabbit
- Tests
- Expanded test coverage for takeover and upgrade scenarios on macOS by removing several tests from the skip list.
- Kept skips for Linux-only legacy handoff tests and two takeover end-to-end tests affected by macOS issues.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Since #15398 restored supervised stdio as the default, the end-to-end
takeover/upgrade tests in internal/e2e run their stdio children
supervised, so a takeover adopts them by attach and the tests no
longer need the legacy handover mechanics (/proc, systemd-mainpid)
for those children. Remove the 8 e2e tests from darwinSkip:
- TestTakeoverKeepsTheChildAndTheListener
- TestTakeoverRestartsAChangedServerAndKeepsTheRest
- TestTakeoverLosesNoCallsWhileAClientKeepsCalling
- TestClientLeaseSurvivesDaemonTakeover
- TestUpgradeKeepsTheChildAndHandsMainPIDToTheSuccessor
- TestAnIdleKeepAliveConnectionSurvivesATakeover
- TestACallInFlightAtATakeoverIsAnsweredAndItsConnectionMovesOn
- TestKeepAliveCallersLoseNoCallsAcrossARealTakeover
The 12 remaining entries all drive the legacy handover machinery
directly (pool/client Detach and fd-passing, registry handoff,
detached-child pipe adoption, in-process daemon handover), which is
the #9963 criterion 4 end state: the list covers only legacy-handoff
tests.
…15407
The #15397 darwin verification run (fleet-command 45769411977,
macos-15 aarch64-darwin, go1.27.4) ran the eight unskipped tests:
five pass and one self-skips at its /proc assertion, but two fail
for darwin product defects filed as #15407 — the per-instance
supervisor socket path exceeds darwin's 104-byte unix socket limit
for session-scoped servers (TestClientLeaseSurvivesDaemonTakeover),
and a changed server's supervised child is not retired on takeover
(TestTakeoverRestartsAChangedServerAndKeepsTheRest). Both stay in
darwinSkip as a documented non-legacy exception until #15407 lands;
the list otherwise covers only legacy-handoff tests.
coderabbitai
Bot
commented
Nov 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Walkthrough
-
The Darwin test skip list now retains selected legacy-handoff tests and two takeover tests. It removes other takeover and upgrade tests from the list.
Changes: Darwin test skip list
| Layer / File(s) |
Summary |
Update Darwin test skips pkgs/mcpx/package.nix |
The comments describe the remaining Linux-only legacy-handoff tests and two takeover tests still skipped on Darwin. The list no longer skips other takeover and upgrade tests. |
Estimated code review effort: 2 (Simple) | ~8 minutes
Change: Other
Possibly related issues
- Issue 15397 requests a smaller Darwin skip list. This change removes several entries, but retains two supervised-path tests.
- Issue 9963 requires the Darwin skip list to cover only legacy-handoff tests. This change moves toward that state but retains two supervised-path tests.
- Issue 15407 describes Darwin defects affecting two tests that remain in the skip list. This change preserves those skips but does not fix the defects.
Suggested reviewers: claude
Merge Risk: Minimal · up to ccac7
-
This change only re-enables some tests on Darwin builds and does not touch runtime behavior. The author reports that the full Darwin check still fails because of pre-existing issues, and that failure is not caused by this change. No merge-blocking risk was found.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Description Check |
 |
Check skipped - CodeRabbit’s high-level summary is enabled. |
| Title check |
 |
The title "test(mcpx): shrink darwin skip list to legacy-handoff tests (#15397)" names the main change: the Darwin skip list in pkgs/mcpx/package.nix is narrowed to legacy-handoff tests. The raw summa… |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
Full details: Title check
-
Explanation
The title "test(mcpx): shrink darwin skip list to legacy-handoff tests (#15397)" names the main change: the Darwin skip list in pkgs/mcpx/package.nix is narrowed to legacy-handoff tests. The raw summary and PR objectives confirm the list drops from 20 to 14 entries, with six supervised-path takeover/upgrade tests removed and two documented exceptions kept. The title is specific and matches the changeset, and it is under the length guidance. It omits the removal of supervised-path tests, which is acceptable because the title does not need every detail.
Finishing Touches
-
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
Recent review info
-
Run configuration
-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: defaults
- Review profile: CHILL
- Plan: Advanced
- Run ID:
676c7642-993f-48e7-b2b9-194091ad7b41
Commits
-
Reviewing files that changed from the base of the PR and between 7760b59 and ccac79c.
Files selected for processing: 1
-
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
Agent note (no-queue shepherd lane M, 2026-11-26): verify-then-merge completed. Premise/ownership check passed — PR body, comments and reviews read (no reviews, no changes-requested, no held labels, not draft); linked issue #15397 read (no live competing claim, no Drew-decision gate); diff verified as pkgs/mcpx/package.nix only (darwinSkip 20 → 14, matches body, no secrets). Verification as documented on the PR: remote darwin run 45770074151 — six removed tests 5 PASS + 1 self-SKIP, exit 0; nix checkPhase failures in run 45772820608 are pre-existing on main (#15407 family), none touched by this change. Re-read immediately before merge: API mergeable=true, mergeable_state=clean, head ccac79c. Merged with merge commit e42c4ff at 2026-11-26T08:19:35Z; re-read confirms state=MERGED.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|