Skip to content

[Bug]: ocx sync drops configured combo members and omits failover catalog entry #1308

Description

@yusoofsh

Client or integration

Codex CLI

Area

Catalog / models

Summary

ocx sync can omit a configured failover combo when provider model discovery does not retain all configured members. The expected combo/failover catalog entry disappears even though the configured provider/model targets are callable and have metadata.

Reproduction

  1. Configure a failover combo with these targets:

    • openrouter/openai/gpt-5.6-luna
    • opencode-go/deepseek-v4-flash
    • command-code/xiaomi/mimo-v2.5-pro
  2. Run:

    ocx sync --restart-codex
  3. Observe:

    Combo "failover" is omitted from the catalog because member capabilities are incomplete
    

    Earlier runs also reported configured OpenRouter model IDs being dropped when live discovery omitted them.

Version

2.11.0

Operating system

macOS arm64

Provider and model

OpenRouter / openai/gpt-5.6-luna; OpenCode Go / deepseek-v4-flash; Command Code / xiaomi/mimo-v2.5-pro

Logs or error output

[opencodex] Combo "failover" is omitted from the catalog because member capabilities are incomplete: openai/gpt-5.6-luna, opencode-go/deepseek-v4-flash

Screenshots and supporting files

None.

Redacted configuration

{
  "combos": {
    "failover": {
      "strategy": "failover",
      "targets": [
        { "provider": "openrouter", "model": "openai/gpt-5.6-luna", "weight": 1 },
        { "provider": "opencode-go", "model": "deepseek-v4-flash", "weight": 1 },
        { "provider": "command-code", "model": "xiaomi/mimo-v2.5-pro", "weight": 1 }
      ]
    }
  }
}

Checks

  • I searched existing issues and documentation.
  • I removed secrets, tokens, account details, request credentials, and personal data.

Metadata

Metadata

Assignees

Labels

account-poolOAuth, credentials, Codex pool, quota, failover, plansbugSomething isn't workingcatalogModel catalog, slugs, visibility, routed entriescliCLI, config inject, packaging flags

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions