GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — mcpx: internal/cli package test duration exceeds the 600s stress timeout on PR 2714 (stage 1 of #1980) · Issue #2859 · developing-today/code

mcpx: internal/cli package test duration exceeds the 600s stress timeout on PR 2714 (stage 1 of #1980) #2859

New issue
Copy link
New issue
Copy link
Closed
Closed
mcpx: internal/cli package test duration exceeds the 600s stress timeout on PR 2714 (stage 1 of #1980)#2859
Copy link
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)effort/mMedium: expected under 1 day of workepic/mcpx-platformReprioritization program epic (2026-11-12)kind/ciCI/CD pipelines, workflows, and build automationmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/queue-workerFiled or worked by the queue/worker pilottask/triageQueue packet kind: verify, reproduce, and route this item
Milestone
mcpx platform program

Description

@dezren39
dezren39
opened on Oct 30, 2026
Issue body actions

Problem

On PR #2714 (stage 1 of #1980, head 61a3d0f8), the stress check still fails on the
internal/cli package — even after the plumbing-source leak fix in that head
(scoped SetPlumbingSource per cli.Run invocation + regression test, A/B verified
on the laptop). The failure is aggregate package duration under the stress
configuration, not a single hanging test.

Evidence

  • CI run 41140869569, job 124354518386 ("stress: PR changed tests (race/shuffle/repeat)"):
    FAIL github.com/dezren39/mcpx/internal/cli 600.093s
  • panic: test timed out after 10m0s; the only test still running at the alarm was
    TestEverySettingFlagReachesTheResolvedValue (9s) — i.e. the preceding tests in the
    race/shuffle/repeat run consumed the budget, the package total hit the 600s cap.
  • All other PR feat(mcpx): cli.Run in-process entrypoint, slim main (#1980 stage 1) #2714 checks pass (basic: lint, plugin tests, nix build .#mcpx-docs,
    CI time budget). Only the stress leg is red, and it blocks the stage-1 merge.
  • Filed by queue worker lane A (task 3275) per the previous shift's recorded lead:
    "if cli still times out with the plumbing fix, file the cli-package duration issue".

Acceptance

  • Identify the top duration contributors in pkgs/mcpx/internal/cli under the stress
    invocation (race + shuffle + repeat) — per-test timings, not guesses.
  • internal/cli passes the stress check within the 600s package timeout on PR feat(mcpx): cli.Run in-process entrypoint, slim main (#1980 stage 1) #2714
    (or on the follow-up PR that carries the duration fix), without weakening or
    deleting tests to get there.
  • If the root cause is shared global state slowing tests under repetition (the
    plumbing leak was one instance), the fix names the mechanism, not just the symptom.

Refs: #1980, PR #2714, queue task 3275.

Acceptance criteria

  • The internal/cli package completes within the 600s stress timeout on the PR stress configuration (race/shuffle/repeat), or the package is split/throttled with the aggregate-duration budget documented.
  • The fix targets aggregate duration (the evidenced cause), not a single hanging test; before/after package timings are recorded on the PR.
  • No test is deleted or skipped to achieve the pass without an equivalent replacement.

Activity

Next
  1. dezren39
    added
    status/needs-triageNot yet triaged; needs a first look
    app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)
    on Oct 30, 2026
  2. github-actions
    assigned
    dezren39
    on Oct 30, 2026
  3. dezren39
    added
    kind/ciCI/CD pipelines, workflows, and build automation
    priority/highImportant and time-sensitive
    effort/mMedium: expected under 1 day of work
    source/queue-workerFiled or worked by the queue/worker pilot
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 31, 2026
  4. dezren39 commented on Oct 31, 2026

    @dezren39
    dezren39
    on Oct 31, 2026
    MemberAuthor
    More actions

    Intake review

    Related: PR #2714 (stage 1 of #1980); CI run 41140869569. Note the fleet context: task 3823/#2573 records the same stress leg red on main from #2859 — this issue is currently the named blocker for other merges' stress signal. Risks: sharding the package changes CI topology; measure first. Suggested approach: profile per-test durations in internal/cli under the stress config, split or budget the slowest group, verify with a full stress run.

    — Fleet monitor intake enrichment (protocol §5): verified still live this run (no merged PR resolves it), labels normalized, acceptance criteria appended. Marked meta/enriched.

  5. dezren39
    added a commit that references this issue on Nov 3, 2026

    mcpx(cli): batch the flag-reach probe to one invocation per command (#…

    d775939
  6. dezren39 commented on Nov 3, 2026

    @dezren39
    dezren39
    on Nov 3, 2026
    MemberAuthor
    More actions

    Mechanism found and fixed on PR #2714 (d775939, task 3275): the reach test's per-pair handler invocations each rebuilt the settings schema twice — O(commands x flags) builds, 14.45s of one no-race package run. Batched to ~3 invocations per command with per-flag fallback for refusals/collisions; 0.62s now, assertions unchanged. Stress leg re-running on the PR; closing this as fixed once it goes green, or follow up there if anything else dominates.

  7. dezren39
    added
    queue/queuedHas a queued queue task
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  8. developing-today commented on Nov 3, 2026

    @developing-today
    developing-todayBot
    on Nov 3, 2026 – with developing.today
    Contributor
    More actions

    agent-note:v1
    state: reviewed (coverage loop-back)
    Coverage pass 2026-11-03, loop-back review: this issue was re-reviewed (drift / overlap / already-handled / stale / blockers / ordering) so every open issue in the four repos is reviewed and in the system. Verdict: still live; in the system as task 7366 (triage, queued, priority 50) in repo-health-code-pilot. Labels audited and synced. If it is already handled at current main, its triage closes it with evidence; if oversized, the triage files the split; blockers belong on this issue.
    Found via: coverage loop-back 2026-11-03

  9. dezren39
    removed
    status/needs-triageNot yet triaged; needs a first look
    on Nov 4, 2026
  10. 20 remaining items

  11. dezren39
    removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 8, 2026
  12. dezren39 commented on Nov 8, 2026

    @dezren39
    dezren39
    on Nov 8, 2026
    MemberAuthor
    More actions

    Partial verification — staying open (2026-11-07 done-task-only audit, tracking: #7016).

    Queue task(s) [7366] were marked done, and some work did land:

    • Direct commits referencing this issue: d775939

    No merged change closes this issue's full scope, so the done status is not treated as completion. Remainder re-queued as triage task 11662.

  13. dezren39
    added a commit that references this issue on Nov 11, 2026

    mcpx(cli): batch the flag-reach probe to one invocation per command (#…

    f9877ba
  14. dezren39
    added
    epic/mcpx-platformReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  15. dezren39
    added this to the mcpx platform program milestone on Nov 12, 2026
  16. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: triaged (queue task 18242, openchamber scheduled lane code-f)
    Fresh check 2026-11-17: issue open. PR #2714 (the one it blocked) merged 2026-11-11 as 3c42146. No open PR targets the mcpx internal/cli stress timeout. The stress-leg duration on main is not re-measured in this pass; the current main CI runs are still in progress.
    Verdict: the merge blocker it names is resolved. The issue remains open to track the stress duration of internal/cli on main, and a follow-up fix task should be filed only if a main stress run exceeds 600s. No packet is enqueued in this pass.
    Found via: queue triage task 18242

  17. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (triaged)

    • Agent: queue worker (repo-worker-code), Muse lane any-i
    • Session / ID: task 19786 (broker follow-on of triage task 18242)
    • Found via: queue claim
    • Task: Follow-on packet for issue mcpx: internal/cli package test duration exceeds the 600s stress timeout on PR 2714 (stage 1 of #1980) #2859 (mcpx internal/cli test duration vs the 600s stress timeout on PR feat(mcpx): cli.Run in-process entrypoint, slim main (#1980 stage 1) #2714) — completes as triaged: no actionable remainder.
    • Fresh verification (2026-11-17, this lane): issue mcpx: internal/cli package test duration exceeds the 600s stress timeout on PR 2714 (stage 1 of #1980) #2859 OPEN with status/triaged, no held / user/owned / do-not-merge / do-not-auto-edit labels. The merge blocker the issue names is resolved — PR feat(mcpx): cli.Run in-process entrypoint, slim main (#1980 stage 1) #2714 independently verified MERGED this pass (2026-11-11T09:22:29Z, merge commit 3c42146), matching triage task 18242's record (note 6936367030) and this task's earlier verified pass (clean-env stress on the PR head passed at 298.403s < 600s). The issue stays open as the standing watch on internal/cli stress duration on main; per the triage of record, a fix packet is filed only if a future main stress run exceeds 600s. No packet is created from this follow-on.
  18. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    agent-note:v1
    state: triaged (queue task 19786, openchamber scheduled lane code-i)
    Fresh check 2026-11-17: issue open. PR #2714 (the one it blocked) merged 2026-11-11 as 3c42146. No open PR targets the mcpx internal/cli stress timeout. The stress-leg duration on main is not re-measured in this pass; the current main CI runs are still in progress.
    Verdict: the merge blocker it names is resolved. The issue remains open to track the stress duration of internal/cli on main, and a follow-up fix task should be filed only if a main stress run exceeds 600s. No packet is enqueued in this pass.
    Found via: queue triage task 19786

  19. dezren39
    removed
    status/triagedTriaged and routed (see agent note)
    on Nov 17, 2026
  20. dezren39
    removed their assignment
    on Nov 20, 2026
  21. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Resolved by the existing aggregate-duration fix in PR #2714 (merged as 3c42146). The measured cause was TestEverySettingFlagReachesTheResolvedValue rebuilding the settings schema per (command, flag) pair; batching reduced that test from 14.45s to 0.62s and retained the assertions/fallback cases (PR #2714 discussion and issue comment #2859 (comment)). Fresh verification on current main: Fleet run https://github.com/dezren39/fleet/actions/runs/45119183866 ran cd pkgs/mcpx && env -u MCPX_CONFIG go test ./internal/cli -race -shuffle=20261107 -count=10 and passed: ok github.com/developing-today/code/pkgs/mcpx/internal/cli 266.061s, below the 600s package timeout. No tests were deleted or skipped to achieve this pass. The latest nightly full-suite run also reported internal/cli at 198.363s with -count=3; its overall failure was in other packages. The duration watch no longer has an open acceptance gap.

  22. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Closed as implemented. Acceptance met: current-main internal/cli race/shuffle/count=10 run passed in 266.061s, under the 600s timeout; aggregate-duration fix and retained tests are documented in the latest comment.

  23. dezren39
    closed this as completedon Nov 23, 2026
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/mMedium: expected under 1 day of workepic/mcpx-platformReprioritization program epic (2026-11-12)kind/ciCI/CD pipelines, workflows, and build automationmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivesource/queue-workerFiled or worked by the queue/worker pilottask/triageQueue packet kind: verify, reproduce, and route this item

    Type

    No type

    Projects

    No projects

      Milestone

      • mcpx platform programNo due date

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.