Skip to content

main CI failure: developing-today/code — mcpx test workflow (run 45227606720) #13619

Open

Description

@dezren39

Fix the main-branch CI failure in developing-today/code workflow mcpx test.

Newest failure in this workflow: run 45227606720 (workflow_dispatch on main, sha 4518255b08f8d58e24a83d6e0027e9b73576b095). Failed jobs:

  • basic: mcpx-test unit (https://github.com/developing-today/code/actions/runs/45227606720/job/137879167413): --- FAIL: TestEveryDocumentationLinkResolves in pkgs/mcpx/internal/defaults, exit 1
  • basic: mcpx-test e2e (shard 3) (job 137879167374), exit 1
  • environment: mcpx flake binary e2e (linux arm64) (job 137879015574), mcpx flake binary e2e (job 137879016353), environment: mcpx container e2e (job 137879016581)
  • mcpx-test ci-ok gate (job 137894429575)
    Passing in the same run: plugin-ts, remote daemon smoke, init (measured-time e2e matrix), lint, e2e shards 0/1/2/4/5. Full failure logs: gh run view 45227606720 --repo developing-today/code --log-failed (or per-job --job <id> --log-failed).

History: this workflow has been failing persistently — schedule runs 44348296276 (11-18), 44568398215 (11-19), 44771232528 (11-20), 44919149884 (11-21), 45038359692 (11-22) all failed. Diagnose whether the unit failure (docs-link resolution) and the e2e/flake legs share one root cause or need separate fixes; smallest verified fix plus regression coverage. Work only in a worktree under ~/git/fleet/; branch and PR only, never push to main or force-push. No question tool while detached. Do not merge or publish.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-23T18:28:28Z",
    "session_id": "ses_e5df65d0a94ffeQAMcgxqs65Ah",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code",
      "repo": "developing-today/code",
      "branch": "sweep/13536-calendar-week-dates",
      "sha": "9b71f7476a3fee6e372a060101c4d6f8ee7455d4"
    },
    "auth_subject": "oc-code-07",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Activity

  1. developing-today commented on Nov 23, 2026

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

    @dezren39
    MemberAuthor

    Progress: created worktree /home/user/git/code-21424 on fix/21424-mcpx-ci from current origin/main and pushed the empty branch first. At failing SHA 4518255, the doc-link test reports pkgs/mcpx/docs/glossary.md:71 -> backticked internal/api.Ops as a missing file (it is a Go symbol, not a path). Current main passes the narrow unit test; investigating changes since that SHA and the independent e2e/envguard failures before applying a scoped fix.

  3. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Progress: isolated the e2e cause: MCPX_ADAPTERS_ALLOW_BARE was newly declared in the settings registry and set by TestAdaptersAllowBareGatesABareDeclaration, but absent from the e2e harness classification tables. The guard consequently failed in shard 3, flake binary legs, and container e2e (independent of the doc-link failure). Added the variable to harnessSetMCPX. Verification passes: exact guard; TestAdaptersAllowBareGatesABareDeclaration; full CI-assigned shard-3 test pattern (104 tests); and go test ./internal/defaults/.... Current main already contains the separate glossary fix from PR #13597 (docs/glossary.md now references the source file), which makes the requested narrow doc-link test pass.

  4. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Recurrence — newer mcpx test run 45240985250 (pre-fix)

    Main-CI watch pass 2026-11-23T19:4xZ found a newer failure of this same workflow above the previous watermark:

    • Run: https://github.com/developing-today/code/actions/runs/45240985250 — head e42c545f9d6d241d9a5d7b45501c13b4f05e21cd, created 18:41:03Z, completed 19:02:50Z.
    • Failed jobs: environment: mcpx flake binary e2e (linux arm64), environment: mcpx flake binary e2e, environment: mcpx container e2e, basic: mcpx-test e2e (shard 4), and the mcpx-test ci-ok gate.
    • Green in the same run: plugin-ts, init matrix, remote daemon e2e subset, e2e-no-Deno, lint, unit, shards 0, 1, 2, 3, 5.

    The run completed two minutes before PR #13636 (test(mcpx/e2e): classify MCPX_ADAPTERS_ALLOW_BARE as harness-set) merged at 19:03:09Z as 06450991e33b, which matches the root cause recorded on task 21424 (missing MCPX_ADAPTERS_ALLOW_BARE in the envguard safe registry). So this is the same breakage at a pre-fix head, not a second defect.

    Dedupe: the workflow-level live fix stays task 21424 on repo-health-code-pilot (claimed, lane oc-code-08, checkpoint verified at 19:17:48Z). No second issue, task or session was started. The next scheduled mcpx test run on a post-06450991 head is the confirmation gate for closing this issue.

  5. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    PR opened: #13653 (one line, harnessSetMCPX gains MCPX_ADAPTERS_ALLOW_BARE).

    Leg-by-leg disposition at failing sha 4518255 (run 45227606720):

    • unit — docs/glossary.md:71 backticked the symbol internal/api.Ops; the doc-link test reads backticks as paths. Already fixed on main by test(mcpx): remote-safe e2e subset — fail-closed registry + remote runner leg (#13386) #13597 (5412831eebd / f0c6f2e0396), verified passing on this branch.
    • e2e shard 3, flake binary e2e (x2), container e2e — one shared cause: MCPX_ADAPTERS_ALLOW_BARE (setting adapters.allowBare) declared in the registry, set by TestAdaptersAllowBareGatesABareDeclaration, but in neither envguard table. All four legs run internal/e2e, so all four tripped the same guard. Fixed here.
    • ci-ok — aggregation only, no independent cause.
    • plugin-ts / lint / remote smoke / init / shards 0,1,2,4,5 — green on the failing run; untouched by this diff.

    Local verification: guard fails before / passes after; effect probe passes; full CI-assigned shard-3 pattern (104 tests, seed 01a20972-…) ok in 332s; go test ./internal/defaults/... ok; gofmt -l clean.

    Confirmed CI on the branch: mcpx test run 45251429763 (dispatched).

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