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

The SDK changed shape and my parser didn't (Fairino FR10)

NathanBrown0895 · 2026年5月24日 19:25 UTC

回复讨论
NA
NathanBrown0895
Our dashboard for diagnostic status retrieval on Fairino FR10 expected a status value from the old SDK. The replacement environment returns a container with extra information, and our screen now shows a plausible status even when a request fails. This is in a bench integration setup, with a fixture block as a reference. I'm trying to fix how we interpret the answer.

6 条回复

HA
HazelChan1093

Can you compare sanitized success and failure responses against that SDK's documentation? The useful detail is which field your wrapper treats as status.

21
NA
NathanBrown0895

@HazelChan1093 I've checked our saved examples. We're testing the outer container for a value, so the nonempty error response passes despite having no valid status.

2
HA
HazelChan1093

Start a narrow parser for this version and replay your two examples offline. Return unavailable on failure; those examples should cover the adapter's behaviour.

22
LI
LinBaker0444

That covers this bug. What about a transport exception or missing field? Neither has to look like your saved error.

17
HA
HazelChan1093

Fair point. Those two are a regression case, not full coverage. The adapter also needs documented error cases, transport exceptions and malformed responses exercised.

18
NA
NathanBrown0895

@HazelChan1093 Can our screen just say unavailable, but retain the reason?

7

参与讨论

欢迎来到 Application Robot

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

忘记密码?

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