Health icons and their hover tooltips now reflect the miner's actual per-component
faults instead of a generic "faulted".
- #1 Each Health icon's tooltip carries the specific fault text for THAT component
(e.g. "Slot 0 error reading chip id.", "Power current error."), sourced from
asic-rs's structured MinerMessage.component (HashBoard idx / PowerSupply / Fan /
ControlBoard) rather than fragile string matching on the summary. New MinerRow
`faults` field + FaultComponent/Fault types; scan.rs maps messages -> faults.
- #2 A power-supply fault turns the bolt icon red, lists the PSU faults on its
tooltip, and greys (not reds) every hashboard -- the boards can't be powered or
tested, so they read "unpowered (PSU fault)".
- #3 When the miner reports board-specific faults, ONLY the named boards are red;
the rest stay green. A whole-miner stall zeroes every board's hashrate, which
previously reddened working boards the error codes actually exonerate.
Backend enabler (asic-rs patch 0012): the WhatsMiner V1 backend now sources faults
from get_error_code (like V2/V3; its summary error fields are empty on H6OS), and
a targeted repair fixes firmware that emits an invalid bare-pair error_code array.
Verified live: 10.7.1.231 (PSU) greys its boards + shows the 4 PSU faults on the
bolt; 10.8.1.234 (540/541/561) reds boards 1+2 and leaves board 3 green. Unit
tests cover the attribution and the malformed-array repair; all suites pass.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Djv3oncM4LxTS5tb61Ako6