Repository navigation
chore(release): merge v2/main into main for v2.14.0 - #2867
Merged
Merged
Conversation
…socket path (#2823) `connections/list` and `servers/show` with no name read a `daemon_unreachable` error as "nothing is connected". When the daemon socket path is over the platform's sun_path limit the daemon can never bind, so that read was wrong: the list printed `Connections (0)` and exited 0, and MRU inference said there was no most-recently-used connection, while `connect` refused with the real cause. Both now run the same `assertSocketPathWithinLimit()` check that `ensureDaemon()` runs before treating an unreachable daemon as empty, so they fail with connect's error and exit code. Neither starts the daemon or creates its directory, and an absent daemon on a valid path still reports an empty list. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
) The image's HEALTHCHECK always built an http:// URL, so with both INSPECTOR_TLS_KEY_PATH and INSPECTOR_TLS_CERT_PATH set the probe failed every time and a correctly running TLS container was reported unhealthy forever. The probe now follows the server's TLS rule (both paths set, a blank value counting as unset) and uses https without verifying the certificate, since it only reaches the container's own listener where a self-signed or private-CA certificate is the normal case. It uses node:http/https rather than fetch because fetch has no per-request way to skip verification without undici, which the copied script cannot resolve. It also probes the unauthenticated /healthz route (#2438) instead of /, which read and token-injected index.html on every probe. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
saveResultToFile resolves its target with node:path resolve(cwd, path), so on Windows the mocked writeFile receives D:\d\a.json while the test asserted POSIX literals. Build the expected paths the same way. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
…2826) Tools, Resources and Prompts rows now render with wrap="truncate-end", so a long name no longer wraps into extra rows that the item-counting scroll window cannot see. The window is also re-clamped every render, so a terminal resize cannot leave the selected row outside it. The Tools detail header wraps its [Enter to Test] hint onto its own line when it does not fit beside the full tool name, instead of overlapping it, and a row's schema-portability marker sits outside the truncated text. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
…eases (#2822) engines.node goes from >=22.19.0 to ^22.23.4 || ^24.22.1 || >=26.12.1, the patched release on each supported line, so npm warns (EBADENGINE) on an unpatched runtime. A per-line range is what keeps an unpatched 24.x or 26.x from satisfying it. Every doc that states the floor is updated. The code comments that reasoned from the 22.19 floor were re-read rather than replaced: - NODE_USE_ENV_PROXY was "unsupported at our floor"; it was added in 22.21.0, so it exists at 22.23.4. It is still no substitute: opt-in at process start and Stability 1.1. The comments now say that. - The short-GCM-tag note said only Node 22 accepts a truncated tag. The floor now spans 22 and 24, and 24 only runtime-deprecates it (DEP0182); Node 26 is where it is end-of-life. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
Lockfile-only: ^2.0.0 already admits 2.0.4. Upstream calls it a patch of example and dependency changes with no library API change; its exports map and dependency set are identical to 2.0.3, so the bundler externals need no change. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
The four-edit vitest bump: the exact pins on vitest and @vitest/coverage-v8 (root) and @vitest/browser-playwright (web), plus web's vitest overrides entry. Clears GHSA-qxg6-89mg-rqv8 and GHSA-xp26-3454-mjgp, and the @storybook/addon-vitest finding that was only inherited from vitest. ip-address (transitive, via server-legacy -> express-rate-limit ^10.2.0) is an in-range npm update, so no overrides entry. fast-uri was already fixed at 3.1.9 by #2820. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
happy-dom 21 turns iframe page loading off by default. The web unit project already stopped child-frame navigation, but with loading off every sandbox iframe now logs a NotSupportedError and gets no contentWindow. Turning enableIframePageLoading back on restores the previous behavior; the navigation flag still stops the frame before it fetches anything. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
, #2843) The loopback listener used by the CLI, TUI and mcpdo accepted the first request to its callback path whatever its `state`, so any local process or web page able to hit the fixed port could end an in-progress sign-in with a forged `?error=` and choose the message the runner reported. - `OAuthCallbackServer.start()` takes `expectedState` (a promise, since the listener is bound before the authorize URL exists). A callback whose `state` does not match -- success or error response -- gets a short 400 and the listener keeps waiting; one that arrives before the state is known is held until it is, or answered 503 if the listener stops first. - `runRunnerInteractiveOAuth` hands over the state from the authorize URL (the step-up URL before navigating, or the one `authenticate()` returns). - Authorization-server error text is labeled as such ("The authorization server said: ...") in both the page and the runner's error. - #2843: the non-GET, unparseable-URL and wrong-path branches (and the new mismatch, 409 and 503 answers) no longer send the "OAuth complete" page. - Responses send `Connection: close`, so `stop()` is not held open by an idle kept-alive socket. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
Closing or reloading a connected web tab dropped /api/mcp/events and sent nothing else, so the backend RemoteSession and its spawned stdio child lived until the Inspector exited, queueing every later server message without bound. - Backend: arm a detach grace timer (default 60s, `sessionDetachGraceMs`) whenever a session has no events consumer — after connect and when its stream drops. A reattach (the OAuth redirect's attachToSession) cancels it; otherwise the transport is closed and the session dropped. A stream that was already replaced no longer clears the live consumer. - Cap RemoteSession's event queue at 1000, dropping the oldest and telling the next consumer how many went. - Web: on pagehide (not bfcache, not an OAuth redirect that will reattach to this session) send a keepalive fetch to /api/mcp/disconnect. Not sendBeacon: it cannot carry the x-mcp-remote-auth header every /api route requires. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
… split success latency, report dropped rate slots (#2834, #2835, #2836, #2837) - CLI: SIGINT/SIGTERM abort the run instead of the process; the partial summary prints with stoppedEarly.reason "interrupted", then exit 130. A second signal exits at once. Load flag refusals use load_flag_conflict. - Engine: circuit breaker after 50 consecutive thrown calls (or 1s of only thrown calls), reported as stoppedEarly consecutive_errors; mcpdo names a dropped connection connection_lost. - latencyMs is success-only, errorLatencyMs times failures, okThroughput added, --load-max-p99 judges successes; isError text is tallied in toolErrorMessages. - --load-rate runs report plannedStarts/droppedSlots/achievedRate and warn on stderr under 90% of target; a duration-bound run is measured to the end of its window. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
) A reload cancels the page's events stream before pagehide fires, which marks the transport closed while the backend session is still alive. Key the release on the backend session id alone. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
1. Self-host the Fredoka and Roboto Mono woff2 files (clients/web/src/theme/fonts) instead of loading them from fonts.googleapis.com at runtime, in the app and in Storybook. 2. The sandbox listener answers HEAD, ignores a query string on /sandbox, and applies the main server's Host allow-list (plus the host of MCP_SANDBOX_FULL_ADDRESS). 3. The prod SPA fallback excludes only /api and /api/..., so /apixyz gets the SPA. 4. One ad-hoc server naming rule (adHocServerName in core/mcp/serverList.ts): URL host or command basename, used by web and by the shared CLI/TUI/mcpdo resolution, which used to call it "default". 5. The default seed scopes filesystem-server-default to os.tmpdir(), passed in by the Node backend (defaultSeedConfig(tempDir)) since serverList.ts is browser-consumed. 6. Every web screen has a visually hidden h1; connected-screen panel headings move to h2/h3 (visual sizes unchanged) so axe heading-order stays clean. 7. The TUI lists tools alphabetically, as the web sidebar does since #2782, via a shared core/mcp/toolOrder.ts. 8. TUI test modals no longer print their title twice; the roots-editor comment in App.tsx reflects #2432. 9. A custom MCP_INSPECTOR_API_TOKEN shorter than 32 characters prints a startup warning. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
… text (#2847) Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
…tener Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
Board #28's audience is managed, so the card may carry the description, repro, ownership verdict, affected lines and fix plan, and the Priority score may carry its justification. States the premise so a widened board audience has an obvious trigger to revisit, and warns that converting the card in step 6 makes its body public. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
…l in tests (#2847) The runner told our own exchange failures from redirect errors by the `error` string, which a redirect can set to anything (callback_error included). The listener now reports `source: "redirect" | "callback"` and the runner labels every redirect error. The integration tests waited 20ms for a request to reach the listener; they now wait on the http server's own "request" event. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
…led font licenses (#2827) - TUI: memoize the sorted tools on the store snapshot so an unrelated update (a stderr line) no longer resets the Tools selection; regression test. - Web: the Apps 'Messages from app' heading is an h2, valid with the sidebar hidden while maximized; test. - Ship the full upstream OFL 1.1 texts for Fredoka and Roboto Mono in public/fonts (copied to dist/fonts, so they are in the tarball); test. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
…p, breaker only while starts remain, uncapped planned slots, exact shortfall check Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
…ory-card-details docs(skills): allow full advisory details on the GHSA draft card
…request (#2847) Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
…r the stop, whichever is first Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
…e figures count only calls made Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
…ts as the second Ctrl+C (#2834) when-exit (via atomically) re-raises SIGINT/SIGTERM with process.kill after its cleanups, so the CLI's listener saw two signals for one press and exited 130 before the partial summary was written. A repeat of the same signal within 500ms of the first is now treated as that re-raise. Adds a spawn test that delivers real signals to the built CLI. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
…nes-floor-and-dep-bumps chore: raise Node floor to the Oct 2026 security releases; bump vitest, happy-dom, ext-apps, ip-address
…-session-grace-reap fix: reap the backend session (and stdio child) when a web tab closes or reloads
…callback-state fix(core): OAuth callback listener acts only on this flow's state
…ummary-fixes fix(load): partial summary on Ctrl+C, circuit breaker, success-only latency, dropped rate slots
…eview-small-defects fix: nine small defects from the v2.13 review (#2827)
…-healthcheck-https fix(docker): probe /healthz over https when the web UI serves TLS
…socket-path-list fix(mcpdo): fail connections/list and MRU inference on an over-limit socket path
…uncate-list-rows fix(tui): one-line list rows keep the selection in view; Windows-safe save-queue test
npm audit --audit-level=high across root and all client installs: no high or critical findings. The only finding is moderate and dev-only (minimatch, GHSA-g3hv-75wg-m249, via the eslint toolchain), with no in-range fix; tracked in #2863. Refs #2862 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
…-2-14-0 chore(release): bump version to 2.14.0
Signed-off-by: cliffhall <[email protected]>
…Object] A --load run that loses its connection aborted its in-flight calls with the LoadStop object it hands the engine. The SDK stringifies an abort reason into the request's rejection (and its notifications/cancelled reason), so each such call was tallied as "[object Object]". In-flight requests now get their own AbortController, aborted alongside the run's but with a plain abort when the caller hangs up and a named AbortError when the connection drops. The engine's signal still carries the LoadStop, so stoppedEarly is unchanged. Closes #2866 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
An older daemon can return summaries without the new fields, causing summary rendering to fail; daemon compatibility must be validated or legacy summaries handled safely.
1 open issue
1 file not reviewed
clients/web/package-lock.json: Generated file
What changed in this PR
This milestone merge brings v2/main into the release branch for v2.14.0, carrying shared-core and client improvements prepared under #2862 and #2865.
Changes:
- Updates the release version, supported Node ranges, test dependencies, and related documentation.
- Improves load-run reporting, OAuth callback handling, remote-session cleanup, and Docker health checks.
- Refines web accessibility, self-hosted fonts, sandbox restrictions, and TUI navigation, with regression coverage.
| File | Description |
|---|---|
| specification/v2_cli_tui_launcher.md | Updates documented Node requirements. |
| skills/mcpdo/SKILL.md | Explains load metrics and early stops. |
| scripts/verify-typecheck-coverage.mjs | Updates the Node-floor comment. |
| scripts/docker-healthcheck.mjs | Probes /healthz with TLS support. |
| README.md | Updates development requirements. |
| package.json | Sets v2.14.0, Node ranges, and Vitest pins. |
| docs/v1-to-v2-migration.md | Explains revised Node requirements. |
| docs/mcp-server-configuration.md | Documents platform-specific catalog seeds. |
| docs/environment-variables.md | Documents weak-token warnings. |
| docs/docker.md | Explains TLS-aware health checks. |
| docs/cli-smoke-testing.md | Updates smoke-test prerequisites. |
| Dockerfile | Updates health-check explanatory comments. |
| core/mcp/toolOrder.ts | Centralizes tool-list comparators. |
| core/mcp/serverList.ts | Shares ad-hoc naming and parameterizes seeds. |
| core/mcp/remote/remoteClientTransport.ts | Adds keepalive session release. |
| core/mcp/remote/node/remote-session.ts | Adds detach timers and bounded event queues. |
| core/mcp/node/servers.ts | Applies shared ad-hoc server names. |
| core/mcp/node/proxyFetch.ts | Updates runtime compatibility comments. |
| core/mcp/inspectorClient.ts | Exposes unload-time session release. |
| core/cli/handlers/load-thresholds.ts | Clarifies success-only p99 checks. |
| core/cli/error-handler.ts | Defines interrupted-load exit status. |
| core/auth/node/runner-interactive-oauth.ts | Passes expected state and clarifies callback errors. |
| core/auth/node/file-secret-store.ts | Updates authentication-tag comments. |
| clients/web/vite.config.ts | Adjusts iframe settings for happy-dom 21. |
| clients/web/src/utils/toolUtils.ts | Re-exports shared tool comparators. |
| clients/web/src/theme/fonts/fonts.test.ts | Checks local fonts and license files. |
| clients/web/src/test/setup.ts | Updates the happy-dom version comment. |
| clients/web/src/test/integration/server/server-token-injection.test.ts | Covers non-API SPA fallback paths. |
| clients/web/src/test/integration/mcp/remote/servers-route.test.ts | Checks platform-specific seed contents. |
| clients/web/src/test/integration/mcp/remote/server-extra-coverage.test.ts | Clarifies proxy-test rationale. |
| clients/web/src/test/integration/auth/node/file-secret-store.test.ts | Updates tag-validation test comments. |
| clients/web/src/test/core/react/useServers.test.tsx | Uses the parameterized seed helper. |
| clients/web/src/test/core/mcp/toolOrder.test.ts | Tests shared sorting behavior. |
| clients/web/src/test/core/mcp/serverList.test.ts | Tests ad-hoc naming and platform seeds. |
| clients/web/src/test/core/mcp/remote/remoteClientTransport.test.ts | Covers unload-time disconnect behavior. |
| clients/web/src/test/core/mcp/node/servers.test.ts | Updates ad-hoc naming expectations. |
| clients/web/src/main.tsx | Loads bundled font styles. |
| clients/web/src/hooks/usePageHideRelease.ts | Releases sessions on eligible page hides. |
| clients/web/src/hooks/usePageHideRelease.test.tsx | Tests release exclusions and listener cleanup. |
| clients/web/src/components/views/InspectorView/InspectorView.tsx | Adds a screen-specific top-level heading. |
| clients/web/src/components/views/InspectorView/InspectorView.test.tsx | Checks top-level screen headings. |
| clients/web/src/components/screens/ServerListScreen/ServerListScreen.tsx | Corrects panel heading level. |
| clients/web/src/components/screens/ConsoleScreen/ConsoleScreen.tsx | Corrects console heading levels. |
| clients/web/src/components/screens/AppsScreen/AppsScreen.tsx | Corrects the app-message heading level. |
| clients/web/src/components/screens/AppsScreen/AppsScreen.test.tsx | Checks headings in maximized apps. |
| clients/web/src/components/groups/ToolResultPanel/ToolResultPanel.tsx | Corrects results and resource-link headings. |
| clients/web/src/components/groups/ToolResultPanel/ToolCallErrorPanel.tsx | Corrects the error-panel heading. |
| clients/web/src/components/groups/ToolControls/ToolControls.tsx | Corrects the tools heading. |
| clients/web/src/components/groups/TaskListPanel/TaskListPanel.tsx | Corrects task heading hierarchy. |
| clients/web/src/components/groups/TaskControls/TaskControls.tsx | Corrects task-control heading hierarchy. |
| clients/web/src/components/groups/StructuredOutputPanel/StructuredOutputPanel.tsx | Corrects the structured-output heading. |
| clients/web/src/components/groups/ResourceTemplatePanel/ResourceTemplatePanel.tsx | Corrects the template heading. |
| clients/web/src/components/groups/ResourcePreviewPanel/ResourcePreviewPanel.tsx | Corrects the resource-preview heading. |
| clients/web/src/components/groups/ResourceControls/ResourceControls.tsx | Corrects the resources heading. |
| clients/web/src/components/groups/ProtocolListPanel/ProtocolListPanel.tsx | Corrects protocol-message heading hierarchy. |
| clients/web/src/components/groups/ProtocolControls/ProtocolControls.tsx | Corrects protocol-control heading hierarchy. |
| clients/web/src/components/groups/PromptMessagesDisplay/PromptMessagesDisplay.tsx | Corrects the prompt-message heading. |
| clients/web/src/components/groups/PromptControls/PromptControls.tsx | Corrects the prompts heading. |
| clients/web/src/components/groups/PromptArgumentsForm/PromptArgumentsForm.tsx | Corrects the arguments heading. |
| clients/web/src/components/groups/NetworkStreamPanel/NetworkStreamPanel.tsx | Corrects the network-panel heading. |
| clients/web/src/components/groups/NetworkControls/NetworkControls.tsx | Corrects network-control heading hierarchy. |
| clients/web/src/components/groups/MessageDirectionFilter/MessageDirectionFilter.tsx | Corrects the direction-filter heading. |
| clients/web/src/components/groups/LogStreamPanel/LogStreamPanel.tsx | Corrects the log-stream heading. |
| clients/web/src/components/groups/LogControls/LogControls.tsx | Corrects logging heading hierarchy. |
| clients/web/src/components/groups/AppControls/AppControls.tsx | Corrects the MCP Apps heading. |
| clients/web/src/App.tsx | Wires page-hide session cleanup. |
| clients/web/server/web-server-config.ts | Warns about short custom API tokens. |
| clients/web/server/vite-hono-plugin.ts | Passes allowed hosts to the sandbox. |
| clients/web/server/server.ts | Refines SPA fallback and sandbox configuration. |
| clients/web/server/sandbox-controller.ts | Checks hosts and supports HEAD/query URLs. |
| clients/web/server/run-web.ts | Uses shared ad-hoc naming. |
| clients/web/README.md | Documents sandbox host restrictions. |
| clients/web/public/fonts/RobotoMono-OFL.txt | Includes the Roboto Mono license. |
| clients/web/public/fonts/Fredoka-OFL.txt | Includes the Fredoka license. |
| clients/web/package.json | Updates Vitest and happy-dom dependencies. |
| clients/web/index.html | Removes external font requests. |
| clients/web/.storybook/preview.tsx | Loads local fonts in Storybook. |
| clients/web/.storybook/main.ts | Removes Storybook’s external font links. |
| clients/tui/src/utils/formHeader.ts | Removes duplicate form titles. |
| clients/tui/src/hooks/useSelectableList.ts | Keeps selection visible after resizing. |
| clients/tui/src/components/ToolTestModal.tsx | Uses the untitled form helper. |
| clients/tui/src/components/ToolsTab.tsx | Truncates rows and wraps header content. |
| clients/tui/src/components/ResourceTestModal.tsx | Uses the untitled form helper. |
| clients/tui/src/components/ResourcesTab.tsx | Keeps resource rows on one line. |
| clients/tui/src/components/PromptTestModal.tsx | Uses the untitled form helper. |
| clients/tui/src/components/PromptsTab.tsx | Keeps prompt rows on one line. |
| clients/tui/src/App.tsx | Sorts tools and clarifies roots-editor comments. |
| clients/tui/__tests__/useSelectableList.test.tsx | Covers shrinking list windows. |
| clients/tui/__tests__/tui-servers.test.ts | Updates ad-hoc naming expectations. |
| clients/tui/__tests__/saveResult.queue.test.ts | Makes path assertions platform-aware. |
| clients/tui/__tests__/ResourcesTab.test.tsx | Covers narrow-terminal resource rows. |
| clients/tui/__tests__/PromptsTab.test.tsx | Covers narrow-terminal prompt rows. |
| clients/tui/__tests__/formHeader.test.ts | Tests non-mutating title removal. |
| clients/tui/__tests__/App.test.tsx | Checks sorting and selection preservation. |
| clients/mcpdo/src/daemon/server.ts | Names connection-loss load stops. |
| clients/mcpdo/src/connection/mcp.ts | Validates socket paths and updates p99 help. |
| clients/mcpdo/src/connection/load-flags.ts | Uses the shared flag-conflict code. |
| clients/mcpdo/src/connection/format-human.ts | Renders expanded load summaries. |
| clients/mcpdo/src/connection/dispatch.ts | Emits load-summary warnings. |
| clients/mcpdo/README.md | Documents load metrics and stop behavior. |
| clients/mcpdo/__tests__/mcp-coverage.test.ts | Covers over-limit socket-path errors. |
| clients/mcpdo/__tests__/load.test.ts | Tests expanded summaries and rate warnings. |
| clients/mcpdo/__tests__/daemon-load.test.ts | Checks connection-loss stop details. |
| clients/launcher/README.md | Documents platform-specific seed directories. |
| clients/cli/src/handlers/load-interrupt.ts | Handles graceful load interruption and exit status. |
| clients/cli/__tests__/oauth-interactive.test.ts | Echoes OAuth state in callback fixtures. |
| clients/cli/__tests__/load-thresholds.test.ts | Updates success-only p99 expectations. |
| clients/cli/__tests__/load-test.test.ts | Reuses the clock helper and adjusts abort coverage. |
| clients/cli/__tests__/helpers/load-clock.ts | Extracts the deterministic load-test clock. |
| AGENTS.md | Updates documented Node requirements. |
| .github/ISSUE_TEMPLATE/1-bug_report.yml | Updates Node-version guidance. |
| .claude/skills/security-advisory/SKILL.md | Revises private-card content and publication guidance. |
| .claude/skills/local-dev/SKILL.md | Updates installation requirements. |
Review effort: Balanced
…bort-reason-message fix(mcpdo): name a connection_lost abort instead of tallying [object Object]
A daemon idles out only once it holds no connection, so it survives an upgrade and keeps serving the previous release's code. The upgraded client then misread its payloads downstream: against a 2.13.0 daemon, 2.14.0's mcpdo --load failed with "Cannot read properties of undefined (reading 'min')". The daemon now reports its package version in ping, and ensureDaemon compares it with the client's own. A different version, or none (a daemon from before this check), fails with daemon_version_mismatch, naming both and telling the user to run mcpdo daemon stop. daemon stop and daemon status call the daemon directly, so they still work against it. Closes #2870 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
A caller that loses a concurrent first start adopts the winning daemon through waitForDaemon's readiness ping, which did not check its version. A client from another release could win, so validate that ping like a reused daemon's and let daemon_version_mismatch escape the retry loop. Refs #2870 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: cliffhall <[email protected]>
…daemon-version-check fix(mcpdo): refuse a connection daemon from another release
Signed-off-by: cliffhall <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
Maintainers must confirm board #28’s access controls protect private advisory details and verify release-critical merge-tree and production-smoke evidence that this source snapshot cannot establish.
No open issues 🎉
1 resolved since last review
1 file not reviewed
clients/web/package-lock.json: Generated file
Review effort: Balanced
Member
Author
|
Copilot review loop summary:
The loop stops on this clean round. |
This was referenced Nov 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Closes #2865
Milestone merge of
v2/mainintomainfor the v2.14.0 minor release. This is step 2 of thereleaseskill. Step 1 was #2862 / PR #2864.This is a pure merge
The merged tree is byte-identical to
origin/v2/mainand reads 2.14.0. Both commits are merges ofv2/main, with nothing authored on this branch.Findings fixed on
v2/mainand re-mergedmcpdo --loadrun, the in-flight calls were tallied as[object Object]. It was fixed by PR fix(mcpdo): name a connection_lost abort instead of tallying [object Object] #2868.--loadfailed withCannot read properties of undefined (reading 'min'). It was fixed by PR fix(mcpdo): refuse a connection daemon from another release #2871, which refuses such a daemon withdaemon_version_mismatch.Both arrived here by the second merge of
v2/main(4798aaf), which touches only five files underclients/mcpdo.The milestone payload is complete. 20 issues are closed as completed, and the only open v2.14.0 issue is #2865, which is this merge.
Verification
Ledger: https://claude.ai/artifact/4TfnRPjxJDedDzQNArH6ma. It has one row per closed milestone issue, with what was run and what was observed, for maintainer review.
npm run local:gateon 4798aaf: exit 0 in 5m47s. Every stage passed, including the three Firefox smokes (run in Docker) and Storybook (538 tests, 123 files). That is 13,311 distinct tests.npm run pack:verifyon 4798aaf: OK. The tarball has 44 files and is 5.59 MB unpacked, withskills/mcpdopresent. It drove web, CLI, TUI and mcpdo from the installed tarball. The 17 files added since 2.13.0 are the fonts that Small defects in web, TUI and default catalog (tracking list from a v2.13 review) #2827 now self-hosts.npm audit --audit-level=high(Release 2.14.0 step 1: bump version to 2.14.0 on v2/main #2862): no high or critical findings. The one moderate is dev-only (minimatch) and is deferred to chore(deps): clear the moderate minimatch advisory (GHSA-g3hv-75wg-m249) in the lint toolchain #2863.--webprod serverRelease notes must mention
^22.23.4 || ^24.22.1 || >=26.12.1(Raise the Node engines floor to the October 2026 security releases (22.23.4 / 24.22.1 / 26.12.1) #2822).--loadlatency (latencyMs) and--load-max-p99now count successful calls only (--load summary misreports failed calls: failures are mixed into latency/throughput, and tool-error messages are never shown #2836).🤖 Generated with Claude Code