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

Old housing completion makes the next UR5e attempt look finished

HanaCarter0970 · 2026年6月13日 06:23 UTC

回复讨论
HA
HanaCarter0970
Our offline tracker fails when an old completion arrives after a new attempt begins. Random sleeps make the failure frustratingly inconsistent. How should I control event order and retain both attempts' evidence?

11 条回复

SA
SaraChen1157

Could you queue the events and release each explicitly in the test? Start the second attempt, then deliver the first completion, without depending on elapsed wall-clock time.

17
HA
HanaCarter0970

That is manageable. I can call the same event handler from a controlled queue. At present it assigns any completion to whichever attempt is current.

10
LU
LucyBrown0915

Then test identity as well as order. Give the housing job and each attempt explicit identifiers. The old completion must retain its old identity when delivered; relabelling it at the handler would make the test dishonest.

6
OS
OscarBrooks0793

Include a duplicate of the new result too. Fixing old-versus-new can still leave one current attempt counted twice when its own completion is delivered again.

-3
HA
HanaCarter0970

I've added an event list containing the old completion, the current completion and a duplicate. Each carries the identity it had when created; delivery order is set by the test.

13
SA
SaraChen1157

What should happen to a result whose identity matches nothing in the restored history? I'd make that expectation explicit too, rather than merely asserting the current attempt stays incomplete.

4
HA
HanaCarter0970

It should remain unmatched for review, with its original identity visible. We currently discard it, which loses evidence I may need to explain an interrupted check.

19
LU
LucyBrown0915

Exercise restart between deliveries. Restore the recorded attempt history, not an empty convenient state. And check the report total separately; a deduplicated result list can still leave an incrementing counter wrong.

13
OS
OscarBrooks0793

A replay that ends with one accepted housing and several retained events would be a useful handover example. The report should explain why those numbers differ, not try to make them match.

20
HA
HanaCarter0970

The controlled offline cases now keep the two attempts separate across restart and retain unmatched events. Duplicate delivery leaves the accepted count unchanged. The real interface still needs checking for the same identity information.

7
SA
SaraChen1157

That last check matters. Your queue can prove how the software handles supplied identities, but it cannot establish that the actual controller exchange provides them in that form.

15

参与讨论

欢迎来到 Application Robot

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

忘记密码?

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