Skip to content

mcpx: plugin/opencode/mcpx/ops.gen.ts is stale — TestPluginOpsAreGenerated fails on main #4806

Closed

Description

@dezren39

Found while verifying #4799 (2026-11-03): building pkgs/mcpx from main (eeb8764) fails exactly one test — internal/api's TestPluginOpsAreGenerated: '../../plugin/opencode/mcpx/ops.gen.ts is stale; regenerate it with go test ./internal/api -run TestPluginOpsAreGenerated -update'. Identical failure on the #4799 branch and on clean main (both verified by full nix builds of the package on the laptop), so it is pre-existing: an mcpx API-surface change landed without regenerating the plugin ops file.\n\nEffect: the mcpx package's check suite is red on main, so any consumer building mcpx from a current code pin (the opencode fork's mcpx-src, dezren39/nix) with doCheck on hits this. Fix: run the regeneration, review the generated diff (it reflects whatever API change skipped the step), and commit the updated ops.gen.ts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions