our old ur5e completion keeps stealing the new attempt

OliverChan1059 · 2026年4月1日 07:40 UTC

已关闭

主帖中文翻译暂不可用,以下显示英文原文;回复保留原文。 查看英文原文

OL
OliverChan1059
The offline test has two inspection attempts and one late completion. Deliver the old result after the new attempt starts and the new one turns complete. Random sleeps make this fail only when they feel cooperative. I want the event order under direct control.

5 条回复

FA
FarahAllen0330

Use an explicit delivery queue, then assert both stored attempts after the old completion arrives; preserve the original attempt identity instead of looking up whichever attempt is current.

6分
OL
OliverChan1059

Queue added. Same sequence now fails every run. The event carries the old identity, but our lookup uses the current attempt for the job name.

7分
FA
FarahAllen0330

Test its genuine late completion against the old attempt, plus duplicate delivery and the new attempt's own result. The fix must preserve legitimate older evidence as well as protect the new state.

6分
OL
OliverChan1059

Handler corrected in the offline build. Old result completes its own attempt, duplicate adds nothing, and the new attempt waits until its result arrives. Thanks, Farah, checking both rows caught more than watching the current tile.

14分
FA
FarahAllen0330

Does the same identity handling survive reopening the application, or is part of the duplicate protection still only in memory?

13分

讨论已关闭

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