block / block/proto-fleet

feat: report status other than `Needs attention` when erroneous errors exist

Open
#84 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
55
Forks
16
Avg merge
1d 17h
Merged PRs (30d)
84

Description

### Problem or motivation

I am running an S19KPro with LuxOS using an Urlacher setup (PSU emulator and S9 PSU, underclocked to run on 120V). This miner reports as `Needs attention` with a PSU failure, even though the device is technically running to spec (nominal hashrate ~= real hashrate).

It would be nice to report this as a different status, and generally I think this makes sense. For example, WhatsMiners can report error codes for "low hashrate", which can in many cases be a leftover artifact for an earlier period which they have since recovered from.

### Proposed solution

Use a different status for devices which meet their expected hashrate target but have errors, such as "Degraded" or "Possible issue".

### Duplicate check

- [x] I have searched existing issues and this is not a duplicate

### Alternatives considered

_No response_

### Component

Client (Web UI)

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by locating the Client (Web UI) code that combines expected hashrate and reported errors into a device status. Review the existing status values and error handling first; done means a device meeting its hashrate target with errors receives a distinct status while current status behavior remains correct.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.