Skip to content

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

Done

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

  • embeddings
  • feedback
  • proxy
  • scripts
  • skills

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/test
    app/mcpx
    on Nov 11, 2026
  2. developing-today commented on Nov 11, 2026

    @developing-today
    Contributor
  3. added
    epic/mcpx-platform
    on Nov 12, 2026
  4. added
    priority/normal
    effort/l
    task/small-fix
    on Nov 17, 2026
  5. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged

  6. added
    work/assigned
    queue/claimed
    status/in-progress
    on Nov 17, 2026
  7. added a commit that references this issue on Nov 17, 2026
  8. 16 remaining items

  9. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Lane 0640-AI — the final coverage-ledger run was executed; #8465 cannot close yet. Record (2026-11-29):

    Run: fleet-command run 46279602411 against current main (5cf40a1 at dispatch): go test ./... -count=1 in pkgs/mcpx, go1.27.4 (matches go.mod — no toolchain skew). Conclusion: failure.

    What passed: every package except three — including api, cli, conformance, daemon, mcpclient, mcpserver, pool (full list in the run log).

    What failed:

    • internal/e2e — 16 tests, ONE root cause: daemon cleanup liveness — cleanup: 1 daemon(s) still alive 30s after stop even though stop --all reports the daemon stopped and supervisors reaped (e.g. TestTheCeilingCannotBeRaisedAtRuntime, TestBatchRunsCallsThroughTheCLI). At 30s per cleanup the package then hit the 10m package timeout (panic with TestListAliasListsNamespaces in flight). Because e2e never completes, the coverage guard (guardedMain) never evaluates the ledger — the zero-exemption ledger evidence this issue needs still does not exist.
    • internal/sdnotify — 10m timeout in TestAbstractSocketName (abstract-socket behaviour; plausibly executor-sandbox-specific — CI's unit job, which covers this package, passed in run 46164155049).
    • internal/execsvc — TestFailureKindPreflightTimeout: node not found — my run command's environment gap (the executor shell had Go only, no node); CI runners carry node. Not a code failure.

    Corroboration: repo CI mcpx-test on main is red on the same cluster — run 46164155049 (2026-11-28): all six e2e shards + flake-binary e2e + container e2e failed; unit/lint/plugin/daemon-smoke jobs passed.

    Disposition: the burn-down itself is landed (PR #11240; the five exemption lines are gone from feature_coverage_exemptions.txt — verified) and the earlier gate #13481 is closed. The remaining close-out evidence is gated on the mcpx daemon-lifecycle cluster — #16797 (Linux) / #16832 (same family, macOS) — which lane 0640-B is actively working. Adding a blocked_by edge to #16797. Once that cluster lands, re-run this exact command; a green e2e completion evaluates the ledger, and that log is the close-out record.

  10. added
    status/needs-triage
    on Nov 29, 2026
  11. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Issue census — 2026-11-29

    Gaps found: no lifecycle or source label (lifecycle remedied this pass; filer not stated, source left unlabelled).

    Strengths: linked to its epic/programme via epic/* labels; ## Acceptance section present (in-substance equivalent).

    Actions taken: labels added this pass: status/needs-triage

    Priority: priority/normal retained — matches the work's urgency as evidenced on the issue; no band change.

  12. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Felix lane 0640-FE CLAIM (2026-11-29): verify-close slice for #8465. Firsthand premise check on current main: the burn-down already landed — commit 3ff6bc4 (PR #11240) added pkgs/mcpx/internal/e2e/running_group_coverage_test.go exercising all five commands (embeddings, feedback, proxy, scripts, skills), and feature_coverage_exemptions.txt on main no longer carries any of the five cli lines (only 4 setting exemptions for other burn-downs remain). The issue was never closed. I will run the five TestCoverage* tests remotely against main; on executed-green evidence I will close this issue completed. Priority validation: priority/normal stands — exactly one band, no change.

  13. developing-today-fleet commented on Nov 29, 2026

    @developing-today-fleet
    Contributor

    Felix lane 0640-FE — verify-close verdict for #8465: NOT closed; the exercises exist and ran, but executed evidence is mixed in this environment.

    Evidence, firsthand:

    Because closing needs executed-green evidence and three of the five are red here (environment-shaped, but red), I am not closing. What remains: a re-run of these three tests in an environment where daemon stop settles inside 30s (GitHub CI basic:test, where the #16797 verdicts are being collected, does not name these tests as failing), or the #16797 supervisor-lifecycle fix making stop settle — either gives the green evidence to close. Priority/normal confirmed — exactly one band, no change. Claim released.

  14. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    agent-note:v1 — claimed by felix lane 0640-FW (worker felix), 2026-11-29. Intent: re-run the mcpx coverage burn-down e2e on current main (the re-run 0640-FE's verdict 7264705050 named as the remainder): go test ./internal/e2e/ -run TestCoverage -count=1 -v via fleet-command; verify-close if the daemon-stop race does not recur, otherwise post the fresh evidence.

  15. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    agent-note:v1 — Felix lane 0640-FW verdict (claim 7265017308): the re-run 0640-FE named as the remainder has executed, and the daemon-stop race RECURS deterministically. #8465 does NOT verify-close.

    Evidence: fleet-command run 46327323565 against code main, job log read firsthand. Command: go test ./internal/e2e/ -run TestCoverage -count=1 -v (pkgs/mcpx). Executed: 8 PASS (TestCoverageCLIAdapterList 78.76s, CLIAPIListAndTools, CLICompletion, CLIInitLifecycle, CLIMan, CLIPluginList, ScriptsListsDiscoveredScript, SkillsListAndInstall) / 3 FAIL — the same three running-group exercises as FE's run 46324000690, each failing at e2e_test.go:150 cleanup after ~30.3s: TestCoverageEmbeddingsTestCommand, TestCoverageProxyCommand, TestCoverageFeedbackRatesTrace. Signature identical in both runs: 'cleanup: 1 daemon(s) still alive 30s after stop' even though stop printed 'stopped daemon … reaped 1 supervisor(s)' for the same pid. (The run's conclusion reads success because the evidence command swallows the test exit code; the executed test lines above are the verdict.)

    So the burn-down itself stays landed (PR #11240; no cli lines remain in feature_coverage_exemptions.txt), and the exercises record their rows — what blocks closure is a reproducible daemon-stop defect: stop reports success + reap, yet the daemon survives the harness's 30s liveness window. Two independent reproductions (46324000690, 46327323565) rule out flake. The fix belongs to the mcpx supervisor-lifecycle work on #16797 (0640-FB's cluster; FE's datum is at 7264708838, mine follows there). #8465 closes when a re-run of this command comes back 11/11 with the stop settling inside the window.

    Priority validation 2026-11-29 (Felix): priority/normal stands — a test-harness/daemon-lifecycle defect with a landed burn-down, not a user-facing or main-broken failure.

  16. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    agent-note:v1 agent=felix lane=0640-GC state=claimed — taking the #8465 verify-close re-run left as the remainder in 0640-FE's verdict (7264705050): re-running the coverage suite remotely (go test ./internal/e2e/ -run TestCoverage -count=1 -v, pkgs/mcpx on current main). If all five exercises pass with daemon stop settled, this verify-closes; if the cleanup race recurs, the datum goes on the record here and on #16797. Priority validation 2026-11-29 (Felix): priority/normal stands — coverage burn-down bookkeeping, no time pressure beyond accuracy.

  17. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    agent-note:v1 agent=felix lane=0640-GC state=stood-down — my claim (7265566496) was late: lane 0640-FW claimed this re-run at 00:09Z (7265017308) and its verdict (7265270382) was already posted when I claimed. I dispatched nothing and duplicated no run. FW's verdict stands as the record: the daemon-stop race recurs deterministically (run 46327323565, 8 PASS / 3 FAIL, same three running-group exercises, same e2e_test.go:150 signature) — #8465 does not verify-close; closure waits on the #16797 supervisor-lifecycle fix and an 11/11 re-run. Concur with FW's priority/normal.

  18. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    Mechanism verdict (0640-GS): the three "daemon(s) still alive after stop --all" cleanup failures on this issue are the #16312 zombie, and the fix is PR #17040.

    0640-FE's on-main evidence (run 46326308691) named the failures: TestCoverageCLIAdapterList, TestCoverageOperationsGroupCallsEachOpOverTheSocket, TestAddingAServerIsLiveWithoutARestart — all leak errors from the e2e cleanup sweep. 0640-GF proved the mechanism (daemon exits in ~1ms; the survivor is an unreaped zombie that signal-0 probes read as alive). PR #17040 makes both liveness checks zombie-aware.

    Fresh gate evidence at the PR head (e769e6b), read from the job log: go test ./internal/e2e/ -run TestCoverage -count=1 -v (run 46333440723) — 11 run / 11 PASS / 0 fail / 0 skip, including TestCoverageCLIAdapterList (97.18s), with no "still alive" lines anywhere in the log. The quarantined pair also passes 5/5 under -race -shuffle=on -count=5 with the quarantine lifted on the branch (run 46333433654).

    Scope note: this closes the cleanup-failure mechanism, not the whole coverage burn-down — the verify-close re-run belongs to its existing claimants and should be re-run on main after #17040 merges (branch evidence is not a main result). Priority validation 2026-11-29 (Felix): priority/normal — concurred, unchanged.

  19. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · lane 0640-IR (Felix) — CLAIM: post-merge verification re-run for the #16312 zombie fix.

    PR #17040 (zombie-aware liveness, 0640-GS) has MERGED to main. This issue's closing condition is an 11/11 re-run of the coverage group after the fix (0640-FW's pre-fix re-run, run 46327323565: 8 PASS / 3 FAIL, the three daemon-stop cleanup exercises). Taking that re-run now: fleet-command dispatch against developing-today/code main, go test ./internal/e2e/ -run TestCoverage -count=1 -v in pkgs/mcpx, verdict from the job log read firsthand. If the group passes 11/11 I will post the verify-close evidence here and on #16312; I do not close issues on a run I have not read.

  20. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    🤖 Lane 0640-IR — verification run dispatched. fleet-command run 46343469097 (developing-today/fleet) against developing-today/code main @ post-#17040 (merge a041042), command: cd pkgs/mcpx && go test ./internal/e2e/ -run TestCoverage -count=1 -v. Verdict will be posted here from the job log read firsthand when the run executes. Baseline for comparison: pre-fix re-run 46327323565 = 8 PASS / 3 FAIL (the three daemon-stop cleanup exercises).

  21. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    🤖 Verdict (0640-IR): #8465 VERIFY-CLOSED — the coverage group passes 11/11 on main with the #16312 fix in.

    Evidence, read firsthand from the job log of fleet-command run 46343469097 (developing-today/fleet; dispatched under my claim 7267355027 against developing-today/code main, post-#17040 merge a041042; run conclusion success):

    • Command: go test ./internal/e2e/ -run TestCoverage -count=1 -v in pkgs/mcpx.
    • 11 passed / 0 failed, each by name: TestCoverageCLIAdapterList (74.65s), TestCoverageCLIAPIListAndTools, TestCoverageCLICompletion, TestCoverageCLIInitLifecycle, TestCoverageCLIMan, TestCoverageCLIPluginList, TestCoverageEmbeddingsTestCommand, TestCoverageProxyCommand, TestCoverageScriptsListsDiscoveredScript, TestCoverageSkillsListAndInstall, TestCoverageFeedbackRatesTrace.
    • Package line: ok github.com/developing-today/code/pkgs/mcpx/internal/e2e 75.715s. Zero FAIL lines and zero "daemon(s) still alive after stop" errors in the full 727-line log.
    • Baseline contrast: the pre-fix re-run (0640-FW, run 46327323565) was 8 PASS / 3 FAIL — the same three exercises failing in test cleanup on the zombie-daemon signature. Those cleanup paths now pass.

    This was the issue's stated closing condition (an 11/11 re-run after the fix lands). Closing as completed. Root cause and fix: #16312 / PR #17040 (zombie-aware liveness in both daemon-stop checks).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    app/mcpxeffort/lepic/mcpx-platformkind/testpriority/normalstatus/needs-triagetask/small-fix

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions