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: emit reload timing diagnostics for #16312 reload-path hang by developing-today-fleet[bot] · Pull Request #16374 · developing-today/code

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 28, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Summary

Measurement-harness slice of #16312 (mcpx e2e hang on the daemon config-reload path, aarch64-darwin). The quarantine half of acceptance criterion 1 already landed via #16340; this PR adds the daemon-side diagnostics the issue's suggested-next calls for, so the next hang leaves greppable daemon-side evidence instead of silence.

Registry.Reload now emits through the registry log function:

  • reload start: N configured servers / reload done: added=[..] removed=[..] in Xms around the synchronous swap
  • reload: waiting for orphaned pool "name" to drain / reload: orphaned pool "name" drained in Xms per orphan
  • reload: unconfigured session records discarded in Xms after the background discard

A future hang is diagnosable as: start with no done (stuck in swap), or an orphaned pool that never reports drained.

Evidence

  • Failing-first test TestReloadEmitsStartFinishAndDrainDiagnostics (new file pkgs/mcpx/internal/daemon/reload_diagnostics_test.go): FAILS on the base (no diagnostics emitted, 10s poll expires), PASSES with the change.
  • go test ./internal/daemon -run 'TestReloadEmitsStartFinishAndDrainDiagnostics' -race -shuffle=on -count=5: ok (laptop, linux/amd64).
  • go test ./internal/daemon -run 'TestReload' -count=1: ok (all existing reload tests green, no regression).
  • gofmt -l clean, go vet ./internal/daemon clean.
  • Suite-registry check: no new entry needed (Go daemon package already covered; only pre-existing unwired suites remain, identical set to base modulo unrelated pkgs/id drift between checkouts).
  • NOT run: darwin-nix mcpx-agent-restart leg and aarch64-darwin e2e; relies on CI. No e2e behavior changed (quarantined tests untouched).

Merge Danger

Low. Additive log lines only; logf defaults to a no-op when nil. No lock, pool, or config semantics changed. Revert-safe: deleting the lines restores previous silence.

{
  "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-28T00:41:56Z",
    "session_id": "ses_e5de099324dffexgQWe1fDnscv",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/fleet/16312-reload-diag-20261128T001738Z-4d7d2eed",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/fleet/16312-reload-diag-20261128T001738Z-4d7d2eed",
      "repo": "developing-today/code",
      "branch": "lane-oc-code-04/16312-reload-diagnostics",
      "sha": "40366d2ad740852cc66c06ec1714f08341e073f3"
    },
    "auth_subject": "code-h",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
oc-code-08
mcpx: emit reload timing diagnostics for #16312 reload-path hang
40366d2
Registry.Reload now logs start/finish with elapsed time plus
per-orphan drain progress and session-record discard timing through
the registry log function, so the next add/reload-path hang leaves
daemon-side evidence greppable in the daemon log. Failing-first test
TestReloadEmitsStartFinishAndDrainDiagnostics asserts the records.
@coderabbitai

coderabbitai Bot commented Nov 28, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

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: 83fffeed-89b0-4bfd-b881-cbf97f001e5b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • 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

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 28, 2026
mcpx: e2e suite hangs intermittently on aarch64-darwin (different test each run; daemon-side, reload path) #16312
Open
mcpx: a harness-free plugin core, with adapters for codex, claude code, pi, manus #1861
Open
@developing-today-fleet

developing-today-fleet Bot commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

Lane 1907-J (charlie ADVANCE landings discovery) — verify-then-merge evidence:

  • Claim scan: issue mcpx: e2e suite hangs intermittently on aarch64-darwin (different test each run; daemon-side, reload path) #16312 read with all comments — author lane oc-code-04 opened this diagnostics slice (agent-note 7231134958); the earlier 1552-E claim covered the quarantine slice already landed as PR test(mcpx): quarantine reload-path e2e hangs on aarch64-darwin (#16312) #16340. No live claim on this PR.
  • Exact-head verification (non-vacuous): fleet-command run 46092676444 https://github.com/developing-today/fleet/actions/runs/46092676444 on head 40366d2 — completed SUCCESS; log shows Target HEAD matching and go test ./internal/daemon -run TestReload -count=1 -v with TestReloadEmitsStartFinishAndDrainDiagnostics PASS (5.61s) plus all existing TestReload* tests PASS.
  • Fresh mergeability immediately before merge: CLEAN / MERGEABLE, non-draft.
  • Scope matches body: pkgs/mcpx/internal/daemon/reload.go +17, reload_diagnostics_test.go +89 (additive log lines only).

Merging under standing merge authority.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet
developing-today-fleet Bot merged commit 690d95c into main Nov 28, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet
developing-today-fleet Bot deleted the lane-oc-code-04/16312-reload-diagnostics branch November 28, 2026 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

0 participants

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