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

Why does a failed UR5e read still show healthy?

RebeccaAdams0169 · 2025年5月29日 01:58 UTC

已关闭
RE
RebeccaAdams0169
Rebuilt our dashboard environment. New response format, old wrapper. Failed requests now leave a convincing healthy indicator. Which checks should the developer put around the returned data?

13 条回复

AN
AnilBarnes0549

What does an actual failed response look like beside a successful one, using this installed version? Start there with its documentation. I'd want to see the error field and the data the wrapper is currently picking out.

19
RE
RebeccaAdams0169

Developer found it tests whether the whole response is non-empty. Even the error response passes.

16
AN
AnilBarnes0549

That would explain it. Ask them to check documented success before reading the status payload, and keep the failed example for a regression test. An empty response needs a case too.

23
IS
IsaacBaker0520

What happens to the last good value on the screen? Our stock display once kept an old number perfectly legible through a failed refresh, and everyone assumed it was current because nothing looked different.

8
RE
RebeccaAdams0169

Ours keeps it green. So that's two changes needed.

21
RE
RebeccaAdams0169

Draft now says current status unavailable. Last reading has its own age beside it. Developer is testing missing fields and unexpected shapes as well.

2
AN
AnilBarnes0549

Can the display tell a valid negative status from a failed request? Those could both become false in a simple wrapper, but the operator needs different information for them.

15
CH
ChenBarnes0529

Please try it from the other side of the bench. We had a screen whose stale-data warning was technically present, in tiny grey text under a huge green value. Lovely in the screenshot, useless where people stood.

2
RE
RebeccaAdams0169

Fair point. Warning is now beside the value, same readable size. Valid negative and failed request display differently.

13
AN
AnnaAbbott0068

Keep the words too; changing green to another colour isn't much of an explanation.

11
AN
AnilBarnes0549

Have you captured the version and response examples with the wrapper change? I don't want the next laptop rebuild to put you through this again because the working assumption lived only in the developer's head.

24
RE
RebeccaAdams0169

Yes. Offline cases pass. Waiting for the agreed read-only checks on the bench before release.

5
CH
ChenBarnes0529

Good, let us know how the screen reads in use. I'm particularly interested in that old value after a failed refresh.

13

讨论已关闭

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