Repository navigation
Open
Labels
dispatch/remediateHand this issue to remediation (issue-labeled job in pm-dispatch.yml, via pm-dispatch)Hand this issue to remediation (issue-labeled job in pm-dispatch.yml, via pm-dispatch)kind/ciCI/CD pipelines, workflows, and build automationCI/CD pipelines, workflows, and build automationmain-brokenmain branch full-suite (main tier) is red; remediation chain owns thismain branch full-suite (main tier) is red; remediation chain owns thispriority/criticalDrop everything: main broken, security exposure, repo-wide outageDrop everything: main broken, security exposure, repo-wide outagequeue/queuedHas a queued queue taskHas a queued queue tasksource/dispatchFiled by pm-dispatchFiled by pm-dispatchstatus/needs-triageNot yet triaged; needs a first lookNot yet triaged; needs a first look
Description
Main-tier workflow mcpx failed on main.
- Run: https://github.com/developing-today/code/actions/runs/45181183106
- Head commit:
5c8e163849d8ea4895254d4a8b5552edcab20e85 - Failing jobs: basic: lint,basic: test,stress: nightly full suite (race/shuffle/repeat) (macos-latest),stress: nightly full suite (race/shuffle/repeat) (ubuntu-latest)
- Breakage-ID: cff1a1b8faac
Filed by the main-breakage chain (.github/workflows/main-broken.yml, #1782). Exactly one holder owns this breakage at a time; every transition is an agent-note:v1 comment on this issue.
Diagnose the failure, fix the root cause, and deliver the fix as a pull request whose description contains "Fixes #", using the number of the issue this dispatch created, so the issue closes when the fix lands.
Metadata
Metadata
Assignees
Labels
dispatch/remediateHand this issue to remediation (issue-labeled job in pm-dispatch.yml, via pm-dispatch)Hand this issue to remediation (issue-labeled job in pm-dispatch.yml, via pm-dispatch)kind/ciCI/CD pipelines, workflows, and build automationCI/CD pipelines, workflows, and build automationmain-brokenmain branch full-suite (main tier) is red; remediation chain owns thismain branch full-suite (main tier) is red; remediation chain owns thispriority/criticalDrop everything: main broken, security exposure, repo-wide outageDrop everything: main broken, security exposure, repo-wide outagequeue/queuedHas a queued queue taskHas a queued queue tasksource/dispatchFiled by pm-dispatchFiled by pm-dispatchstatus/needs-triageNot yet triaged; needs a first lookNot yet triaged; needs a first look
Activity
developing-today commentedon Nov 23, 2026
Filed by pm-dispatch (GitHub Actions OIDC (repo developing-today/code, actor dezren39, workflow developing-today/code/.github/workflows/main-broken.yml@refs/heads/main)).
github-actions commentedon Nov 23, 2026
agent-note:v1 — holder: chain (filing), at 2026-11-23T14:04:25Z. Breakage-ID: cff1a1b8faac
github-actions commentedon Nov 23, 2026
agent-note:v1 - scout: classification real-regression, at 2026-11-23T14:05:04Z. Breakage-ID: cff1a1b8faac. Run: https://github.com/developing-today/code/actions/runs/45181183106
Evidence (failing job log tails):
stress: nightly full suite (race/shuffle/repeat) (macos-latest): log download failed for job 137715155000 (stress: nightly full suite (race/shuffle/repeat) (macos-latest))
basic: test: log download failed for job 137715155040 (basic: test)
stress: nightly full suite (race/shuffle/repeat) (ubuntu-latest): log download failed for job 137715155253 (stress: nightly full suite (race/shuffle/repeat) (ubuntu-latest))
route: existing dispatch/queue fix routing, diagnosis attached.
github-actions commentedon Nov 23, 2026
agent-note:v1 — holder: dispatch, since 2026-11-23T14:05:18Z (dispatch/remediate label applied; the issue-labeled job in pm-dispatch.yml starts remediation via pm-dispatch). Remediation budget at filing: 0/3 concurrent remediations in flight.
dezren39 commentedon Nov 23, 2026
agent-note:v1 — holder: agent-next-26-local (queue task 21325), at 2026-11-23T14:06Z. Breakage-ID: cff1a1b8faac.
Triage is in progress. Direct run logs now identify three independent failure groups:
basic: lintreports 13 golangci findings (10 errcheck, 1 ineffassign, 2 staticcheck);basic: teststops at the dogfood plugin sync check, which reports four test files only in the source plugin plus a 5-line mismatch; nightly stress shows a reconnect timing failure on macOS and the real-daemon state guard failure on both platforms. I’m checking the landed changes and test history before selecting the smallest complete repair.dezren39 commentedon Nov 23, 2026
agent-note:v1 — standing down without a claim: holder agent-next-26-local (queue task 21325) is live on this breakage as of 14:06Z and triage is in progress; exactly one holder owns a main-broken issue at a time. No duplicate remediation from this lane.
dezren39 commentedon Nov 23, 2026
agent-note:v1 — holder update: agent-next-26-local (queue task 21325), 2026-11-23. Breakage-ID: cff1a1b8faac.
I opened draft PR #13371 for the verified lint repairs and source-to-dogfood plugin sync. The source and mirror compare cleanly after the change. Focused remote lint and package checks were accepted by Fleet dispatch (handle
fp_ae8ffb2e168c691d454d3ceab966b329,developing-today/fleet, Blacksmith); GitHub has not associated a run ID yet.The remaining main-tier failures are the reconnect event-sequence failure and e2e daemon-state guard failures on both OSes. The recurring stress issue is already tracked by #3016, whose acceptance requires a green follow-up stress run. I am leaving #13349 open and the PR in draft until the focused run finishes and the stress gate has a verified disposition. Resume by checking the dispatch result, then resolving the stress failures and rerunning the main workflow.
dezren39 commentedon Nov 23, 2026
agent-note:v1 — dispatch update for task 21325: focused verification is now visible as developing-today/fleet run #126, currently queued. The PR #13371 draft links this run and remains open pending its terminal result and resolution of the #3016 stress gate. Queue task 21325 is parked for a 10-minute recheck with the branch, SHA, PR and dispatch handle recorded.
dezren39 commentedon Nov 23, 2026
agent-note:v1 — holder update: agent-next-21-local (queue task 21325), 2026-11-23. Breakage-ID: cff1a1b8faac.
I rechecked draft PR #13371 at
25045feffc8f9cbbc86738b8c7c1de3b29f5d861and reran the focused verification against its branch. Fleet run #45201909155 completed successfully: golangci-lint,TestTCPSystemd,TestEventsReconnectWaitsForTheConfiguredDelay(-count=5), codegen and runner tests, and the source/dogfood plugin diff all passed. The earlier focused run #45194052286 failed before execution because the runner's$HOMEdid not match its root user; the corrected run explicitly setsHOME=/root.The remaining failure is the full nightly stress gate from main run #45181183106, which failed on both OSes. Issue #3016 remains open and blocked; it tracks the daemon-state guard failure. PR #13371 remains draft and #13349 remains open until the stress gate has a fix and green follow-up run, then the main mcpx workflow is green.
fix(mcpx): drain the reconnect test's request head before close
dezren39 commentedon Nov 23, 2026
agent-note:v1 — holder update: lane oc-code-05 claimed queue task 21325 (Breakage-ID cff1a1b8faac) after the previous claim lapsed. Pushed ae506d9 to PR #13371's branch: the macOS stress failure TestEventsReconnectWaitsForTheConfiguredDelay is fixed by draining the stub server's request head before close (a reset-on-close lost seq 1). Verified: go test ./internal/e2e -run TestEventsReconnectWaitsForTheConfiguredDelay -race -shuffle=on -count=5 is ok. Still open: the #1992 daemon-state guard failure on both stress jobs (the suite's before/after daemon records differ). Investigating its writer now. PR stays draft until the guard and a green stress follow-up are in.
dezren39 commentedon Nov 23, 2026
agent-note:v1 — holder update: agent-next-26-local (queue task 21325), 2026-11-23.
Root cause of the #1992 guard failure: WriteInfo mirrors every record written under a custom state dir into the default dir (#278). The daemon and cli test binaries wrote records there (TestInfoFileNamesBothDigests leaked /tmp/sock pid=42; the mxh helpers and cli client_socket_test leaked their sockets), so the e2e before/after window saw them.
Fix (commit ef62356 on PR #13371): internal/stateguard ports the guard to the daemon and cli suites, and pins their state dirs into a per-run temp dir. Failing-first: without the pin the guard fails on the leaking test (before=[] after=[/tmp/sock pid=42]).
Verified locally, scoped per package: go test ./internal/daemon -count=1 and ./internal/cli -count=1 green; changed tests -race -shuffle=on -count=5 green; darwin compile gate passed. I dispatched mcpx.yml on the branch for the stress-pr leg. PR #13371 stays draft until that run is green.
dezren39 commentedon Nov 23, 2026
agent-note:v1 — standing down without a claim: Lane AAB (archer) was handed this issue by the shortlist, but holder agent-next-26-local is live on breakage cff1a1b8faac (holder update 2026-11-23T16:43:50Z, fix commit ef62356 on PR #13371, stress dispatch in flight). Exactly one holder owns a main-broken issue at a time; no duplicate remediation from this lane.
dezren39 commentedon Nov 23, 2026
agent-note:v1 agent=repo-worker-code lane=oc-code-04 state=picked_up task=21325 at=2026-11-23T17:22Z
Picked up task 21325 and revalidated the existing PR #13371 at head ef62356. Main workflow run #45219766529 is still in progress: basic: lint failed, basic: test failed at the dogfood plugin sync check, Ubuntu stress was cancelled, and macOS stress is still running. #3016 remains OPEN with queue/blocked. The changed daemon/cli state guard tests were reported green locally; the current run needs to finish before its full failure logs are available.
dezren39 commentedon Nov 23, 2026
agent-note:v1 agent=repo-worker-code lane=oc-code-04 state=parked task=21325 at=2026-11-23T17:30Z
Parked task 21325 for CI recheck (1 hour floor). Resume when branch mcpx run #45219766529 is terminal: retrieve the full lint and basic-test logs, fix any confirmed failures, then secure a green full stress follow-up and rerun the main mcpx workflow before closing #13349. Current head ef62356 is preserved on draft PR #13371; #3016 remains OPEN with queue/blocked. No source changes were made by this lane during this pass.
dezren39 commentedon Nov 23, 2026
agent-note:v1 — standing down without a claim: holder lane oc-code-04 (queue task 21325) is live on breakage cff1a1b8faac — parked 2026-11-23T17:30Z for a 1-hour CI recheck of draft PR #13371 at ef62356 (main mcpx run #45219766529), with the #3016 stress gate still open. Exactly one holder owns a main-broken issue at a time. No duplicate remediation from this lane.