Skip to content

[Tech Request]: Agent skills: shutdown-only upgrade contract, stop per-feature MORPCVersion gates #31286

Closed

Description

@cpegeric

Is there an existing issue for the same tech request?

  • I have checked the existing issues.

Does this tech request not affect user experience?

  • This tech request doesn't affect user experience.

What would you like to be added ?

Update the in-repo agent skills (.agents/skills, mirrored in .claude/skills: mo-dev, mo-self-review) to state MatrixOne's upgrade contract: shutdown upgrade only, no rolling upgrade.

  • In-cluster RPC never mixes binary versions, so reviews must not request a per-feature MORPCVersion bump, an AllCNsSupportProtocol/capability gate, or an old-peer fallback, and must not block a change for lacking one.
  • MORPCVersion becomes a protocol generation, like the NFS major version. It is bumped only for an incompatible RPC framing/handshake change, or if mixed-version operation is deliberately reintroduced.
  • These compatibility obligations stay hard requirements:
    • a new binary reads everything an older one persisted (catalog, storage, WAL, persisted views and plans, index files, config);
    • upgrade steps are idempotent and restart-safe;
    • an older backup restores on a newer binary;
    • external protocols keep their rules: the MySQL client and cross-cluster publication/subscription and CDC.

Why is this needed ?

The project has moved to shutdown-only upgrades. The current skills still require mixed-version/rolling-upgrade coverage, so Codex-driven reviews keep asking for a new MORPCVersion and per-feature gates on every PR. That causes recurring merge collisions on MORPCLatestVersion and dead compatibility code.

Additional information

Existing gates stay in place; removing them is separate cleanup work, not part of this change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/tech-request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions