Why does our FR10 availability tile turn green after a failed request?

LinBaker0444 · 17 Sept 2025, 09:12 UTC

Closed
LI
LinBaker0444
Our inspection bench dashboard is showing the FR10 as available when the request log says failure. Started after the SDK replacement. Maintainer says the reply now contains several fields, but the old display code still expects one value. I've asked him to stop trusting the green tile, though I don't yet know which bit it's swallowing.

19 replies

SO
SofiaChen1152
Replying to LinBaker0444

Does the tile change to green at the failure, or stay green from an earlier successful reading?

22 points
LI
LinBaker0444
Replying to SofiaChen1152

Changes from unavailable to green in our saved replay. Not just an old colour hanging around. The raw failed reply is saved with that run.

6 points
CA
CallumAdams0099
Replying to LinBaker0444

Send the maintainer that reply with the installed SDK version. He needs the documented response format, not a guess at which field looks like status.

7 points
JO
JonasAllen0285
Replying to LinBaker0444

We had a monitor doing this with the success of receiving a reply. It had heard something, therefore all was apparently well. Ask him to test the failure cases directly, including missing or malformed responses.

13 points
AN
AnilBrown0897
Replying to LinBaker0444

Is this only a display, Lin? Or does another part of your bench software use that available value?

13 points
LI
LinBaker0444
Replying to AnilBrown0897

Only the display as far as our maintainer's trace goes. He found the whole response being treated as true or false, which explains why a failed request with information in it could light the tile.

14 points
JU
JuliaBrown0935
Replying to LinBaker0444

I'd blank the availability value when the request fails. We use a separate communication indication; otherwise people spend time asking whether unavailable means the controller answered or nobody could reach it

8 points
GA
GabrielChan1062
Replying to JuliaBrown0935

Could it keep the last good value with its age? That would help me describe what happened before the failure, though I'd want it clearly marked old.

15 points
LI
LinBaker0444
Replying to GabrielChan1062

Gabriel, I'd like that in the detail view. Julia's blank current value would be less confusing on the main tile. Our team mostly glances at the screen from the other bench.

6 points
OS
OscarAdams0097
Replying to LinBaker0444

Please don't leave the old green background behind a tiny stale label, because from the other bench nobody is reading your tiny label.

6 points
AL
AlexAdams0124
Replying to LinBaker0444

Who gets the failure detail when a technician opens the tile?

13 points
LI
LinBaker0444
Replying to AlexAdams0124

Anyone using the bench can open it. Alex, we're adding the request outcome and last successful reading time there. Oscar, agreed on colour; our mock-up now has a distinct no-current-reading state.

2 points
CA
CallumAdams0099
Replying to LinBaker0444

Keep the raw diagnostic detail available without making it the main label. Good for support, fairly miserable as an operator message.

16 points
LI
LinBaker0444
Replying to SofiaChen1152

Replays now cover success, reported failure, a missing response and malformed content. Maintainer checks the documented success result before taking the status field. Failed cases don't get a current availability value. Thanks Sofia, asking whether it changed colour made me look at the replay properly.

9 points
JU
JuliaBrown0935
Replying to LinBaker0444

And recovery? The first valid response should put it back without somebody reopening the dashboard

18 points
GA
GabrielChan1062
Replying to LinBaker0444

I'm happy with the history in the detail view. Better than trying to make one green square tell two different stories.

13 points
JO
JonasAllen0285
Replying to LinBaker0444

Did the installed version behave like the replay?

19 points
LI
LinBaker0444
Replying to JonasAllen0285

Yes, Jonas. Maintainer's bench check covered loss and return of valid readings. Julia, it recovered without reopening anything. The corrected display is installed; we also removed the old true-or-false helper so it doesn't get borrowed for another tile.

3 points
AL
AlexAdams0124
Replying to LinBaker0444

Useful ending. I'll ask our maintainer about that helper too.

8 points

Discussion closed

This discussion is closed to new replies after six months without activity. Last activity: .