Skip to content

mcpx coverage burn-down: settings (script family) with no effect probe #8474

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

  • script.before
  • script.checkOnError
  • script.checkOnUnsupported
  • script.imports
  • script.importsCrossProject
  • script.importsNetwork
  • script.importsOnDynamic
  • script.importsOnMissing
  • script.launcher
  • script.onError
  • script.onSuccess
  • script.permissions
  • script.profiles
  • script.runtime
  • script.runtimeOrder
  • script.runtimes
  • script.suffix

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 — task 18676 (lane code-a)

    • Work kind: task/small-fix · Priority: priority/normal (priorities brief line 5, by usefulness — one group of the mcpx testing: inventory every feature against its integration tests, and guard that each has one #1978 coverage burn-down) · Effort: effort/l (17 settings, each an EffectProbes entry + e2e test, plus harness fixtures) · Kind: kind/test (already present)
    • Fresh state (2026-11-17): issue mcpx coverage burn-down: settings (script family) with no effect probe #8474 OPEN, labels kind/test + app/mcpx + epic/mcpx-platform, no hard-stop labels, only comment is the Kaneo link — never triaged, never worked. Verified on origin/main 87ff4a1: all 17 exemption lines naming burn-down mcpx coverage burn-down: settings (script family) with no effect probe #8474 are still in pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt (lines 95–111, all script.*), each annotated "needs an EffectProbes entry + e2e test".
    • Why they are unprobed (from internal/settings/effect.go EffectExemptions): three fixture gaps — (a) 10 launcher-pipeline settings (before, launcher, onError, onSuccess, permissions, profiles, runtime, runtimeOrder, runtimes, suffix) need a runtime/profile/launcher fixture; (b) 5 imports settings need a Deno graph fixture in the e2e harness (currently covered only by internal/preflight tests); (c) checkOnError + checkOnUnsupported need an isolated checker fixture. The fix packet is scoped by these sub-groups and may land as several PRs under it.
    • First concrete step for the fix: build the launcher-stage fixture and add the EffectProbes entry for script.before with an e2e test that observes the effect (the before-hook actually running), then delete its exemption line — the guard's pass/fail on the full-suite run is the self-check. Probes must observe effects, not read settings back.
    • Acceptance check: all 17 settings probed + ledger rows recorded, all 17 exemption lines deleted, guard passes via guardedMain, and mcpx coverage burn-down: settings (script family) with no effect probe #8474 closes when its list is empty (its own acceptance).
    • Follow-on: task 20163 (small_fix, dedupe repo-health:v1:fix:developing-today/code:issue:8474; packet hidden_files/18676-fix-packet-8474.json). Issue stays OPEN.
  4. 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
  5. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Agent note — task 20163 parked for capacity with the budget requirement recorded (lane any-d, 2026-11-17)

    Fresh verification this shift: issue #8474 OPEN (effort/l, kind/test, app/mcpx, no hard-stop labels); all 17 script.* exemption lines still present on main in pkgs/mcpx/internal/e2e/feature_coverage_exemptions.txt (lines 95–111, verified by grep this shift). The work — three new e2e harness fixtures (launcher-pipeline, Deno graph, isolated checker), 17 effect-observing probes, ledger rows, and a full-suite guardedMain run — is an effort/l, multi-PR job (the packet itself splits it by sub-group) and does not fit this lane's remaining budget (~100 min, with Go builds queueing behind a load-~47 laptop). Parked for capacity with required_budget_minutes=240 recorded. Suggested split for the claiming shift: checker sub-group first (2 settings, smallest fixture), then imports (5), then launcher pipeline (10), each PR deleting only the lines its probes cover.

  6. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    and removed on Nov 17, 2026
  7. 1 remaining item

  8. removed their assignment
    on Nov 20, 2026
  9. added
    queue/claimedQueue worker lifecycle state
    and removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 23, 2026
  10. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Picked up by repo-worker-code on lane oc-code-02. Revalidated issue #8474 OPEN with no hold labels; all four remaining exemption entries are covered in this slice. Worktree: /home/user/git/fleet/queue-20163-8474-script-probes.

  11. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Opened focused PR #12735 for the final four #8474 script settings: script.checkOnError, script.importsCrossProject, script.importsOnMissing, and script.importsNetwork. The other 13 settings were handled in earlier merged work. Targeted probes plus internal/settings tests pass. Full go test ./... -count=1 exceeded its 8-minute cap after an unrelated Roc compiler test failure; details are in the PR. After merge, verify the full-suite coverage acceptance and close #8474 if it passes.

  12. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Picked up by repo-worker-code on lane code-g (openchamber scheduled lane). Task 21083: shepherd PR #12735 (final four #8474 script-setting probes) to a terminal disposition, then verify coverage on main and close #8474 if acceptance is met. Revalidated fresh: PR OPEN/MERGEABLE/CLEAN, issue OPEN, no hold labels.

  13. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    All 17 script-family exemptions are gone; verified on merged main 9bc1cab (merge of PR #12735, the final four-setting slice):

    • feature_coverage_exemptions.txt contains zero lines referencing mcpx coverage burn-down: settings (script family) with no effect probe #8474 (grep count 0).
    • EffectExemptions in internal/settings/effect.go no longer lists any of the four (script.checkOnError, script.importsCrossProject, script.importsOnMissing, script.importsNetwork); each has an EffectProbes entry + e2e test.
    • Guard + probes verified on main: TestFeatureCoverageGuardAgainstRecordedLedger, TestFeatureCoverageRequiredSetEnumeratesTheRegistries, all four new probe tests, and internal/settings tests pass.
    • Per the issue acceptance ("when the list is empty of exemptions, close this issue"), closing.
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)status:donetask/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