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

FR10 availability wrapper recognises errors but still displays an answer

ElliotArcher0422 · 2026年7月4日 19:39 UTC

回复讨论
EL
ElliotArcher0422
I know unsupported payloads need an explicit failure. This FR10 replacement environment returns a container instead of the old status value, and our availability display still finds a plausible answer in failed requests. Which path needs checking next?

9 条回复

HA
HassanBarnes0530

Trace one retained failed response through the wrapper to the display, with the imported version identified; knowing the desired failure state does not show whether the adapter or a later fallback is replacing it

10
EL
ElliotArcher0422

Adapter returns unavailable correctly for the saved failure. The display handler catches that and substitutes its configured default status. So the false reading comes after decoding, not from a mysterious numeric field

6
AD
AdaBarnes0564

Is that default also shown at startup before the first successful read?

10
HA
HassanBarnes0530

That would be worth separating from retained history too, Ada, because a default has never been observed while a last valid value was observed at some earlier time

-8
EL
ElliotArcher0422

Yes, startup uses it too. We've removed that fallback. Initial state is no observation; failures show current information unavailable, with any earlier reading labelled as history rather than substituted as the answer

11
AD
AdaBarnes0564

Have you tested good data followed by malformed data through the complete display path?

12
HA
HassanBarnes0530

And use the installed-version success and failure examples rather than making both environments obey one invented response shape; the shared display meaning can stay consistent while each supported adapter interprets its own contract

3
EL
ElliotArcher0422

Both supported adapters and the normal display now pass startup, good-then-failed, good-then-malformed and reopening with history. The read-only controller comparison also completed. No fabricated default reading returns after any of those cases

13
AD
AdaBarnes0564

That answers the actual defect. Keep the startup case beside the sequence tests; there was no previous reading to blame there.

16

参与讨论

欢迎来到 Application Robot

所有人都可以阅读论坛。登录或注册后即可发起讨论、回复或上传照片。

忘记密码?

注册账号即表示你同意我们的 使用条款 社区准则。请阅读我们的 隐私政策 ,了解我们如何处理你的信息。