简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。

Why is an error response lighting the healthy indicator?

NoraChen1192 · 2025年4月5日 14:34 UTC

已关闭
NO
NoraChen1192
Our FR10 availability dashboard stayed green after a failed read in the rebuilt environment; the old code expected a single status value, while the new SDK returns a structured answer. I suspect we are testing whether an answer exists rather than whether the request succeeded, but I need to verify the interpretation before changing the screen.

15 条回复

JA
JasperCarter0986

Can you compare the raw successful and failed responses against the documentation for the installed version? I can't infer the structure from the word container, and guessing which element means healthy could just move the mistake somewhere less obvious.

7
NO
NoraChen1192

The developer captured both and confirmed that the failed response is non-empty; our code converts the whole object to a Boolean.

11
JA
JasperCarter0986

That explains the misleading green, although the replacement still needs to follow the documented success and data fields. A response being present and its status data being valid are two separate conditions.

17
DA
DanielAbbott0043

Please show a failed read as unavailable or unknown, with wording your operators recognise. Leaving the old healthy value looking current makes me think nothing has changed, even if a small error message appears somewhere else.

11
JA
JasperCarter0986

Good point. Preserve the last known value only if its age and stale state are clear; don't let a failed fresh request lend it the appearance of current evidence.

7
NO
NoraChen1192

The draft now parses success before using the payload and marks failed reads unavailable; it also labels a retained last reading as stale with its observation time.

17
JA
JasperCarter0986

Include malformed and unexpected responses in the tests as well as the documented failure example. Your display should not fall back to a plausible healthy value when parsing cannot establish a valid result.

7
JA
JaneBaker0510

And use text as well as colour; green and grey alone won't explain this reliably

2
NO
NoraChen1192

We added Current, Stale and Unavailable labels beside the value; the error explanation is accessible from the same area rather than a separate log page.

22
VI
VictorBrooks0794

Does unavailable mean the robot stopped, or only that your screen can't read it?

14
JA
JasperCarter0986

That distinction belongs in the label. The failed read establishes that the dashboard lacks current information; it does not by itself establish the equipment's physical state or whether it is operating.

13
NO
NoraChen1192

We changed it to 'Current status unavailable' and clarified the connection error underneath. The earlier short label was too easy to read as an equipment diagnosis.

22
DA
DanielAbbott0043

That wording is much clearer from the operator side. Try it with a saved normal reading followed by a failure, because that's when the reassuring old value is most likely to catch the eye first.

8
NO
NoraChen1192

The developer verified successful, failed, malformed and stale sequences against the installed interface documentation, and operators reviewed the transitions. The false healthy indication is gone in those checks. We have deployed the corrected read-only display.

25
JA
JasperCarter0986

Keep the installed SDK version with those captured examples. They're useful regression evidence when the environment changes again, and far less ambiguous than a screenshot of a green indicator.

6

讨论已关闭

此讨论已连续六个月没有活动,现已关闭新回复。 最后活动: .