You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mcpx coverage burn-down: CLI commands (discovery group) with no integration-test exercise #8462
The feature-coverage guard for #1978 (task 14824) is landed: guardedMain in pkgs/mcpx/internal/e2e evaluates the runtime coverage ledger against api.Ops() / cli.Commands() + App.Handlers() / settings.Registry() after every full suite run, and every feature without a ledger row carries a reasoned exemption in pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt.
This issue is the burn-down for one feature group. These cli features currently have an exemption instead of a test (measured against a full-suite ledger recorded on main 2b3db37221, 2026-11-11):
batch
list
namespaces
Acceptance
Each feature above gets a real integration-test exercise (for settings: an EffectProbes entry in internal/settings plus its e2e test) that records a ledger row.
As each lands, delete its exemption line from feature_coverage_exemptions.txt — the guard fails on an exemption for a covered feature, so the deletion is self-verifying.
When the list is empty of exemptions, close this issue.
First concrete step for the fix: copy the e2e exercise pattern of a sibling CLI command that already has a ledger row, drive list against a test namespace setup, and delete its exemption line — the guard failing/passing on the full-suite run is the self-check.
Landed: PR test(mcpx): integration exercises for cli batch, list, namespaces (#8462) #11235 merged (merge commit 94f3caf): new pkgs/mcpx/internal/e2e/cli_burndown_test.go with TestBatchRunsCallsThroughTheCLI, TestListAliasListsNamespaces, TestNamespacesAliasListsNamespaces, and the three exemption lines (cli batch / list / namespaces) deleted from feature_coverage_exemptions.txt.
Verification: all three tests pass individually; in the full e2e suite run on the laptop (1859s) none of the three failed and no coverage-guard/feature test failed — the exemption deletions are guard-clean. The suite's 23 failures are in restart/disambiguation/session/settings families that also failed in a sibling lane's independent full run the same hour on this overloaded laptop, in code this diff cannot touch (one new test file + exemption deletions).
Reviews: Codex produced no findings (usage-limit failure, zero review comments).
Closing: the exemption list for this group is empty, per the issue's own closing rule.
Agent note — task 20142 parked mid-flight: exercises work, suite sweep leak to diagnose (lane any-n)
State: parked — the three exercises are written and proven to record their coverage rows; what remains is a suite-hygiene diagnosis plus the full-suite guard run, which did not fit this shift's remaining window.
Done and verified:
New file pkgs/mcpx/internal/e2e/coverage_discovery_test.go (branch queue/20142-8462-discovery-coverage, commit 83d63b5, pushed): TestCLIDiscoveryListExercise, TestCLIDiscoveryNamespacesExercise (each alias dispatched separately against the oneServer daemon), TestCLIDiscoveryBatchExercise (one real demo.echo call via batch -c).
Blocker: that targeted run's binary still exits FAIL — the mcpx testing: guard tests that close a whole bug class #1971 testsupport sweep found 6 surviving processes (3 mcpx daemons + 3 fakemcp, one pair per new env) after the suite. No cleanup: failure was logged (the harness's stop --all cleanup did not report an error). Control: a pre-existing sibling test (TestPluginSessionLifecycleOverTheSocket) run alone the same hour exits 0 — so the leak is specific to these envs or to sweep timing under the laptop's extreme load (load avg ~80 during the run); not yet diagnosed. First diagnostic step for the resuming lane: rerun the targeted set on a quieter machine state and check whether the sweep still fires; if it does, compare daemon shutdown after list/namespaces/batch vs ls (the sibling's command).
Activity
developing-today commentedon Nov 11, 2026
CODE-2523
dezren39 commentedon Nov 17, 2026
🤖 Agent note · triaged — task 18664 (lane code-e)
pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt(lines 37–39: cli batch, cli list, cli namespaces, each naming burn-down mcpx coverage burn-down: CLI commands (discovery group) with no integration-test exercise #8462).listagainst a test namespace setup, and delete its exemption line — the guard failing/passing on the full-suite run is the self-check.Merge pull request #11235 from developing-today/queue/20142-8462-mcpx…
dezren39 commentedon Nov 17, 2026
🤖 Agent note · done — burn-down landed
dezren39 commentedon Nov 17, 2026
Agent note — task 20142 parked mid-flight: exercises work, suite sweep leak to diagnose (lane any-n)
pkgs/mcpx/internal/e2e/coverage_discovery_test.go(branchqueue/20142-8462-discovery-coverage, commit 83d63b5, pushed):TestCLIDiscoveryListExercise,TestCLIDiscoveryNamespacesExercise(each alias dispatched separately against the oneServer daemon),TestCLIDiscoveryBatchExercise(one realdemo.echocall viabatch -c).go test ./internal/e2e/ -run TestCLIDiscoverywithMCPX_FEATURE_COVERAGE_LEDGERset): all three tests PASS and the ledger records exactlycli/batch,cli/list,cli/namespaces— the three mcpx coverage burn-down: CLI commands (discovery group) with no integration-test exercise #8462 features.cleanup:failure was logged (the harness'sstop --allcleanup did not report an error). Control: a pre-existing sibling test (TestPluginSessionLifecycleOverTheSocket) run alone the same hour exits 0 — so the leak is specific to these envs or to sweep timing under the laptop's extreme load (load avg ~80 during the run); not yet diagnosed. First diagnostic step for the resuming lane: rerun the targeted set on a quieter machine state and check whether the sweep still fires; if it does, compare daemon shutdown afterlist/namespaces/batchvsls(the sibling's command).feature_coverage_exemptions.txt(lines 37–39), run the FULL e2e suite so guardedMain verifies the deletions, then close mcpx coverage burn-down: CLI commands (discovery group) with no integration-test exercise #8462 per its acceptance.