Skip to content

feat(ai): devops ai gateway status reports failover while a route is failover:*, and failover --reset restores the default routes #1986

Closed

Description

@dan-petty

Friction

  • devops ai gateway failover writes a failover:* route to the route file, and nothing restores the default route.
  • A healthy probe clears the breaker flag but keeps the failover route. So devops ai gateway status can show a healthy gateway while a route still points at its failover backend.

Evidence

Checked at main a752a14.

Existing tool considered

  • LiteLLM fallbacks already switches live traffic. This change builds no failover engine. It only makes the local route file and its report correct.

Proposed remedy

  • devops ai gateway status reports failover while any route is failover:*.
  • Add devops ai gateway failover --reset, which restores the default routes.
  • Failback stays explicit. A healthy probe does not flip a route, because LiteLLM, not the route file, owns the traffic. A deliberate trip stays recorded until a reset.

Acceptance criteria

  • devops ai gateway status reports failover while any route is failover:*, also after a healthy probe. A test over the route file asserts it.
  • devops ai gateway failover --reset restores the default routes. A test asserts the route file after the reset.
  • A healthy probe does not change a failover:* route.
  • uv run devops docs generate --sync-readme leaves uv run devops docs check clean.
  • Tests run offline. uv run devops ci passes.

Source: #596

Activity

  1. added
    source/agent
    type/feature
    on Oct 23, 2026
  2. dan-petty commented on Oct 23, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones on the board.

    • Type: type/feature. The candidate adds new functionality to the devops ai gateway.
    • Priority: P2-Medium. The change improves system reliability and correctness.
    • Value: High. Users benefit from correct failover status reporting and reset capability.
    • Effort: Medium. The change requires modifying route handling and adding a new command option.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    source/agenttype/feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions