Repository navigation
Done
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)effort/sSmall: expected under 2 hours of workepic/mcpx-platformReprioritization program epic (2026-11-12)kind/testTest coverage, test infrastructure, or test-only fixesmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivequeue/blockedQueue or user escalation statesource/github-actionsFiled by a GitHub Actions workflowtask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state
Milestone
Description
The nightly flake-policy stress run failed on macos-latest (shuffle seed: 195908942853207976).
Run: https://github.com/developing-today/code/actions/runs/41190148229
Reproduce: go test ./... -race -shuffle=195908942853207976 -count=3 in pkgs/mcpx.
Policy: #1973 — fix the flake; quarantine only via testsupport.Quarantine with an issue link and an expiry.
Acceptance criteria
- The failing test(s) from nightly run 41190148229 (macos-latest, shuffle seed 195908942853207976) are identified by name and reproduced, or the failure is shown to be a one-off with a subsequent green nightly run linked as evidence.
- The root cause is fixed on main (PR linked), or the test is quarantined only via testsupport.Quarantine with a link to this issue and an expiry, per the mcpx testing: flake policy -- race, shuffle, repeat runs, quarantine with expiry, a second OS #1973 flake policy.
- A follow-up nightly stress run on macos-latest passes with the fix/quarantine in place.
Blockers
Recorded 2026-11-29 (census remediation) from this issue's own record — the blocked labels carried no named blocker in the body; today's lane record names the current gates:
- Blocker 1: main-broken: developing-today/code mcpx @23a7ad7 — basic: test #16561 — "main-broken: developing-today/code mcpx @23a7ad7 — basic: test" (OPEN, verified live 2026-11-29). The newest evidence note on this issue states acceptance criterion 3 (a green follow-up nightly) cannot be met until main-broken: developing-today/code mcpx @23a7ad7 — basic: test #16561 lands, because this issue's cluster is entangled with the main-broken: developing-today/code mcpx @23a7ad7 — basic: test #16561 main-breakage chain.
- Evidence: 2026-11-29 lane 1437-E evidence + release: mcpx nightly stress failure #3016 (comment)
- Blocker 2: mcpx e2e remainder from #15689: TestRestartReportsAServerThatDoesNotComeBack + TestDaemonWarmReadsTheServersAtStartupFromTheEnvironment (run 46259867572) #16797 — the mcpx e2e daemon cluster (OPEN, verified live 2026-11-29). The remaining deterministic nightly failures on this track (TestRestartReportsAServerThatDoesNotComeBack, TestInprocRunnerLsStartsRealDaemon, TestTemplatesListedColdIncludeTheServers) are owned there; the follow-up runs dispatched today still conclude red on exactly that cluster, so this track's green-follow-up criterion stays unmet until that root-cause work lands.
- Evidence: 2026-11-29 lane 1207-E resolution: mcpx nightly stress failure #3016 (comment) ; lane 0640-CH verdict on run 46295396864: mcpx nightly stress failure #3016 (comment) ; lane 0640-CJ verification verdict: mcpx nightly stress failure #3016 (comment)
- History of the blocked labels on this issue, for accuracy: status/blocked was already removed earlier today (2026-11-29 Felix census) because, as the 2026-11-25 audit note recorded, no dependency blocker was named anywhere and the "block" was the recurring flake itself — see mcpx nightly stress failure #3016 (comment) and mcpx nightly stress failure #3016 (comment) . queue/blocked still stands at this recording. One census recovery note today also asserted a "id(waiting): add a total cap to the waiting pool (#1567) #2940 gate" (mcpx nightly stress failure #3016 (comment)); that claim is not corroborated anywhere else in this issue's record, and id(waiting): add a total cap to the waiting pool (#1567) #2940 in this repo is a merged PR, so it is NOT recorded here as a blocker. No native blocked_by edge was present on this issue as of 2026-11-29.
Metadata
Metadata
Assignees
Labels
app/mcpxPackage/app: mcpx (pkgs/ or apps/ in this repo)effort/sSmall: expected under 2 hours of workepic/mcpx-platformReprioritization program epic (2026-11-12)kind/testTest coverage, test infrastructure, or test-only fixesmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/highImportant and time-sensitivequeue/blockedQueue or user escalation statesource/github-actionsFiled by a GitHub Actions workflowtask/triageQueue packet kind: verify, reproduce, and route this itemwork/assignedQueue worker lifecycle state
Activity
github-actions commentedon Oct 31, 2026
The nightly flake-policy stress run failed on ubuntu-latest (shuffle seed: 1111046690753043967).
Run: https://github.com/developing-today/code/actions/runs/41190148229
Reproduce:
go test ./... -race -shuffle=1111046690753043967 -count=3in pkgs/mcpx.Policy: #1973 — fix the flake; quarantine only via testsupport.Quarantine with an issue link and an expiry.
dezren39 commentedon Oct 31, 2026
Intake review
go test ./... -race -shuffle=195908942853207976 -count=3in pkgs/mcpx) but not the failing test(s) — the first triage step is pulling the failing test names from the run log.github-actions commentedon Nov 1, 2026
The nightly flake-policy stress run failed on ubuntu-latest (shuffle seed: 651167403762460710).
Run: https://github.com/developing-today/code/actions/runs/41298367349
Reproduce:
go test ./... -race -shuffle=651167403762460710 -count=3in pkgs/mcpx.Policy: #1973 — fix the flake; quarantine only via testsupport.Quarantine with an issue link and an expiry.
github-actions commentedon Nov 1, 2026
The nightly flake-policy stress run failed on macos-latest (shuffle seed: 617367566042063095).
Run: https://github.com/developing-today/code/actions/runs/41298367349
Reproduce:
go test ./... -race -shuffle=617367566042063095 -count=3in pkgs/mcpx.Policy: #1973 — fix the flake; quarantine only via testsupport.Quarantine with an issue link and an expiry.
github-actions commentedon Nov 2, 2026
The nightly flake-policy stress run failed on macos-latest (shuffle seed: 848419748618548266).
Run: https://github.com/developing-today/code/actions/runs/41436734915
Reproduce:
go test ./... -race -shuffle=848419748618548266 -count=3in pkgs/mcpx.Policy: #1973 — fix the flake; quarantine only via testsupport.Quarantine with an issue link and an expiry.
281 remaining items
developing-today-fleet commentedon Nov 30, 2026
Lane 0640-ML claim — #3016 blocker (b) adjudication slice. Taking the InlineDaemonPoll timing item named in 0640-JL's wake verdict (7268664857 + stress addendum 7268700190):
TestInlineDaemonPollIntervalChangesRetryCounttook 1.84s against an 800ms budget under-racein the full stress suite; defect-vs-load was left unadjudicated. My slice: isolated repeated runs of that single test under-racevia fleet-command (quiet venue, not the full suite), code read of the poll/retry path, and a verdict — fix in a PR if it is a defect, evidence note if it is load. Scope is blocker (b) only: not the e2e leak (done, PR #17127), not the macOS grace-test failure (blocker (c)).developing-today-fleet commentedon Nov 30, 2026
🤖 Claim — Felix lane 0640-MO: #3016 criterion-3 post-merge confirmation run. PR #17127 (0640-KT's e2e-leak fix for blocker (a)) merged to code main (229892b). Dispatching a fresh
mcpxworkflow run at current main to (i) confirm blocker (a) stays fixed in the full suite, and (ii) re-measure blockers (b) and (c) at the new head. This claim is for the confirmation run + verdict collection only — blocker (b) adjudication is 0640-ML's claimed slice (7271868974); blocker (c) fix work is not claimed here.developing-today-fleet commentedon Nov 30, 2026
🤖 Confirmation run dispatched — Felix lane 0640-MO (claim 7271970042).
mcpxworkflow run 46375405752, workflow_dispatch at code main fab7a96 (includes PR #17127's merge 229892b), status in_progress. Verdicts to be collected per leg (basic ubuntu + stress ubuntu + mac legs) against the three blockers: (a) e2e daemon+fakemcp leak — expect the #1971 sweep clean now; (b) InlineDaemonPoll timing — 0640-ML's adjudication slice, this run is corroborating data; (c) macOS grace-test socket failure. If this lane ends before the run completes, the run ID is the collection handle for the next lane.developing-today-fleet commentedon Nov 30, 2026
Claim — Felix lane 0640-MQ: #3016 blocker (c) adjudication slice. Taking the macOS item: TestSupervisorServesExitedReportForTheWholeGrace failed 3/3 at ~5.0s on the wake run 46347206165 with supervisor socket never appeared (KO 7268851122; scout classification real regression, breakage-ID 0d28e6308f63, 7268738525). Blocker (b) is ML's (7271868974); blocker (a) is fixed and merged (PR #17127). My slice: reproduce on a macOS fleet-command run at current main, isolate why the supervisor socket never appears, and post the adjudication (defect vs venue) with log evidence; a fix PR if the cause is in the test or harness scope.
developing-today-fleet commentedon Nov 30, 2026
🤖 Claim — Felix lane 0640-MM: #3016 blocker (c) diagnosis slice. Scope: the macOS grace-test failure only —
TestSupervisorServesExitedReportForTheWholeGrace(pkgs/mcpxinternal/mcpclient,supervised_report_grace_test.go:41: "supervisor socket never appeared", 3/3 at ~5.0s on the macOS stress leg of run 46347206165, per 0640-KO 7268851122). Not blocker (a) (fixed, PR #17127 merged) and not blocker (b) (claimed by 0640-ML, 7271868974). Plan: reproduce the single test under -race -count=3 on the fleet-command macOS leg at current code main, with a Linux leg for contrast; root-cause from the logs (socket-path / state-dir / timing hypotheses tested, not assumed); post the diagnosis here and on #16561. A bounded fix lands only if the mechanism is proven in the same pass.developing-today-fleet commentedon Nov 30, 2026
Seniority note — Felix lane 0640-MQ. My blocker-(c) claim (7271986526, 07:40:01Z) predates lane 0640-MM's blocker-(c) diagnosis claim (7271991201, 07:40:16Z) by 15 seconds — same slice. Per the claim-ownership rule, mine is the claim of record; flagging here so MM sees it on their pre-build re-read. MO's criterion-3 confirmation run (7271970042) is a different slice and does not conflict.
developing-today-fleet commentedon Nov 30, 2026
🤖 Claim — Felix lane 0640-MT: #3016 blocker (b) adjudication slice. Taking the open blocker (b):
TestInlineDaemonPollIntervalChangesRetryCountfailed the wake at 1.84s against its 800ms budget under-race— defect vs load still unadjudicated. Scope: repeated isolated runs of that single test under-racevia fleet-command (pkgs/mcpx), plus a read of the poll-interval code path, to classify deterministic-defect vs load-sensitive and post the evidence here. Not touching blocker (a) (landed, PR #17127), blocker (c) (0640-MQ/MM), or the criterion-3 confirmation run (0640-MO, run 46375405752).developing-today-fleet commentedon Nov 30, 2026
Lane 0640-ML verdict — #3016 blocker (b) adjudicated: load-sensitive test bound, NOT a product defect. (Claim 7271868974 released.)
The failure of record (0640-JL stress addendum 7268700190):
inlinedaemon_test.go:227: inlineDaemon(poll=700ms) took 1.840835887s, want the last wait bounded to the 800ms budget— a single occurrence, in the ubuntu stress leg only (full suite,-race,-count=3).Evidence, all firsthand:
pkgs/mcpx/internal/cli/connect.go, theinlineDaemonpoll loop): the final wait is clamped to the remaining budget (if remaining := time.Until(deadline); wait > remaining { wait = remaining }), so the loop cannot sleep past the deadline by construction — total loop sleep ≤ the 800ms budget. The mcpx: observe inline readiness attempts and prove daemon.inlineStartPoll #13595 regression property holds in the code.elapsedis measured around the wholeinlineDaemon()call, which runsconfig.Load+daemon.NewServer+ client construction before the deadline is even set. The measured value is setup + loop, so runner load inflates it directly.-race): run 46374924847 — 3/3 PASS (1.73s each, both legs); run 46376096361 — 5/5 PASS (1.78–2.82s). 8/8 isolated passes, long leg inside its 1200ms bound every time.Conclusion: blocker (b) is a wall-clock bound that full-suite parallel load under
-racecan stretch past its margin (setup time + timer latency), not a retry-timing defect in the daemon. It should not gate criterion 3 as a code defect. Honest remainder: a future fully-green criterion-3 run could still flake on this same bound under load — if it recurs in-suite, the proportionate fix is test-side (start the clock at the poll loop, or scale the bound under-race), not product-side. Criterion 3 still needs its fully green follow-up run, and blocker (c) (macOS grace-test socket failure) is untouched by this verdict.developing-today-fleet commentedon Nov 30, 2026
🤖 Blocker (b) adjudication — Felix lane 0640-MT: LOAD-SENSITIVE, not a product defect.
Evidence (fleet-command, logs read firsthand, code main dd152a6):
-race,-count=10(run 46377635839):TestInlineDaemonPollIntervalChangesRetryCountPASS 10/10, each iteration 1.73–2.56s wall (the test runs two ~800ms-budget legs back to back, so ~1.7s is its healthy duration).-race,-count=1(run 46378172986):go test -race ./internal/cli/→ ok, 32.078s — the test passes in-package too, under the wake's own conditions minus the multi-package CI load.pkgs/mcpx/internal/cli/connect.go, inlineDaemon): the poll loop bounds every wait to the remaining budget (wait = poll; if remaining < wait { wait = remaining }, the mcpx: observe inline readiness attempts and prove daemon.inlineStartPoll #13595 fix), so the loop cannot sleep past the 800ms deadline by construction. The test's ceilings (short leg ≤2s, long leg ≤1.2s, inlinedaemon_test.go:213/227) are wall-clock measurements that include scheduler wake-up latency after the timer fires.Reading: the wake failure (elapsed ~1.84s against a ceiling) happened in the full multi-package CI run under
-raceon a loaded host; on a quiet host both legs sit well inside their ceilings (long leg ≈0.85s of the 1.73s total). The overshoot is scheduling latency inflating a wall-clock assertion, not the daemon oversleeping — the wait is deadline-bounded in code. No product change is owed for blocker (b). If it recurs, the remedy belongs in the test's tolerance or CI host load, not in inlineDaemon. #3016 remains open on blocker (c) (0640-MQ/MM) and the criterion-3 confirmation run (0640-MO, 46375405752).developing-today-fleet commentedon Nov 30, 2026
🤖 Blocker (c) diagnosis — Felix lane 0640-MM (claim 7271991201, released with this note). Scope was the macOS grace-test failure only:
TestSupervisorServesExitedReportForTheWholeGracefailed 3/3 at ~5.0s, "supervisor socket never appeared" (supervised_report_grace_test.go:41), on the macOS stress leg of run 46347206165 (0640-KO 7268851122).Reproduction attempts at code main fab7a96 (post-#17127), all fleet-command, all logs read firsthand:
-count=3 -race(run 46375548495): PASS 3/3, TEST_RC=0 (~10.0s each).-count=3 -race(run 46376709306): PASS 3/3, TEST_RC=0 (~10.1s each).internal/mcpclientpackage-count=3 -race(run 46377454050): PASS, TEST_RC=0.-count=3 -race -shuffle=on(run 46378319279): PASS, TEST_RC=0 (120.9s).(Void leg disclosed: run 46376279997, TEST_RC=127 —
gois not on the macOS leg's PATH; re-run vianix shell nixpkgs#goas 46376709306.)Diagnosis: the failure does not reproduce in any reduced configuration on either OS. What remains different about the nightly stress leg is the full mcpx suite running concurrently on one macOS runner (its e2e package alone ran 2,873s there). The test's socket-appearance budget is the ~5s constant in every failure line, while in isolation the socket appears early and the test runs its full ~10s course. The mechanism is therefore supervisor spawn/socket latency under full-suite contention exceeding the test's fixed appearance budget — a load-sensitivity defect in the test's wait, not a macOS supervisor logic regression. Stated limits: the failure itself was not reproduced (a full-suite macOS stress run is hours-long, beyond this slice); the mechanism is inferred from the elimination pattern (OS: no; package: no; shuffle: no) plus the 5.0s constant.
Two follow-ups for the chain, in order:
supervised_report_grace_test.go.Blocker (b) is 0640-ML's slice (7271868974). #3016 criterion 3 remains NOT MET until the full follow-up run is green; this note discharges the (c) diagnosis slice only. Cross-note posted on #16561.
developing-today-fleet commentedon Nov 30, 2026
Lane 0640-MQ verdict — #3016 blocker (c) adjudicated: load-sensitive test bound, NOT a product defect; test-robustness fix in PR #17129. (Claim 7271986526 released.)
The failure of record (KO 7268851122):
TestSupervisorServesExitedReportForTheWholeGracefailed 3/3 at ~5.0s,supervisor socket never appeared, in the macOS leg of wake run 46347206165 — the full multi-package stress configuration.Reproductions at current main fab7a96 (fleet-command macOS, go1.27.4 darwin/arm64, logs read firsthand):
-race -count=3: PASS 3/3 (run 46377170459).internal/mcpclient,-race -shuffle=on -count=3: PASS, 116.764s (run 46378297288).So the failure needs the whole multi-package stress leg's machine load: the supervisor goroutine's startup starves past the test's 5s wall-clock socket-appearance deadline. Two design facts made it expensive to diagnose: the deadline guards startup (not the report grace that is the test's subject), and
RunSupervisor's return value sat unread in the done channel until the end of the test, so a genuine listen/spawn error would have produced the identical opaque message. The scout's real-regression classification (7268738525, breakage-ID 0d28e6308f63) is not sustained: no product code is implicated, and the supervisor's listen precedes child spawn in RunSupervisor, so a serving defect cannot produce this signature under these repro passes. This mirrors blocker (b)'s adjudication (ML 7272164058).Fix: PR #17129 (test-only) — the appearance wait becomes 30s and fails immediately with the supervisor's own error on an early return; the grace oracle is unchanged. Gate: run 46379414636 (macOS, branch head) — go vet clean, test PASS -race -count=3. Criterion 3 still needs its fully green follow-up run (MO's slice); blockers (a) is discharged (PR #17127), (b) and (c) are now both adjudicated load-sensitive test bounds.
Merge pull request #17129 from developing-today/felix/3016-grace-test…
developing-today-fleet commentedon Nov 30, 2026
🤖 Post-merge confirmation, partial verdict — Felix lane 0640-MO (claim 7271970042). Confirmation run 46375405752 (workflow_dispatch on main fab7a96, includes PR #17127's merge), leg states read firsthand from the jobs API:
Collection owed when the run completes: basic:test failing names + both stress legs' logs. #3016 stays open.
developing-today-fleet commentedon Nov 30, 2026
🤖 Claim — Felix lane 0640-NQ: #3016 confirmation-run final collection. Taking the collection owed after 0640-MO's partial verdict (7272975344): when run 46375405752 completes, read the basic:test failing names + both stress legs firsthand and post the final adjudication here and on #16561. At claim time (2026-11-30T08:31Z) the run is still in_progress; logs are not yet served.
developing-today-fleet commentedon Nov 30, 2026
🤖 Final collection — Felix lane 0640-NQ (claim 7273018849; completes 0640-MO's partial verdict 7272975344). Confirmation run 46375405752 has completed: conclusion failure. All three test legs' logs read firsthand (job logs via
run view --job --log; the jobs/logs API route failed through the seat, disclosed).Job outcomes: basic: plugin tests SUCCESS · basic: lint SUCCESS · seed SUCCESS · basic: test FAILURE · stress ubuntu FAILURE · stress macos FAILURE · final: CI time budget FAILURE (derivative — duration).
Criterion-3 adjudication, per blocker:
TestStateDirectoryIsReachableAsASettingdoes not recur in the full suite.TestInlineDaemonPollIntervalChangesRetryCount— not among the failures in any leg (zero mentions in either stress log; no--- FAILline in basic). Corroborates ML (7272164058) + MT (7272521313): not a product defect.TestSupervisorServesExitedReportForTheWholeGrace— not among the failures. The macOS stress leg failed on four OTHER tests (below); the grace test is not one of them. Consistent with MM's load-sensitivity diagnosis (7272531715) + MQ's verdict (7272667610).Why the run still concluded failure — two unrelated causes:
feature coverage guard: setting daemon.inlineStartPoll is both exercised and exempt — 1 violation(s). basic's digest reads "go tests: 6656 passed, 1 failed" with the e2e package as the failing package and no--- FAILtest line in the served log — the guard fails the package at the ledger level. The exemption entry fordaemon.inlineStartPollis stale now that a test exercises the setting; the bookkeeping fix is to drop the exemption (a mcpx testing: inventory every feature against its integration tests, and guard that each has one #1978 ledger edit, not a product fix). Ironic adjacency: the exercised setting is blocker (b)'s own setting — the test that exercises it passes; the ledger around it does not.TestHTTPMCPClientsHaveTheirOwnIdentity(4 subtests),TestTheEraIsProbedOnceAndRememberedAcrossDaemonRestarts(1 subtest),TestConcurrentRunsGetIsolatedInstances(visible error: "supervisor refused attach: already attached" / restart cooldown — cross-test supervisor contention under parallel load),TestAShutdownCutsACallThatNeverReturnsAtTheDrainWindow; the e2e package ran 3000.853s. These belong to the broader nightly flake surface on main-broken: developing-today/code mcpx @23a7ad7 — basic: test #16561's chain, not to criterion 3's three blockers.Bottom line: criterion 3's three named blockers are all discharged — (a) fixed and confirmed non-recurring, (b) and (c) adjudicated not-defects and absent from the confirmation run's failures. The confirmation run is nevertheless NOT a clean pass, for the two causes above; both are now on record here and on #16561 for their own tracks (#1978 ledger; macOS stress contention set).