Skip to content

Miner dashboard chat: governor action-dispatch #6839

Description

@JSONbored

Context

Part of epic #6504's chat track, blocked on the action-dispatch scaffolding child issue of this same epic. Governor pause/resume already has a real API route (/api/governor/{pause,resume}, wired from ledgers.tsx's existing governor-control section) — this issue wires chat to call that same, already-existing route.

Requirements

  • Wire chat's action-dispatch layer (from the scaffolding child issue) to call the existing /api/governor/{pause,resume} routes — never a new or parallel route.
  • No changes to the existing route or button-triggered flow.

Deliverables

  • Chat wiring to the existing governor pause/resume routes
  • Test coverage

Test Coverage Requirements

99%+ Codecov patch coverage on every changed line and branch, plus a regression test for the new/changed behavior (note: apps/** UI code may fall outside the strict Codecov patch gate — check coverage.include — but a before/after screenshot table per this repo's UI-PR convention is still required for any visual change).

Expected Outcome

Chat can trigger governor pause/resume through the exact same governed endpoint the dashboard buttons already use.

Links & Resources

Epic: #6504. Blocked by the "action-dispatch scaffolding" issue in this same epic. apps/loopover-miner-ui/src/routes/ledgers.tsx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    gittensor:featureGittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.help wantedExtra attention is needed

    Projects

    Status
    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions