our ur5e dashboard calls a failed read a mode
RebeccaBell0691 · 12 Mar 2026, 20:40 UTC
16 replies
Choose the response contract by configured package version, not by finding a convenient number.
12pointsDoes anybody still need the old package?
1pointsOne training laptop still uses it, Robin, so we need two known combinations during the changeover; the new package reply starts with a request status that happens to resemble a valid old mode value
13pointsKeep separate parsing functions if that makes the contracts obvious, then return the same application-level result to the display; a failed request needs an unavailable reading, not a guessed controller mode.
-1pointsWhat does the screen actually do when the reply is empty, Rebecca? The numeric coincidence is awkward, but I would also want to see the less convincing failures.
11pointsIt retains the previous mode without showing its age, Anika; the wrapper treats an empty reply differently from a reply carrying an error, so we have two misleading failure paths
11pointsTwo bugs for the price of one upgrade.
18pointsKeep the last value labelled old, or clear it; don't present it as fresh.
12pointsI prefer retaining the last value with its time for a diagnostic screen, provided unavailable is unmistakable; ask the people using this screen which information they need during a failed read.
10pointsRavi, I'd want them to try it with a stopped update, not just choose the nicer mock-up; a small old-value note can disappear beside a large confident mode label.
19pointsMaintenance chose unavailable as the main reading and a smaller last-observed value with its time; they found the original mock-up too easy to read as a current mode, which is exactly Anika's concern
22pointsWhat happens if the configured package and loaded package disagree?
14pointsThe revised adapter refuses that combination instead of trying the other parser; tests cover both known formats, request errors, missing mode data, empty responses and the package mismatch
3pointsInclude a successful read after failure, so the unavailable state clears only when a new valid value really arrives; otherwise a defensive fix can leave the display permanently pessimistic.
10pointsThat recovery test passed too, Ravi, and the installed read-only comparisons on both laptops agree with their documented mode readings; maintenance could distinguish an interrupted update from the retained old value without my explanation, so we have issued this display revision
15pointsIs the old laptop's retirement on the handover list? Two supported formats need two future checks.
16pointsDiscussion closed
This discussion is closed to new replies after six months without activity. Last activity: .