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 conformance: stdio-restart - crashed stdio server restarts only on next acquire and cooldown can refuse it; add the conformance test and fix (split of #1957) · Issue #7846 · developing-today/code

mcpx conformance: stdio-restart - crashed stdio server restarts only on next acquire and cooldown can refuse it; add the conformance test and fix (split of #1957) #7846

New issue
Copy link
New issue
Copy link
Closed
#11201
Closed
mcpx conformance: stdio-restart - crashed stdio server restarts only on next acquire and cooldown can refuse it; add the conformance test and fix (split of #1957)#7846
#11201
Copy link
Assignees
dezren39
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)epic/mcpx-platformReprioritization program epic (2026-11-12)kind/bugSomething isn't working (prefixed form of the classic bug label)
Milestone
mcpx platform program

Description

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

Split of #1957 per its acceptance criteria, filed by queue task 13636 (lane code-w, 2026-11-08). The packet allowed: verify actual pool behaviour on a crashed stdio server and add the conformance row, or file the verified defect. This is the verified defect, from code inspection at origin/main 10da0c4:

Gap: stdio-restart. Conformance matrix row stdio-client-restart-crashed-server (2026-07-28, SHOULD) is still marked gap (unverified) in pkgs/mcpx/docs/spec/conformance-matrix.md, and registered as a Gap in pkgs/mcpx/internal/conformance/coverage_transport.go:116. Verified from pkgs/mcpx/internal/pool/pool.go: Acquire (line 293) starts a replacement instance only when a later caller acquires and lane size is below Max (lines 324-341); a start failure increments failCount and sets cooldownUntil with a backoff capped at 30s (lines 352-360), and Acquire refuses during cooldown (lines 325-330). Nothing restarts a crashed server at crash time and nothing retries the in-flight call - restart is deferred to the next acquire and can be refused during cooldown, which is what the spec SHOULD (restart on unexpected termination) is measured against.

Acceptance: a conformance test that kills a stdio server mid-call and asserts the client-visible behaviour (oracle: the 2026-07-28 stdio transport unexpected-termination section), the matrix row flipped from gap to its verified state, and - if the test shows the SHOULD unmet - the pool change that restarts or clearly re-acquires without the cooldown refusing the first post-crash call.

Activity

  1. developing-today
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)
    on Nov 8, 2026
  2. dezren39
    added
    epic/mcpx-platformReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  3. dezren39
    added this to the mcpx platform program milestone on Nov 12, 2026
  4. github-actions
    assigned
    dezren39
    on Nov 12, 2026
  5. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    Member
    More actions

    🤖 Agent note · triaged — defect confirmed live and untouched; fix routed as task 20036

    • Agent: repo-worker-code
    • Session / ID: queue task 18541 · lane any-j
    • Found via: repo-health-code-pilot atomic claim (bulk-intake triage packet)
    • Task: Re-verify issue mcpx conformance: stdio-restart - crashed stdio server restarts only on next acquire and cooldown can refuse it; add the conformance test and fix (split of #1957) #7846 (mcpx stdio-restart conformance gap, split of mcpx: smaller conformance gaps -- user identity, annotation trust, rate limits, cursors, URI encoding, prompt validation, restart, invalidation #1957) fresh.

    Fresh verification (2026-11-17, current origin/main): the verified defect filed by task 13636 is unchanged in all three places:

    • pkgs/mcpx/docs/spec/conformance-matrix.md: row stdio-client-restart-crashed-server is still gap CI: nix flake check intermittently dies with 'No space left on device' in id-test/id-ci #257 — "unverified: the in-flight call fails and the pool respawns only on the next acquire, subject to its start-failure cooldown".
    • pkgs/mcpx/internal/conformance/coverage_transport.go: the same Gap is still registered with the same text.
    • pkgs/mcpx/internal/pool/pool.go: Acquire still refuses during cooldown (server %q is in restart cooldown), and a start failure still increments failCount and sets cooldownUntil (backoff capped at 30s). Nothing restarts a crashed stdio server at crash time and nothing retries the in-flight call — the behaviour the spec's unexpected-termination SHOULD is measured against.

    The issue had never been triaged in the queue sense (no comments since filing) and carries no hard-stop labels.

    Routing: the acceptance spans a conformance test against the spec oracle, the matrix/Gap flip, and a pool semantics change (crash path vs repeated-start-failure backoff) — a dedicated fix session, routed as follow-on task 20036 (small_fix, repo-health-code-pilot, dedupe repo-health:v1:fix:developing-today/code:issue:7846) with today's re-verification recorded in the packet. This issue stays open until that fix lands.

    Task 18541 completes as triaged.

  6. dezren39
    added a commit that references this issue on Nov 17, 2026

    Merge pull request #11201 from developing-today/queue/20036-7846-mcpx…

    19bccbd
  7. dezren39
    closed this as completedin #11201on Nov 17, 2026
  8. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    Member
    More actions

    🤖 Agent note · done — fixed and merged

    • Agent: repo-worker-code, lane any-h, task 20036
    • Landed: PR fix(mcpx): first post-crash acquire is not refused by restart cooldown (#7846) #11201 merged (merge commit 19bccbd).
    • Fix: reapDeadLocked now reports whether it reaped a dead instance; an acquire that just reaped one bypasses the restart cooldown for its restart attempt. The cooldown still throttles later attempts and a failed restart re-enters it via the start-failure path (TestStartFailureEntersCooldown unchanged, passing).
    • Conformance: new TestCrashRespawnNotRefusedByCooldown (oracle: the 2026-07-28 stdio unexpected-termination SHOULD) — earns a cooldown from an unrelated broken start, kills the live server, asserts post-crash calls are never cooldown-refused and are promptly served by the respawned server. Oracle-verified: with the fix reverted the test fails with the exact cooldown refusal. The matrix row stdio-client-restart-crashed-server is flipped from gap to covered and conformance-matrix.md regenerated.
    • Tests: go test ./internal/pool/ full pass; go test ./internal/conformance/ full pass.
    • Reviews: Codex produced no findings (usage-limit failure, zero review comments).
    • Closing: acceptance is met (test + matrix flip + the pool change the test showed was needed).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)epic/mcpx-platformReprioritization program epic (2026-11-12)kind/bugSomething isn't working (prefixed form of the classic bug label)

Type

No type

Projects

No projects

    Milestone

    • mcpx platform programNo due date

    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.