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

Our read-only screen stays cheerful through a failed request

OliverChen1146 · 2025年8月18日 01:12 UTC

已关闭
OL
OliverChen1146
I've helped create the stale-status problem I was warning somebody else about: our FR10 dashboard now gets a response container from the replacement SDK, the wrapper grabs a plausible value and the screen still looks current when the request failed, so what should the software owner check first?

4 条回复

LU
LuisBrown0956

Start with the documented response contract for the installed SDK and the raw response from that failed call. Have the wrapper check success and structure before publishing a value. Keep any last valid reading explicitly historical, with its original observation time.

22
OL
OliverChen1146

We captured it and the wrapper is reading a field without checking the request outcome, so the owner is fixing that boundary; I also found the display time comes from refresh, not the successful observation, which makes the old value look freshly delivered

13
LU
LuisBrown0956

Test success followed by failure, malformed data and missing data. The screen should lose its current-status presentation on each failed interpretation, while any retained historical value keeps its old time. Check against your version's actual responses as well as the offline examples.

14
NA
NaomiBarnes0593

Has the owner changed both parts, the response interpretation and the display timestamp? Fixing one could leave the other still misleading. Please report those separately when tested.

9

讨论已关闭

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