Skip to content

mcpx coverage burn-down: settings (proto family) with no effect probe #8473

Open

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 setting features currently have an exemption instead of a test (measured against a full-suite ledger recorded on main 2b3db37221, 2026-11-11):

  • proto.askPoll
  • proto.askRounds
  • proto.askTTL
  • proto.askTimeout
  • proto.elicitationPerMinute
  • proto.mcpPath
  • proto.native
  • proto.samplingPerMinute
  • proto.samplingSessionPerMinute
  • proto.serveMCP
  • proto.sessionIdle
  • proto.stateTTL
  • protoMessages.listMaxAge
  • protoMessages.readMaxAge
  • protoMessages.taskAfter
  • protoTasks.cancelGrace
  • protoTasks.maxPerRequestor
  • protoTasks.maxTTL
  • protoTasks.perMinute
  • protoTasks.pollInterval
  • spec.first
  • spec.lenient
  • spec.precedence

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. added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    on Nov 17, 2026
  4. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triaged (inline triage — burn-down real and untouched; routed as a chained packet series starting at task 20153)

    • Agent: queue worker (repo-worker-code), lane any-c
    • Session / ID: task 18675
    • Found via: queue claim (bulk-intake triage packet, 2026-11-16)

    Triage verdict (fresh, 2026-11-17, via gh + tree read):

    Routing — chained packets: one live fix packet per issue under the standard dedupe key, so the 23 settings run as a chain in the issue's order. Setting 1 (proto.askPoll) is queued now as task 20153; its packet carries the remaining 22 and instructs each completing lane to enqueue the next setting's packet, with the last lane closing this issue. (Sibling burn-downs #8461 and #8468 were chained the same way this shift, starting at tasks 20143 and 20149.)

    Task 18675 completes as triaged naming follow-on task 20153. Issue #8473 stays open until the chain finishes.

  5. added a commit that references this issue on Nov 17, 2026
  6. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Chain setting 1 of 23 (proto.askPoll) merged in PR #11247 (merge commit b83c955): EffectProbe TestAskPollCeilingIsReachableFromTheEnvironment added, exemption line removed, pin 214→213. Next: setting 2 (proto.askRounds), queued as task 20750 under the same dedupe key. Note: the full e2e package has 6 pre-existing failures on clean origin/main, unrelated to this change.

  7. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    Chain setting 2 of 23 (proto.askRounds) is implemented in PR #11787: #11787

    • Added the two-round ask fixture and an end-to-end probe demonstrating the default completes both rounds while MCPX_PROTO_ASK_ROUNDS=1 returns the round-exhaustion error.
    • Removed the matching feature-coverage exemption and decremented the exemption pin 194→193.
    • Focused askRounds/effect/coverage and settings tests passed; independent review found no actionable issues.
    • Full go test ./internal/e2e -count=1 hit the 10-minute Go timeout stuck in TestDenoExitWorksOnEveryRuntime/bun; the askRounds probe was not reported as failing.

    The PR is pushed and task 20750 is checkpointed at pr_open. The proto.askTTL follow-on packet is not yet enqueued: the explicit confirmation to create its temporary packet file was canceled. I have not tried another write path. Please approve/retry that packet creation before the chain continues.

  8. added a commit that references this issue on Nov 18, 2026
  9. 22 remaining items

  10. added 9 commits that reference this issue on Nov 18, 2026
  11. removed their assignment
    on Nov 20, 2026
  12. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    Merged work, still open. Every pull request that references this issue has merged (#11247, #11835, #11837, #11838, #11839, #11840) and none is open, but the issue kept status:in-review. Tasks that name it as a blocker have been waiting on it.

    status:in-review is removed. Whoever takes this next: run the issue's done check against main. Close the issue if it passes; if not, list what is left here and carry on with it (AGENTS.md, "Finishing work").

    By: Claude, 2026-11-22 flow review.


    Generated by Claude Code

  13. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · claimed — final burn-down slice: protoTasks.cancelGrace (Lane OQ, archer)

    Premise check (fresh, 2026-11-23 ~02:55 CST): #8473 OPEN; on current main 3a941eff430e the exemptions file carries exactly one remaining #8473 line — protoTasks.cancelGrace; the other 22 settings in this issue's list have all landed. No live claim on this slice in the issue's comments (newest activity 2026-11-22). Scope: an EffectProbes entry in internal/settings plus its e2e test in the shape of the landed protoTasks siblings, and deletion of the exemption line; the guard is self-verifying. On landing, this issue's exemption list is empty, which is its stated close condition.

  14. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · FLAG HOLD — protoTasks.cancelGrace slice stopped at worktree creation (Lane OQ, archer)

    Immediately after the claim above, creating the laptop worktree ~/wt-lane-oq-8473 (branch lane-oq-8473, at exact main SHA 3a941eff430e) returned a result that failed a platform execution-risk check on the checkout's content. Per the standing rule for this flag class, I ran no git/build/test operations inside the worktree afterward and left it untouched at the base SHA. Nothing landed; no PR opened.

    Prepared scope, recorded and ready (on Drew's item-specific go-ahead for executing in ~/wt-lane-oq-8473):

    • New e2e probe in pkgs/mcpx/internal/e2e/effect_test.go in the shape of the landed protoTasks siblings (tasksClient + a slow task, tasks/cancel on the modern extension path, which uses the cooperative Store.Cancel): with MCPX_PROTO_TASKS_CANCEL_GRACE set short, the store records cancelled once the grace expires even though the work has not finished; with a long grace the task is still non-terminal in the same window. The store semantics are pinned by internal/tasks tests (CancelWithReason / expireCancellation in internal/tasks/tasks.go): work finishing within the grace keeps its own outcome, expiry records Cancelled. Exact timing margins to be settled by the first real run.
    • Register "protoTasks.cancelGrace" in settings.EffectProbes (internal/settings/effect.go), remove its EffectExemptions entry, and lower EffectExemptionPin 8 → 7 with the dated shrink note, in the same change.
    • Add the mirror entry and the effectProbeFuncs anchor in internal/e2e/effect_test.go.
    • Delete the protoTasks.cancelGrace line from pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt — that empties this issue's exemption list, which is its stated close condition.
    • Verify with the settings effect tests, the e2e effect tests, and the feature-coverage guard, dispatching the runs remotely per the fleet dispatch-first rule.
  15. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Takeover claim — Lane XU (archer), 2026-11-23. Adopting Lane OQ's orphaned claim on the final protoTasks.cancelGrace slice: OQ claimed at 2026-11-23T08:54:14Z and stopped on a platform execution-risk flag at 08:57:10Z (hold record c.7096038327, prepared scope recorded). There has been no PR and no further activity for well over an hour.

    Drew batch-approved all outstanding flag holds on 2026-11-23 ("Approve all the flag holds listed above"), which covers this item. Landing exactly per OQ's prepared scope in ~/wt-lane-oq-8473: the protoTasks.cancelGrace EffectProbes entry and e2e probe, removal of its EffectExemptions entry with the pin lowered 8 → 7, and deletion of the protoTasks.cancelGrace line from feature_coverage_exemptions.txt.

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/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)effort/lLarge: multi-day or open-ended; expect staged check-insepic/mcpx-platformReprioritization program epic (2026-11-12)kind/testTest coverage, test infrastructure, or test-only fixespriority/normalOrdinary priority (the default)task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions