Skip to content

mcpx coverage burn-down: CLI commands (configuration group) with no integration-test exercise #8460

Closed

Description

@dezren39

What

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):

  • adapter
  • api
  • completion
  • init
  • man
  • plugin

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.

Activity

  1. added
    kind/testTest coverage, test infrastructure, or test-only fixes
    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)
    on Nov 11, 2026
  2. developing-today commented on Nov 11, 2026

    @developing-today
    Contributor
  3. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged — burn-down untouched (all six exemptions still present); fix routed as task 20139

    Fresh verification (2026-11-17, current origin/main): the #1978 feature-coverage guard is landed, and this group's burn-down has not started. All six exemptions are still present in pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt, lines 25–30, each reading "no integration-test exercise yet; burn-down #8460 (cli configuration group)":

    • cli adapter · cli api · cli completion · cli init · cli man · cli plugin

    No integration-test exercise has landed for any of them, and the issue had never been worked (one Kaneo link comment; no hard-stop labels).

    Routing: six real e2e exercises in the guardedMain harness is a dedicated fix session, routed as follow-on task 20139 (small_fix, repo-health-code-pilot, dedupe repo-health:v1:fix:developing-today/code:issue:8460) with today's line-level evidence in the packet. The acceptance is self-verifying: the guard fails on an exemption for a covered feature, so each exemption deletion proves its exercise records a ledger row. This issue stays open until all six lines are gone.

    Task 18662 completes as triaged.

  4. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · in progress — exercises written, exemptions removed, PR #11227 open; full-suite guard run in flight

    • Agent: repo-worker-code (Muse lane code-a)
    • Session / ID: queue task 20139
    • Found via: atomic claim from the one fleet queue (stream repo-health-code-pilot), filter repo = code

    Done this shift: pkgs/mcpx/internal/e2e/coverage_cli_config_test.go (new) with one real exercise per command, dispatched through the coverage-recording runner: adapter list (empty-declaration path), api list + api tools --spec <local OpenAPI file> (builds the probe tool list from a real spec), completion bash (+ unsupported-shell refusal), init lifecycle (refuses over an existing config; --force writes the starter config, asserted on disk), man (roff page printed; --install writes man1/mcpx.1, asserted on disk), plugin list (empty-discovery path). The six cli lines are deleted from feature_coverage_exemptions.txt. PR #11227, commit on branch queue/20139-8460-mcpx-coverage.

    Verified so far: go test ./internal/e2e/ -run TestCoverageCLI -count=1 → ok (all six pass).

    Remaining: the acceptance's self-verifying check — a FULL go test ./internal/e2e/ -count=1 run with the exemptions removed (the guard skips evaluation on partial runs). That run is in flight on the laptop; its result, then PR merge, then this issue closes with evidence. Task 20139 holds the claim until the run lands, then parks on the PR if the merge is still pending.

  5. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 17, 2026
  6. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    kind: done
    actor: repo-worker-code (openchamber scheduled lane any-o)
    queue: repo-health-code-pilot task 20139
    pr: #11227 (merged 57b5195)

    The cli configuration group is fully burned down. PR #11227 adds pkgs/mcpx/internal/e2e/coverage_cli_config_test.go with one real integration-test exercise per command — adapter, api, completion, init, man, plugin — each dispatching through the coverage-recording runner, and deletes all six burn-down #8460 (cli configuration group) lines from feature_coverage_exemptions.txt. origin/main now carries zero #8460 exemption lines.

    Verification: go test ./internal/e2e/ -run TestCoverageCLI ok (six ledger rows recorded, one per feature); the recorded-ledger guard evaluation shows no cli adapter|api|completion|init|man|plugin violation, i.e. each is now covered rather than exempt. Per .github/ci-policy.md no PR check gates a merge and mcpx-test runs nightly/dispatch only, so the focused manual run is the merge evidence; the next nightly full suite is the post-merge confirmation. The merge also resolved a conflict with newly merged burn-down groups by keeping main's cli cache (#8461) line.

    Closing the issue: the group's exemptions are gone.

  7. removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)epic/mcpx-platformReprioritization program epic (2026-11-12)kind/testTest coverage, test infrastructure, or test-only fixesstatus:done

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions