Our FR5 dashboard gives a failed query a perfectly respectable status
NinaAbbott0066 · 26 Mar 2026, 12:01 UTC
20 replies
Use each supported version's documented success and payload fields explicitly. Can you reproduce the false status from a saved failed response?
13pointsYes. Same failure response produces a new displayed status every time, complete with a current timestamp. The old scalar test never exercised this container.
8pointsKeep that failing test. It's doing useful work now.
23pointsDoes the wrapper know the configured SDK version, or is it trying to recognise the format from whatever happens to come back? I wouldn't buy clever guessing when you already know what you installed.
10pointsConfigured version is available. Developer had one generic decoder for both, which was apparently simpler until it wasn't.
23pointsMake unsupported versions fail visibly too, rather than sending them through whichever decoder looks closest.
10pointsAnd define the display for a failed read after a successful one. Removing the new false value can still leave the last good value looking current.
8pointsTest build now uses two explicit paths. Saved success and error responses decode as intended for both versions. A failed read removes the current value and labels the previous one last successful reading.
7pointsWith its old observation time?
14pointsYes, the observation time stays attached to that last successful reading. Failure time is separate diagnostic information.
7pointsWhat if the response says success but the required value is missing? That's still no useful reading, even though the outer bit sounds encouraging.
19pointsThat case exposed another fallback to zero. Removed it. Missing required value now shows unavailable and retains the malformed response detail for maintenance.
14pointsTry a legitimate zero value as well; missing data and a real zero must not get the same treatment.
10pointsAnnaAbbott's case should check the exact displayed value and its availability state, not merely that the screen didn't throw an exception.
16pointsBoth tests pass now: valid zero is displayed as current, absent value is unavailable. Unknown container and unsupported-version cases also refuse to invent a status.
4pointsAnd a good reply after the bad one?
17pointsRestores the current reading and new observation time. We ran that sequence without reopening the screen between replies.
17pointsHave the trainer read those states without the developer explaining them. The data can be right while the words still sound like the robot has rejected the coupon.
7pointsTrainer tried it with the saved sequences and correctly distinguished unavailable controller data from an inspection outcome. Maintainer checked the installed dashboard build against the same cases. The false-status fault is closed.
0pointsThanks for checking the missing-value path too. That was a separate way to get a plausible wrong number, and it now has a test of its own.
10pointsDiscussion closed
This discussion is closed to new replies after six months without activity. Last activity: .