Our FR5 dashboard shows a mode after the status read fails
OmarAbbott0056 · 2025年8月28日 03:21 UTC
主帖中文翻译暂不可用,以下显示英文原文;回复保留原文。 查看英文原文
12 条回复
Can the software maintainer compare the supported version's documented success and failure replies with the wrapper's assumptions?
11分Maintainer already found it treats the returned container as a success flag.
12分Is the displayed mode taken from that failed reply, or retained from an earlier successful one?
18分Either way, show people that the read failed. Keeping the last mode can be useful, but not when it sits there pretending to be fresh news.
6分Earlier successful value. Failed reply has no usable mode.
18分Then test the good-to-failed transition as well as each response separately, so the display cannot retain current status after the failed read.
14分Added to maintainer's test list. Current dashboard isn't being used to decide cell operation.
10分Our wrapper once guessed a mode from a missing field. Include malformed replies too, with no fallback to a plausible operational state.
11分Missing fields included. Unexpected shapes still need a case.
17分I would include startup before any valid reading, then a failed read after success and an unexpected response shape, checking that the operator can distinguish unavailable status from an actual reported mode in each case.
9分Who owns updating those examples when the SDK changes again? Otherwise the wrapper and the tests can grow old together while agreeing beautifully.
9分Software maintainer owns them with the version record. Test version marks stale and unavailable explicitly. Controller comparison remains outstanding.
14分讨论已关闭
此讨论已连续六个月没有活动,现已关闭新回复。 最后活动: .