Skip to content

developing-today/code: mcpx workflow failing on main (run 43707720627) #10487

Closed

Description

@dezren39

Main-branch CI failure: developing-today/code — workflow mcpx

Failed jobs

  1. basic: plugin tests — https://github.com/developing-today/code/actions/runs/43707720627/job/132792316873

    • Failed step: bun test (opencode plugin v2)
    • Log excerpt: registered v2 test file missing: plugin/opencode/v2/ then exit 1.
    • Likely cause: workflow loop uses test -f "plugin/opencode/v2/" without $f, so every iteration fails regardless of file presence.
  2. basic: lint — https://github.com/developing-today/code/actions/runs/43707720627/job/132792316891

    • Failed step: go vet, gofmt, shellcheck, actionlint (nix develop . #mcpx-lint command)
    • Started 11:13:22Z, failed 11:16:12Z. See run logs for the specific lint/tool failure inside the nix develop command.
  3. stress: nightly full suite (race/shuffle/repeat) (ubuntu-latest) — https://github.com/developing-today/code/actions/runs/43707720627/job/132792360313

    • Failed step: Full suite under race/shuffle/repeat (shuffle seed 7550508743126527922)
  4. stress: nightly full suite (race/shuffle/repeat) (macos-latest) — https://github.com/developing-today/code/actions/runs/43707720627/job/132792360358

    • 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.

Notes

  • Nightly stress auto-comments were posted to mcpx nightly stress failure #3016 by the workflow for this run (ubuntu/macOS).
  • This is a new main-branch failure above the CI-watch watermark (prior watermark 43706569405; this run 43707720627).

Filed by scheduled main-branch CI failure trigger pass (watch_pass_20261115T113035Z).

Activity

  1. developing-today commented on Nov 15, 2026

    @developing-today
    Contributor
  2. dezren39 commented on Nov 15, 2026

    @dezren39
    MemberAuthor

    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'.

  3. dezren39 commented on Nov 15, 2026

    @dezren39
    MemberAuthor

    Detached fix session (WORKHORSE route, no subagents, no question tool) investigated failed mcpx run 43707720627 (head 7d3dcebe1e7b3c349db9870aa09ae04f518aa80f) and opened PR #10488 (Fixes #10487).

    Branch/worktree

    Fixes applied

    1. 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).
    2. 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).
    3. 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).
    4. environment doc: regenerated pkgs/mcpx/docs/environment.md via go test ./internal/settings -run TestTheEnvironmentDocIsCurrent -update (stale generated script-env table).
    5. 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.
  4. dezren39 commented on Nov 15, 2026

    @dezren39
    MemberAuthor

    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:

    • 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.

    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.

  5. dezren39 commented on Nov 15, 2026

    @dezren39
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions