GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — mcpx: procStat in internal/mcpclient/handoff.go is Linux-only (/proc/<pid>/stat) — breaks handoff identity on darwin · Issue #7063 · developing-today/code

mcpx: procStat in internal/mcpclient/handoff.go is Linux-only (/proc/<pid>/stat) — breaks handoff identity on darwin #7063

New issue
Copy link
New issue
Copy link
Closed
#8008
Closed
mcpx: procStat in internal/mcpclient/handoff.go is Linux-only (/proc/<pid>/stat) — breaks handoff identity on darwin#7063
#8008
Copy link
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)kind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 8, 2026
Issue body actions

Split from #237 (triage task 11867, 2026-11-08) — the remaining concrete defect from that issue, scoped on its own so it can be fixed and verified independently of the darwin takeover support-or-refuse decision that stays on #237.

Defect

pkgs/mcpx/internal/mcpclient/handoff.go:180 — procStat(pid) reads /proc/<pid>/stat unconditionally (verified at origin/main 801ceb9). The file has no build constraints and there is no darwin alternative, so the process start-time / identity checks used during handoff detach (ProcessStartTime, and the pid-identity check at handoff.go:166-175) fail on any platform without /proc — including aarch64-darwin, where mcpx is deployed via dezren39/nix.

Evidence

  • mcpx: aarch64-darwin build verification still owed for the pinned mcpx-src input (from #469/#468) dezren39/darwin-nix#471 (queue task 8082), aarch64-darwin verification run: TestHandoffCarriesExecIdentityForRelativeCommand fails at handoff_exec_test.go:39 with detach: server "fake": child 11053: open /proc/11053/stat: no such file or directory. It is the only failing package (internal/pool, via this path) and it gates the nix mcpx package checkPhase.
  • Same family as mcpx: takeover/upgrade/handoff unsupported on darwin; Linux-only tests break the darwin build #237 item 3 (/proc/<pid>/exe), which PR test(mcpx): darwin test-compile portability for internal/daemon (#237) #3288 already fixed for the daemon test package; this one is in production (non-test) code.

Acceptance criteria

  • Process start-time/identity for handoff works on aarch64-darwin via a portable source (e.g. sysctl kern.proc KP_EPROC / proc_pidpath-family equivalent), or returns an explicit unsupported-platform error and the affected handoff tests skip on darwin with a stated reason — no bare /proc/...stat: no such file or directory failures
  • internal/mcpclient and internal/pool suites still pass on Linux with no regressions; pkgs/mcpx/scripts/darwin-compile-check.sh still passes
  • After the fix lands, the result names the cross-repo remainder: advance the mcpx pin in dezren39/nix so mcpx: aarch64-darwin build verification still owed for the pinned mcpx-src input (from #469/#468) dezren39/darwin-nix#471's parked aarch64-darwin verification can resume (cross-repo set rule — tracked from mcpx: takeover/upgrade/handoff unsupported on darwin; Linux-only tests break the darwin build #237, no duplicate filing)

Out of scope

  • The darwin takeover/upgrade support-or-refuse decision (stays on mcpx: takeover/upgrade/handoff unsupported on darwin; Linux-only tests break the darwin build #237)
  • Any other /proc uses in test helpers already covered by PR test(mcpx): darwin test-compile portability for internal/daemon (#237) #3288

Activity

  1. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/normalOrdinary priority (the default)
    on Nov 8, 2026
  2. developing-today commented on Nov 8, 2026

    @developing-today
    developing-todayBot
    on Nov 8, 2026 – with developing.today
    Contributor
    More actions

    CODE-2234

  3. dezren39
    added
    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)
    queue/queuedHas a queued queue task
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    queue/queuedHas a queued queue task
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 8, 2026
  4. developing-today
    added
    status:in-review
    on Nov 9, 2026
  5. dezren39 commented on Nov 9, 2026

    @dezren39
    dezren39
    on Nov 9, 2026
    MemberAuthor
    More actions

    agent-note:v1
    task 12056 — resumed by lane code-h (direct). The outbox PR is now created live: PR #8008 (mcpx: portable procStat for darwin via sysctl kern.proc) from branch queue/12056-7063-portable-procstat at 22079f4. Prior verification stands: go test ./internal/mcpclient/ ./internal/pool/ PASS on Linux; darwin-compile-check PASS. Outbox entries OB-2026-11-09-F12056PR / OB-2026-11-09-F12056C are superseded by this live PR + note (the PR entry re-checks head branch and will mark done with PR #8008). Cross-repo remainder named in PR #8008: advance the mcpx pin in dezren39/nix so dezren39/darwin-nix#471 verification can resume. Next: shepherd PR #8008 CI.

  6. dezren39 commented on Nov 9, 2026

    @dezren39
    dezren39
    on Nov 9, 2026
    MemberAuthor
    More actions

    agent-note:v1
    task: 12056
    lane: code-d
    stage: awaiting_ci
    state: parked
    summary: Resumed task 12056 at awaiting_ci; revalidated fresh — issue #7063 OPEN, PR #8008 OPEN at head 22079f4, no hard-stop labels, Codex findings: none (0 reviews, 0 inline comments), diff = 5 files in pkgs/mcpx/internal/mcpclient matching intent, targeted tests verified on laptop by prior lane (go test ./internal/mcpclient/ ./internal/pool/ PASS; darwin compile check PASS). 5 basic checks queued since 2026-11-09T08:35:35Z (queue-wide CI stall). Parking 1200s per runbook §5; resume condition: basic checks green on head 22079f4, then merge PR #8008 and complete.

  7. dezren39 commented on Nov 9, 2026

    @dezren39
    dezren39
    on Nov 9, 2026
    MemberAuthor
    More actions

    Agent note - parked on CI. Agent: repo queue worker, lane code-b (repo-worker-code). Session: cron repo-queue-worker-shift-b run 2026-11-09 03:40 CST; task 12056 (direct lane, lane row 5535). Fresh revalidation: issue #7063 OPEN, no hard-stop labels; PR #8008 OPEN, branch queue/12056-7063-portable-procstat. Checks still QUEUED since 2026-11-09T08:35Z (fleet Actions stall); CodeRabbit pass; Codex review failed on usage limits with no inline findings to disposition. Task parked 1200s; resume = merge PR #8008 when checks go green, then complete task 12056. agent-note:v1 agent=repo-worker-code lane=code-b state=parked task=12056

  8. dezren39
    added 2 commits that reference this issue on Nov 9, 2026

    mcpx: skip TestProcStatSelf on platforms without procStat (#7063)

    524715d

    mcpx: portable procStat for darwin via sysctl kern.proc (#7063) (#8008)

    d9e0f39
  9. dezren39
    closed this as completedin #8008on Nov 9, 2026
  10. dezren39 commented on Nov 9, 2026

    @dezren39
    dezren39
    on Nov 9, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (fixed_merged)

    • Agent: repo queue worker, lane code-j (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-j run 2026-11-09 04:30 CST; task 12056 at 2026-11-09T10:38:31Z
    • Found via: queue claim · task 12056 (resume from checkpoint: implementation_complete / targeted_tests_passed on PR mcpx: portable procStat for darwin via sysctl kern.proc (#7063) #8008)
    • Task: task 12056 for issue mcpx: procStat in internal/mcpclient/handoff.go is Linux-only (/proc/<pid>/stat) — breaks handoff identity on darwin #7063 — portable procStat in pkgs/mcpx/internal/mcpclient. PR mcpx: portable procStat for darwin via sysctl kern.proc (#7063) #8008 MERGED 2026-11-09T10:38:16Z, squash merge commit d9e0f39; issue mcpx: procStat in internal/mcpclient/handoff.go is Linux-only (/proc/<pid>/stat) — breaks handoff identity on darwin #7063 CLOSED. Verified fresh before merge: PR MERGEABLE/CLEAN, head 524715d matching the tested checkpoint, diff limited to handoff.go + procstat_{darwin,linux,other}.go + procstat_test.go; prior checkpoint tests: go test ./internal/mcpclient/ ./internal/pool/ PASS, darwin-compile-check PASS, freebsd vet PASS. Codex review produced zero findings (usage-limit notice on the earlier head); CodeRabbit finding was fixed in the current head (TestProcStatSelf skip). No checks reported on the PR branch (fleet Actions stall); merged per standing merge authority (CI runs on main).
    • Cross-repo remainder (acceptance 3): advance the mcpx pin in dezren39/nix so mcpx: aarch64-darwin build verification still owed for the pinned mcpx-src input (from #469/#468) dezren39/darwin-nix#471's parked aarch64-darwin verification can resume — tracked from issue mcpx: takeover/upgrade/handoff unsupported on darwin; Linux-only tests break the darwin build #237, no duplicate filing made here.
    • Links: task 12056 · issue mcpx: procStat in internal/mcpclient/handoff.go is Linux-only (/proc/<pid>/stat) — breaks handoff identity on darwin #7063 · PR mcpx: portable procStat for darwin via sysctl kern.proc (#7063) #8008
  11. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 9, 2026
  12. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 9, 2026
  13. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (already_done)

    • Agent: repo queue worker, lane code-x (repo-worker-code)
    • Session / ID: cron repo-queue-worker-shift-x run 2026-11-10; task 13684
    • Found via: claimed task 13684 (triage) this shift; revalidated fresh before any work
    • Task: task 13684 for issue mcpx: procStat in internal/mcpclient/handoff.go is Linux-only (/proc/<pid>/stat) — breaks handoff identity on darwin #7063 — already done. Fresh evidence: issue mcpx: procStat in internal/mcpclient/handoff.go is Linux-only (/proc/<pid>/stat) — breaks handoff identity on darwin #7063 is CLOSED (stateReason COMPLETED, closedAt 2026-11-09T10:38:18Z, label status:done). The fix landed via task 12056: PR mcpx: portable procStat for darwin via sysctl kern.proc (#7063) #8008 MERGED 2026-11-09T10:38:16Z, merge commit d9e0f39 (portable procStat in pkgs/mcpx/internal/mcpclient; prior lane verified go test ./internal/mcpclient/ ./internal/pool/ PASS and darwin compile check PASS). No new work needed; completing task 13684 as already_done.
    • Links: task 13684 · issue mcpx: procStat in internal/mcpclient/handoff.go is Linux-only (/proc/<pid>/stat) — breaks handoff identity on darwin #7063 · PR mcpx: portable procStat for darwin via sysctl kern.proc (#7063) #8008
  14. dezren39 commented on Nov 10, 2026

    @dezren39
    dezren39
    on Nov 10, 2026
    MemberAuthor
    More actions

    Lane code-y — task 14590 complete (already done)

    • Verified fresh: issue mcpx: procStat in internal/mcpclient/handoff.go is Linux-only (/proc/<pid>/stat) — breaks handoff identity on darwin #7063 is CLOSED (status/done), closed 2026-11-09T10:38:18Z
    • Evidence: lane code-j note on this issue — task 12056 completed fixed_merged on PR mcpx: portable procStat for darwin via sysctl kern.proc (#7063) #8008; a later triage packet (task 13684) was also completed already_done against the same evidence
    • Completing this packet as already_done per runbook §2; no duplicate work created
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/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)kind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.