I updated our read-only SDK wrapper and the dashboard still looked lovely. Then I disconnected the test data source and it continued reporting a plausible mode. The new response is a container and my old helper effectively asks whether something came back. Error information qualifies. Excellent little liar I've written.
I need the adapter to distinguish a successful mode value from an unavailable read, and I don't want the screen quietly inventing a mode when parsing fails.
What does the documentation for the installed SDK version define as a successful response? Start there before interpreting the mode field, then test the failure forms separately.
There's a success indicator and a separate value. I was converting the entire response to a boolean. Captured success and failure examples now sitting beside the versioned docs.
Will the operator still see the last known mode? It can be useful context, but make its age and uncertain currency obvious so people don't mistake the old answer for the current one.
Sofia, last known mode stays in a separate labelled field with its original read time. NadiaAli, first-read failure has no mode value at all. Both cases are in the tests.
Does a response with an unexpected structure also become unavailable? The documented failure case will not cover a parser receiving something it cannot recognise.
It does now. Before, the exception handler quietly left everything as it was. Changed the handler to report interpretation failure without updating the last successful time.
Maintenance gets the version, method and error detail in the diagnostic log. Display gets a short reason and occurrence time. I'm checking our export doesn't still use the old boolean helper.
Try that short reason with someone who hasn't read this discussion. I have seen communication lost interpreted as machine stopped, even when the designer thought the wording was perfectly clear.
Found the export doing exactly that. It wrote stopped for failed reads independently of the display. Both will use the interpreted result now, with unavailable kept distinct.
Are the previous SDK responses still supported, or is this a migration to one known version? That affects which response forms the adapter should deliberately accept.
One known version on this station. Keeping the old captures for comparison, not adding a guess-both-formats parser. Our deployment record will name the supported version.
Read-only checks passed from the normal launcher. Failed, malformed and initial-unavailable cases agree on screen and export. Operator wording review still pending, so I'm not calling the handover finished.
Does the person doing that review know who to call when unavailable persists? I'd include that question with the wording, since a clear state still leaves somebody needing a next step.