Repository navigation
test(mcpx): e2e exercises for cli adapter/api/completion/init/man/plugin (#8460) - #11227
Conversation
…gin; drop their coverage exemptions (#8460, queue task 20139)
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYou'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. View limit details
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. |
…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.
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 fromfeature_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 listwith nothing declared prints the declaration guidance.api listwith nothing declared, plusapi tools --spec <local OpenAPI file> --name probebuilding the tool list from a real spec (asserts the derived operation tool and the operation count).completion bashemits the real script; an unsupported shell is refused.initrefuses over an existing config,init --forcewrites the starter config (asserted on disk).man --installwritesman1/mcpx.1(asserted on disk).plugin listwith nothing discoverable prints the discovery guidance.Verification
go test ./internal/e2e/ -run TestCoverageCLI -count=1→ ok.go test ./internal/e2e/run is the remaining check and is recorded on mcpx coverage burn-down: CLI commands (configuration group) with no integration-test exercise #8460 by the worker.Queue task 20139 (lane code-a). No closing keyword for #8460 in this body — the worker closes the issue with evidence after merge.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.