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: e2e suite hangs intermittently on aarch64-darwin (different test each run; daemon-side, reload path) · Issue #16312 · developing-today/code

mcpx: e2e suite hangs intermittently on aarch64-darwin (different test each run; daemon-side, reload path) #16312

New issue
Copy link
New issue
Copy link
Backlog
Backlog
mcpx: e2e suite hangs intermittently on aarch64-darwin (different test each run; daemon-side, reload path)#16312
Copy link
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/agentCreated by an agent workerstatus/needs-triageNot yet triaged; needs a first look

Description

@developing-today-fleet
developing-today-fleet
bot
opened on Nov 27, 2026
Issue body actions

Flake signature (firsthand, from darwin-nix CI triageany 2026-11-27)

Two consecutive flake checks build runs on darwin-nix main failed in the SAME job — nix build (aarch64-darwin) mcpx-agent-restart — with a DIFFERENT hanging e2e test each time, and a rerun of the first went fully green:

run head mcpx-agent-restart result hanging test
46031279889 attempt 1 main@f477991 FAIL TestSecretSetAndUnsetOverTheSocket (30m timeout panic)
46031279889 attempt 2 (rerun) main@f477991 SUCCESS (whole run green, completed 20:12Z) —
46042252772 main@50cd581 FAIL TestAddingAServerIsLiveWithoutARestart (30m timeout panic)
46036407320 (branch ci/45974574594-darwin-ps) branch SUCCESS —

Different-test-each-run + green rerun = timing-sensitive flake, not a deterministic breakage. Both hanging tests exercise a daemon config-reload path (secret set/unset; servers add).

Where it actually blocks (job 140652903296 log, run 46042252772)

The test binary is NOT stuck in pool drain. The hanging goroutine is the test itself waiting on its CLI child:

github.com/developing-today/code/pkgs/mcpx/internal/e2e_test.binaryRunner.run(...)
    pkgs/mcpx/internal/e2e/runner_test.go:70   # CombinedOutput
os/exec.(*Cmd).Wait / .Run / .CombinedOutput
github.com/.../e2e_test.(*env).run(...)
    pkgs/mcpx/internal/e2e/e2e_test.go:233
github.com/.../e2e_test.TestAddingAServerIsLiveWithoutARestart(...)
    pkgs/mcpx/internal/e2e/settings_test.go:113  # e.run("servers", "add", "second", ...)

So: servers add CLI never exits because the daemon never answers on the reload path. The daemon-side stacks are NOT in this log (daemon is the child process) — root-causing the daemon hang needs a repro with daemon stacks or added diagnostics around the add/reload path.

Suggested next (per #1973 flake policy)

  • Quarantine the two hanging tests via testsupport.Quarantine with a link here and an expiry, OR fix the reload-path race.
  • A bug gets a failing-first test in the same PR; -race -shuffle=on -count=5, never retry-to-green.
  • darwin-nix tracker: main-broken: dezren39/darwin-nix flake checks build @ca11035 — nix build (aarch64-darwin) mcpx-agent-restart dezren39/darwin-nix#2234 (left open; latest main still red on this flake).

Repro pointers

  • gh run view 46042252772 --repo dezren39/darwin-nix, failed job id 140652903296; panic dump at 30m mark shows only TestAddingAServerIsLiveWithoutARestart in flight.
  • Local: go test ./internal/e2e -run 'TestAddingAServerIsLiveWithoutARestart|TestSecretSetAndUnsetOverTheSocket' -count=1 -v from pkgs/mcpx (may need load/stress to trigger; mac runner load seems to be the trigger).
{
  "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-27T20:46:34Z",
    "session_id": "ses_e5de1b1490dffeR19zq4nP52Xo",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code",
      "repo": "developing-today/code",
      "branch": "main",
      "sha": "6fd30c93b62a4b6fba19e6444c7d69f343fb93a1"
    },
    "auth_subject": "oc-code-04",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Acceptance criteria

  • The daemon reload-path hang behind the intermittent e2e timeouts (TestSecretSetAndUnsetOverTheSocket, TestAddingAServerIsLiveWithoutARestart) is root-caused with daemon-side evidence (stacks or diagnostics from the add/reload path), or both tests are quarantined via testsupport.Quarantine with a link to this issue and an expiry per the flake policy (mcpx testing: flake policy -- race, shuffle, repeat runs, quarantine with expiry, a second OS #1973).
  • If a fix lands: a failing-first regression test accompanies it, and the mcpx e2e suite passes with -race -shuffle=on -count=5 on aarch64-darwin — never retry-to-green.
  • darwin-nix main flake checks build runs no longer fail on the mcpx-agent-restart job for this signature (main-broken: dezren39/darwin-nix flake checks build @ca11035 — nix build (aarch64-darwin) mcpx-agent-restart dezren39/darwin-nix#2234 can be updated/closed on that evidence).

Activity

  1. developing-today-fleet
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    status/needs-triageNot yet triaged; needs a first look
    source/agentCreated by an agent worker
    on Nov 27, 2026
  2. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    Intake review

    • Liveness (verified this pass): still live — the body documents two consecutive darwin-nix main runs failing on different hanging tests with a green rerun between them (classic timing flake), and main-broken: dezren39/darwin-nix flake checks build @ca11035 — nix build (aarch64-darwin) mcpx-agent-restart dezren39/darwin-nix#2234 remains open on this signature. No merged PR resolves it.
    • Related: main-broken: dezren39/darwin-nix flake checks build @ca11035 — nix build (aarch64-darwin) mcpx-agent-restart dezren39/darwin-nix#2234 (downstream tracker); main CI failure: mcpx test (run 46066625369) #16321 (mcpx test main-CI tracker — the e2e legs there may share this hang, but its build legs are separate); flake policy mcpx testing: flake policy -- race, shuffle, repeat runs, quarantine with expiry, a second OS #1973.
    • Notes: the panic dump localizes the wait to the test harness waiting on the servers add CLI child while the daemon never answers on the reload path; daemon-side stacks are absent from CI logs, so root-causing needs a repro with daemon diagnostics, exactly as the body says.
    • Risks: 30-minute timeouts burn CI and keep darwin-nix main red; an unexpiring quarantine would hide a real daemon reload race.
    • Suggested approach: add daemon-side diagnostics around the add/reload path first (or quarantine both named tests with an expiry), reproduce under load on aarch64-darwin, then fix with a failing-first test and -race -shuffle=on -count=5 evidence.
    • Acceptance criteria appended to the body; labels normalized (priority/high, effort/m, status/needs-triage, source/agent, meta/enriched added; kind/bug, app/mcpx already present).

    🤖 Agent note · state: filed

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-27T21:14Z
    • Found via: monitor reconciliation
    • Task: intake enrichment (protocol §5)
    • Expectation: effort/m — daemon reload hang root-caused or both tests quarantined with expiry
    • Links: main-broken: dezren39/darwin-nix flake checks build @ca11035 — nix build (aarch64-darwin) mcpx-agent-restart dezren39/darwin-nix#2234
  3. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    🤖 Agent note · state: claimed

    • Agent: muse-archer, lane 1552-E (bravo SUSTAIN author lane, 2026-11-27 15:52 CST)
    • Task: premise + ownership check done (issue + sole comment read firsthand; no live claim, no held/user labels). Taking the acceptance-named quarantine slice: quarantine TestSecretSetAndUnsetOverTheSocket and TestAddingAServerIsLiveWithoutARestart via testsupport.Quarantine with a link to this issue and an expiry, per mcpx testing: flake policy -- race, shuffle, repeat runs, quarantine with expiry, a second OS #1973 flake policy. Root-cause of the daemon reload-path hang remains open on this issue after the quarantine lands.
    • Route: Git-API contents route only, verified in repo CI on the pushed branch, merged under standing merge authority when verified.
  4. developing-today-fleet
    added 3 commits that reference this issue on Nov 27, 2026

    test(mcpx): quarantine reload-path e2e hangs on aarch64-darwin (#16312)

    484e396

    test(mcpx): quarantine reload-path e2e hangs on aarch64-darwin (#16312)

    7d9360c

    Merge pull request #16340 from developing-today/lane-1552e/16312-quar…

    3dad478
  5. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    🤖 Agent note · state: quarantine slice landed

    • Agent: muse-archer, lane 1552-E (bravo SUSTAIN author lane)
    • Landed: PR test(mcpx): quarantine reload-path e2e hangs on aarch64-darwin (#16312) #16340 MERGED (merge commit 3dad478) — TestSecretSetAndUnsetOverTheSocket and TestAddingAServerIsLiveWithoutARestart are quarantined via testsupport.Quarantine with a link to this issue and expiry 2026-12-31, per the mcpx testing: flake policy -- race, shuffle, repeat runs, quarantine with expiry, a second OS #1973 flake policy and this issue's acceptance criteria.
    • Verification: mcpx workflow run 46074149290 on the PR head — lint success, Darwin compile gate success, and the job log records both tests as quarantined until 2026-12-31 skips. The same run's basic: test red is the pre-existing main breakage tracked at main CI failure: mcpx test (run 46066625369) #16321 (identical cluster incl. TestPluginOpsAreGenerated on main, no involvement of the two touched files).
    • Remains open on this issue: the daemon reload-path root-cause (daemon-side stacks/diagnostics), and darwin-nix#2234 closes only when main runs stay green on this signature. The quarantine fails the suite after 2026-12-31, so it cannot silently persist.
  6. developing-today-fleet
    added a commit that references this issue on Nov 28, 2026

    mcpx: emit reload timing diagnostics for #16312 reload-path hang

    40366d2
  7. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    🤖 Agent note · state: diagnostics slice open

    • Agent: lane oc-code-04 (scheduled Fleet lane, 2026-11-28T00:30Z)
    • Slice: measurement harness for the reload-path hang — PR mcpx: emit reload timing diagnostics for #16312 reload-path hang #16374 adds start/finish timing diagnostics plus per-orphan drain progress to Registry.Reload via the registry log function, with failing-first test TestReloadEmitsStartFinishAndDrainDiagnostics (-race -shuffle=on -count=5 green on laptop; existing TestReload* green).
    • Acceptance state: criterion 1 quarantine half already checked (test(mcpx): quarantine reload-path e2e hangs on aarch64-darwin (#16312) #16340 merged, in origin/main). Root-cause still open; the next hang on this signature should now leave greppable daemon-side lines (reload start: with no reload done:, or an orphaned pool that never reports drained).
    • Next slice: reproduce under load on aarch64-darwin with the new diagnostics, then fix with a failing-first regression test and -race -shuffle=on -count=5 evidence.
  8. developing-today-fleet
    added a commit that references this issue on Nov 28, 2026

    Merge pull request #16374 from developing-today/lane-oc-code-04/16312…

    690d95c
  9. developing-today-fleet commented on Nov 28, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 28, 2026 – with developing.today fleet
    ContributorAuthor
    More actions

    🤖 Agent note · shortlist re-verify — lane oc-code-04, 2026-11-28 ~03:20Z (no slice taken, no PR).

    Fresh verification, not trusted from prior notes:

    • Quarantine half of criterion 1 is landed and in origin/main (test(mcpx): quarantine reload-path e2e hangs on aarch64-darwin (#16312) #16340 merged; both tests call testsupport.Quarantine with link + expiry 2026-12-31).
    • Diagnostics slice PR mcpx: emit reload timing diagnostics for #16312 reload-path hang #16374 MERGED 01:37Z (reload start:/reload done: + orphan-drain lines in reload.go, failing-first test alongside). Next hang on this signature will leave greppable daemon-side lines.
    • darwin-nix main since: latest run 46095439458 (01:54Z) SUCCESS; the 23:55Z failure (46085099366) is unrelated agents-dispatch infra (pm-dispatch 502), not this signature. main-broken: dezren39/darwin-nix flake checks build @ca11035 — nix build (aarch64-darwin) mcpx-agent-restart dezren39/darwin-nix#2234 still OPEN.
    • Root cause still open and correctly so: it needs a hang with the new diagnostics (or a darwin-load repro), which has not occurred yet — nothing to fix without manufacturing evidence.

    Per feature-slice: no unowned, verifiable code slice exists this pass (quarantine + diagnostics both landed by other/earlier work; remainder is observe-and-root-cause). Standing down without a PR. Re-pick on a fresh hang signature or when darwin-nix#2234 shows recurrence.

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)effort/mMedium: expected under 1 day of workkind/bugSomething isn't working (prefixed form of the classic bug label)meta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/agentCreated by an agent workerstatus/needs-triageNot yet triaged; needs a first look

    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.