Skip to content

mcpx on main: golangci-lint findings + dogfood plugin copy out of sync (pre-existing, unmasked by #10490) #10498

Closed

Description

@dezren39

mcpx on main: basic: lint (golangci-lint) and basic: test (dogfood plugin sync) failing — pre-existing, unmasked by #10490

Found 2026-11-15 during task 17361 verification (issue #10487). The merge run for PR #10490 (run 43710518546, head 87e0133) shows:

  • basic: plugin tests — success (the developing-today/code: mcpx workflow failing on main (run 43707720627) #10487 fix verified on main).
  • basic: lint — failure, but at the golangci-lint step, not the shellcheck step fixed by fix(mcpx): repair mcpx workflow failures from run 43707720627 (#10487) #10490: staticcheck/unused findings across internal/codegen/emit.go (ST1021), internal/daemon/routes_settings.go (QF1008), internal/mcpauth/failover.go (QF1002), internal/mcpserver/server.go (QF1001), internal/pluginsession/hooks.go (ST1000), internal/pool/budget.go (ST1020), internal/runner/runner.go (QF1001), internal/testsupport/childenv.go (ST1000), internal/cli/adapter_import.go + scripts.go (unused funcs), internal/recipes/recipes.go (unused funcs), and more in job 132800840519's log.
  • basic: test — failure at the Check the dogfood plugin copy is in sync step (job 132801451460): pkgs/mcpx/plugin/opencode/mcpx/biome.json, ceiling.test.ts, and further plugin files differ from their .opencode/plugin/ copies by formatting only (semicolons, line wrapping) — one copy was treefmt-formatted and the other was not re-synced.

Pre-existing evidence: push run 43672153734 (head 9739f90, before PR #10490) already failed basic: lint and basic: test. In the #10487 tracked run 43707720627 these were masked: lint died earlier at shellcheck and basic: test was skipped. PR #10490 touches none of the flagged Go files and no plugin files.

Next steps:

  • Disposition each golangci-lint finding (fix the comment forms / dead funcs, or record a config exclusion with a reason) — do not blanket-disable the step.
  • Re-sync the dogfood plugin copy (pkgs/mcpx/plugin/... vs .opencode/plugin/...) in whichever direction the sync tooling defines, and check why the treefmt auto-format commit did not trigger the sync check then.

Activity

  1. developing-today commented on Nov 15, 2026

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

    @dezren39
    MemberAuthor

    Recurrence: main CI failure on mcpx workflow, run https://github.com/developing-today/code/actions/runs/43736462492 (push, head f897a85, created 2026-11-15T16:36:50Z). Failed jobs: basic: lint (golangci-lint 28 findings), basic: test (dogfood plugin copy out of sync). Same class as tracked by #10498. Deduped (no new issue/task/session). Watermark advanced.

  3. dezren39 commented on Nov 15, 2026

    @dezren39
    MemberAuthor

    Main-CI watch pass 2026-11-15T19:52Z observed a new mcpx test failure above prior watermark, but with a different failure mode than the golangci-lint/dogfood-sync breakage tracked in this issue.

    • Run: https://github.com/developing-today/code/actions/runs/43752820671 (workflow mcpx test, push, head ddeba2db500b30c1306165684eb950ae3c7351f4, "repo-keeper: snapshot code 2026-11-15 13:27 CST", created 2026-11-15T19:30:42Z, completed 2026-11-15T19:42:06Z)
    • Failed job: basic: mcpx-test unit (job 132930379612)
      • Failed step: Unit tests (everything except internal/e2e) (exit 1)
      • Failure: TestTheEnvironmentDocIsCurrent in internal/settings (scriptenv_test.go:262): docs/environment.md is stale; run go test ./internal/settings -run TestTheEnvironmentDocIsCurrent -update
      • Other unit packages in the job passed (e.g. lint/plugin/e2e shards/ci-ok aggregate context as in run view). This run did not fail at golangci-lint or dogfood plugin sync.

    Dedupe: #10498 is the recorded live fix track for the mcpx workflow in state, so no duplicate issue/task/session was started this pass (one live fix per failing workflow). Triage may need to expand/split tracking for this distinct unit-test breakage while keeping workflow dedupe.

  4. dezren39 commented on Nov 17, 2026

    @dezren39
    MemberAuthor

    Agent note — triage (task 19310, lane any-c, 2026-11-17)

    State: triaged.

    • Fresh state: issue mcpx on main: golangci-lint findings + dogfood plugin copy out of sync (pre-existing, unmasked by #10490) #10498 OPEN, no labels, no hard-stop labels. Comments are a Kaneo link plus recurrence/watch notes — no triage of record and no fix packet before this triage.
    • Failure of record (from the filing + recurrence, both on the issue): mcpx basic: lint fails at golangci-lint (staticcheck/unused findings across ~11 named files; 28 findings at the 2026-11-15 recurrence, run 43736462492) and basic: test fails at the dogfood plugin copy sync check (formatting-only drift between pkgs/mcpx/plugin/opencode/mcpx/* and .opencode/plugin/*). Pre-existing on main before PR fix(mcpx): repair mcpx workflow failures from run 43707720627 (#10487) #10490, which unmasked them and touches none of the flagged files. The different mcpx test failure mode noted at 2026-11-15T19:52Z is a separate watch item, explicitly out of this packet's scope.
    • Work kind: task/small-fix. Priority: priority/normal (band 30 — one package's CI red on main; signal-eroding, not fleet-stalling). Effort: effort/m.
    • Routing: fix follow-on enqueued as task 20637 (priority 30): disposition each current golangci-lint finding (fix, or config exclusion with a recorded reason — no blanket disable), re-sync the dogfood plugin copy in the direction the sync tooling defines, and explain/fix the treefmt-sync gap on the issue.
    • Acceptance check for the fix: golangci-lint zero findings (or only recorded exclusions) on pkgs/mcpx; sync check passes; go build ./... still passes.

    Issue stays OPEN pending task 20637.

  5. added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    status/triagedTriaged and routed (see agent note)
    on Nov 17, 2026
  6. dezren39 commented on Nov 18, 2026

    @dezren39
    MemberAuthor

    Agent note — fix verified landed (openchamber scheduled lane oc-code-03, queue task 20637, 2026-11-18)

    state: verified_closed in queue; issue still OPEN, closure left to the owner.

    golangci-lint is not installed on this host, so the zero-findings check was not re-run locally. The merged PRs are the evidence. Suggest the owner close #10498 after one confirming basic-lint run on main.

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

Metadata

Metadata

Assignees

Labels

effort/mMedium: expected under 1 day of workpriority/normalOrdinary priority (the default)queue/queuedHas a queued queue taskstatus/triagedTriaged and routed (see agent note)status:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions