Skip to content

test(mcpx): e2e exercises for cli adapter/api/completion/init/man/plugin (#8460) - #11227

Merged
dezren39 merged 3 commits into
mainfrom
queue/20139-8460-mcpx-coverage
Nov 17, 2026
Merged

dezren39 merged 3 commits into
mainfrom
queue/20139-8460-mcpx-coverage

Conversation

@dezren39

@dezren39 dezren39 commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

What

Burn-down for #8460 (mcpx coverage, cli configuration group): real integration-test exercises for the six CLI commands that had none — adapter, api, completion, init, man, plugin — and their six lines deleted from feature_coverage_exemptions.txt.

New file pkgs/mcpx/internal/e2e/coverage_cli_config_test.go, one test per command, each dispatching through the coverage-recording runner (help-only invocations record nothing by design):

  • adapter — adapter list with nothing declared prints the declaration guidance.
  • api — api list with nothing declared, plus api tools --spec <local OpenAPI file> --name probe building the tool list from a real spec (asserts the derived operation tool and the operation count).
  • completion — completion bash emits the real script; an unsupported shell is refused.
  • init — lifecycle: bare init refuses over an existing config, init --force writes the starter config (asserted on disk).
  • man — prints the generated roff page; man --install writes man1/mcpx.1 (asserted on disk).
  • plugin — plugin list with nothing discoverable prints the discovery guidance.

Verification

Queue task 20139 (lane code-a). No closing keyword for #8460 in this body — the worker closes the issue with evidence after merge.


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

…gin; drop their coverage exemptions (#8460, queue task 20139)
@dezren39
dezren39 requested a review from a team as a code owner November 17, 2026 10:36
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-17T10:36:15.641040Z
We couldn’t complete this review. Comment @codex review to try again.
3345383 PR opened
ℹ️ 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 51 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

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: 0a48a122-ef7d-4756-9067-76dcc161ab8d
Commits

Reviewing files that changed from the base of the PR and between 3ff6bc4 and f7bb670.

Files selected for processing: 2

  • pkgs/mcpx/internal/e2e/coverage_cli_config_test.go
  • pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt
  • 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

repo-worker-tmp-code-b added 2 commits November 17, 2026 05:49
Resolve exemptions conflict: keep main's new cli cache burn-down line (#8461);
the six #8460 cli configuration lines stay removed (covered by this PR).
…letion exercise

Tighten TestCoverageCLICompletion from a 'contains mcpx' check to the
generated script's own function and registration lines, so the exercise
fails if completion stops emitting a real script rather than any output.
@dezren39
dezren39 merged commit 57b5195 into main Nov 17, 2026
1 check passed
@dezren39
dezren39 deleted the queue/20139-8460-mcpx-coverage branch November 17, 2026 11:54
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.

1 participant