Repository navigation
test(mcpx): e2e exercises for inspection-group CLI commands - #11266
Conversation
dashboard, hook, interactions and the logs alias each get a real integration exercise through the e2e harness (cli_inspection_burndown_test.go); explore gets one in cli_inspection_explore_linux_test.go, driven under a pty since it requires a terminal. A successful harness run is what records each feature's coverage-ledger row, so all five lines leave feature_coverage_exemptions.txt.
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 54 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. |
Closes #8463 — mcpx coverage burn-down for the inspection-group CLI commands:
dashboard,explore,hook,interactions,logs.What lands
cli_inspection_burndown_test.go— one real exercise per command through the e2e harness against a live daemon (a successful harness run is what records the feature's coverage-ledger row):mcpx dashboard running at …/dashboard).hook lson an env with no hooks setting (empty state) and on an env whose config declares a hook (the declared row renders).--qsearch, and--show.logsalias spelling (logs sql …,logs --chain …) — the canonicallogspelling is already covered bylogs_test.go; the alias key was the uncovered registry feature.cli_inspection_explore_linux_test.go— explore refuses to run without a terminal on stdin, and the harness runners only offer a pipe, so this file gives the env a runner whose stdin is a real pty (allocated via/dev/ptmx; Linux-only) withqqueued as the first input. It opens on the namespace list and quits cleanly.feature_coverage_exemptions.txt.Verification
go test ./internal/e2e/ -run 'TestDashboardPrintsItsLiveURL|TestHookLsListsDeclaredHooks|TestInteractionsListsSearchesAndShowsAProxyTurn|TestLogsAliasQueriesTheLog|TestExploreBrowsesUnderATerminal'.MCPX_FEATURE_COVERAGE_LEDGERpointed at a scratch file, the run's ledger containsclirows fordashboard,explore,hook,interactions, andlogs.TestFeatureCoverageExemptionsAreWellFormedagainst the trimmed exemptions file.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.