Skip to content

TUI: focused rig view shows "Health Unknown · canonical health records could not be read" when health was never fetched #93

Description

@mlc-factory-bot

Summary

In the TUI, opening a single rig (a focused topology view) shows:

HEALTH  Unknown · Unavailable · canonical health records could not be read

No read was attempted and nothing failed. The focused view skips the health fetch and then renders the skip as a read failure. To an operator this looks like a broken daemon. rig health --instance on the same host returns normally (findings=0), and the Health tab shows "EMPTY".

Where (0.5.17, unchanged from 0.5.14)

  • tui/dist/hydrate.js:271-276: focusedTopology makes broadReads false, so health-findings resolves to null unless viewTab === "health".
  • tui/dist/hydrate.js:541: that null becomes { availability: "unavailable", evaluatedAt: null, … }.
  • tui/dist/health/health-model.js:131-132: any availability !== "loaded" renders "Unavailable · canonical health records could not be read".

Expected

Either fetch health for the focused rig view, or render the skip as not loaded. The code already has that wording at health-model.js:130: "Not assessed · health has not been loaded in this view". The "could not be read" message should be kept for real read failures.

Environment

OpenRig 0.5.14 on Ubuntu 24.04 (three unpaired hosts). Code checked against the published 0.5.17 package. Steps: rig tui, then select a rig in the Explorer.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions