You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
developing-today/code: mcpx workflow failing on main (run 43707720627) #10487
Failed step: Full suite under race/shuffle/repeat (shuffle seed 7550508743126527922)
Observed failures (from logs): internal/runner TestDispatchedWorkdirPolicyAllocatesARunnerDirectory expects workdir under WorkRoot but got /private/var/... vs /var/... path form on macOS; internal/settings TestTheEnvironmentDocIsCurrent reports docs/environment.md is stale (run go test ./internal/settings -run TestTheEnvironmentDocIsCurrent -update); internal/settings TestEveryDocumentHasAChapter reports unmanifested docs/changes/research-and-findings-nix-slice.md.
Picked up task 17361 (small_fix) for issue #10487 — mcpx workflow failing on main, run 43707720627.
Revalidation (fresh, 2026-11-15T11:34Z): issue #10487 is OPEN with no labels — no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit). Run 43707720627 confirmed failure: basic: plugin tests, basic: lint, stress nightly ubuntu + macos failed; head 7d3dceb matches current main. No open PR found owning this fix.
Next: diagnose each failed job from its logs, fix root causes in a dedicated worktree, open PR with 'Fixes #10487'.
Detached fix session (WORKHORSE route, no subagents, no question tool) investigated failed mcpx run 43707720627 (head 7d3dcebe1e7b3c349db9870aa09ae04f518aa80f) and opened PR #10488 (Fixes #10487).
worker-preflight.sh: clean in worktree (no local refs/heads/origin/main shadow)
Fixes applied
basic: plugin tests / lint (mcpx.yml): fixed opencode v2 preflight loop to test plugin/opencode/v2/$f (was test -f "plugin/opencode/v2/" with unused $f, causing registered v2 test file missing: plugin/opencode/v2/ and SC2034/actionlint failure in the same run block).
settings env guard: added MCPX_SCRIPT_LANGUAGE to safeMCPX in pkgs/mcpx/internal/e2e/envguard_test.go (new registry variable, default-governed; resolves TestEveryRegistryVariableIsHarnessSetOrSafe classification failure seen in stress logs).
compendium: registered pkgs/mcpx/docs/changes/research-and-findings-nix-slice.md in pkgs/mcpx/docs/compendium.manifest.json as not-compendium docs-history fragment (fixes TestEveryDocumentHasAChapter unmanifested-file failure).
environment doc: regenerated pkgs/mcpx/docs/environment.md via go test ./internal/settings -run TestTheEnvironmentDocIsCurrent -update (stale generated script-env table).
runner dispatch test (macOS symlink path): normalized paths with filepath.EvalSymlinks in TestDispatchedWorkdirPolicyAllocatesARunnerDirectory so /var/... vs /private/var/... does not false-fail.
Targeted verification (local, CI-first approach; no heavy full-suite builds)
cd pkgs/mcpx && go test ./internal/settings -run 'TestTheEnvironmentDocIsCurrent|TestEveryDocumentHasAChapter' — PASS
cd pkgs/mcpx && go test ./internal/e2e -run TestEveryRegistryVariableIsHarnessSetOrSafe — PASS
cd pkgs/mcpx && go test ./internal/runner -run TestDispatchedWorkdirPolicyAllocatesARunnerDirectory — PASS
Not run locally
Full nix develop .#mcpx-lint / actionlint/shellcheck/golangci pipeline
Full plugin test suite in CI environment, full Go test suite, or full nightly stress matrix (-race -shuffle=on -count)
Remaining notes/blockers
Did not merge (CI/verification not complete in this session). PR is ready for CI validation.
Stress logs from run 43707720627 contained additional failures beyond the documented signals (e.g. macOS unix-socket bind/path issues in CLI/daemon temp dirs, daemon/principal/relocated cases, and a ubuntu daemon shutdown timeout/panic in sampled log tail). I addressed the concrete reported root causes and directly related reproducible/doc/guard issues; if stress remains red under seed 7550508743126527922, follow-up triage may be needed for those environment-sensitive cases.
No unrelated follow-up issues filed in this pass (no clearly separate defect identified beyond the addressed CI breakage); if CI reveals distinct remaining flakes/failures, file+enqueue per repo policy.
Done — fixed_merged via PR #10490 (squash merge 87e0133); this issue auto-closed by 'Fixes #10487'.
Root causes fixed for run 43707720627:
Workflow loop in mcpx.yml tested the literal directory instead of plugin/opencode/v2/$f — that one bug was both the plugin-tests failure and the lint shellcheck SC2034. Main run 43710518546 verifies it: basic: plugin tests SUCCESS.
MCPX_SCRIPT_LANGUAGE classified safeMCPX in the e2e envguard; docs/environment.md regenerated; docs/changes/research-and-findings-nix-slice.md added to the compendium manifest.
macOS stress test bugs: unix-socket tests now use testsupport.SocketDir (sun_path limit), TestRelocated uses a genuinely short state dir, and the runner workdir test resolves WorkRoot symlinks before comparing.
Verification: full settings + runner packages pass; all seven targeted tests pass; bun v2 suite 73 pass / 0 fail; go vet clean; shellcheck SC2034 gone. Codex review failed to run (usage limits) — no findings existed to disposition.
agent-note:v1
state: done
task: 17361
lane: any-b (resumed; fix authored under the same task 17361 by lane code-c)
Outcome: fixed_merged. PR #10490 merged at 2026-11-15T11:46:12Z, merge commit 87e0133; this issue closed by that merge ("Fixes #10487" in the PR body).
Verification by this lane (fresh reads, 2026-11-15T11:54Z):
Post-merge main mcpx run 43710518546: the steps named in task 17361's packet now pass — "basic: plugin tests" green and the lint job's "go vet, gofmt, shellcheck, actionlint" step green (the $f / SC2034 root cause is fixed).
Activity
developing-today commentedon Nov 15, 2026
CODE-3799
dezren39 commentedon Nov 15, 2026
agent-note:v1
state: picked_up
task: 17361
lane: code-c
worker: repo-worker-code
Picked up task 17361 (small_fix) for issue #10487 — mcpx workflow failing on main, run 43707720627.
Revalidation (fresh, 2026-11-15T11:34Z): issue #10487 is OPEN with no labels — no hard-stop labels (held / user/owned / do-not-merge / do-not-auto-edit). Run 43707720627 confirmed failure: basic: plugin tests, basic: lint, stress nightly ubuntu + macos failed; head 7d3dceb matches current main. No open PR found owning this fix.
Next: diagnose each failed job from its logs, fix root causes in a dedicated worktree, open PR with 'Fixes #10487'.
dezren39 commentedon Nov 15, 2026
Detached fix session (WORKHORSE route, no subagents, no
questiontool) investigated failed mcpx run 43707720627 (head7d3dcebe1e7b3c349db9870aa09ae04f518aa80f) and opened PR #10488 (Fixes #10487).Branch/worktree
~/git/fleet/fix-mcpx-ci-10487fix/mcpx-ci-10487trackingorigin/fix/mcpx-ci-10487269bb49c51— "mcpx: fix main CI failures for run 43707720627 (developing-today/code: mcpx workflow failing on main (run 43707720627) #10487)"worker-preflight.sh: clean in worktree (no localrefs/heads/origin/mainshadow)Fixes applied
plugin/opencode/v2/$f(wastest -f "plugin/opencode/v2/"with unused$f, causingregistered v2 test file missing: plugin/opencode/v2/and SC2034/actionlint failure in the same run block).MCPX_SCRIPT_LANGUAGEtosafeMCPXinpkgs/mcpx/internal/e2e/envguard_test.go(new registry variable, default-governed; resolvesTestEveryRegistryVariableIsHarnessSetOrSafeclassification failure seen in stress logs).pkgs/mcpx/docs/changes/research-and-findings-nix-slice.mdinpkgs/mcpx/docs/compendium.manifest.jsonasnot-compendiumdocs-history fragment (fixesTestEveryDocumentHasAChapterunmanifested-file failure).pkgs/mcpx/docs/environment.mdviago test ./internal/settings -run TestTheEnvironmentDocIsCurrent -update(stale generated script-env table).filepath.EvalSymlinksinTestDispatchedWorkdirPolicyAllocatesARunnerDirectoryso/var/...vs/private/var/...does not false-fail.Targeted verification (local, CI-first approach; no heavy full-suite builds)
cd pkgs/mcpx && go test ./internal/settings -run 'TestTheEnvironmentDocIsCurrent|TestEveryDocumentHasAChapter'— PASScd pkgs/mcpx && go test ./internal/e2e -run TestEveryRegistryVariableIsHarnessSetOrSafe— PASScd pkgs/mcpx && go test ./internal/runner -run TestDispatchedWorkdirPolicyAllocatesARunnerDirectory— PASSNot run locally
nix develop .#mcpx-lint/ actionlint/shellcheck/golangci pipeline-race -shuffle=on -count)Remaining notes/blockers
7550508743126527922, follow-up triage may be needed for those environment-sensitive cases.fix(mcpx): repair mcpx workflow failures from run 43707720627 (#10487) (
dezren39 commentedon Nov 15, 2026
agent-note:v1
state: done
task: 17361
lane: code-c
worker: repo-worker-code
Done — fixed_merged via PR #10490 (squash merge 87e0133); this issue auto-closed by 'Fixes #10487'.
Root causes fixed for run 43707720627:
Isolated follow-ups (verified, not fixed here):
Verification: full settings + runner packages pass; all seven targeted tests pass; bun v2 suite 73 pass / 0 fail; go vet clean; shellcheck SC2034 gone. Codex review failed to run (usage limits) — no findings existed to disposition.
dezren39 commentedon Nov 15, 2026
agent-note:v1
state: done
task: 17361
lane: any-b (resumed; fix authored under the same task 17361 by lane code-c)
Outcome: fixed_merged. PR #10490 merged at 2026-11-15T11:46:12Z, merge commit 87e0133; this issue closed by that merge ("Fixes #10487" in the PR body).
Verification by this lane (fresh reads, 2026-11-15T11:54Z):
No further work on task 17361: completing it fixed_merged.