Skip to content

test(mcpx): exercise mcpx reload and mcpx upgrade end to end - #11909

Merged
dezren39 merged 1 commit into
mainfrom
test/mcpx-cli-reload-upgrade
Nov 18, 2026
Merged

dezren39 merged 1 commit into
mainfrom
test/mcpx-cli-reload-upgrade

Conversation

@dezren39

@dezren39 dezren39 commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

Before: cli reload and cli upgrade were on the feature-coverage exemption list. The existing upgrade tests run a second build or expect a failure, so neither ever recorded a ledger row.

After: two e2e tests in cli_daemon_group_test.go:

  • mcpx reload with daemon.watchConfig=false: a server added to the config file stays unseen until reload, which reports it in added; ls then lists both servers.
  • mcpx upgrade from the binary the daemon is already running reports already current, and the daemon keeps serving.

Both commands now record ledger rows (checked in the recorded ledger), so their two exemption lines are deleted.

How: the reload test gives the new server a distinct env, because reload keys pools on process identity and a second name for an identical child is not reported as added.

Refs #8461


Generated by Claude Code


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

reload: with the config watcher off, a server written to the config is
not seen until reload, which names it as added; ls then lists both.
upgrade: run from the binary the daemon already runs, it reports the
daemon already current and the daemon keeps serving. Both commands now
record ledger rows, so their feature-coverage exemptions are deleted.

Refs #8461

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dezren39
dezren39 marked this pull request as ready for review November 18, 2026 20:55
@dezren39
dezren39 requested a review from a team as a code owner November 18, 2026 20:55
@dezren39
dezren39 merged commit 772d061 into main Nov 18, 2026
@dezren39
dezren39 deleted the test/mcpx-cli-reload-upgrade branch November 18, 2026 20:55
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-18T20:56:15.435269Z d6e691c Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants