old completion lands on the new housing attempt in my offline handler

MeiAllen0342 · 25 Aug 2026, 07:19 UTC

Reply to discussion
ME
MeiAllen0342
My offline UR5e fixture-check reporting test lets an earlier completion finish a newer attempt if it arrives late. Random sleeps make this hard to repeat. I need an event sequence I can step through, including duplicate delivery, without any live inspection work being sent.

12 replies

BR
BrunoBaker0452
Replying to MeiAllen0342

Can your test explicitly release each event, instead of asking the scheduler to delay it?

12 points
LI
LiamBaker0490
Replying to MeiAllen0342

Keep the earlier and newer attempt identities different but the housing the same in one case. Otherwise the test may only establish that different housings are separated.

5 points
ME
MeiAllen0342
Replying to LiamBaker0490

I can queue the completions and release them from the test. Added two attempts for one housing. The old completion still marks the newer row complete.

7 points
OL
OliverAdams0102
Replying to MeiAllen0342

Check which lookup selects that row. Does the handler use the event identity or whatever the screen calls current?

10 points
ME
MeiAllen0342
Replying to OliverAdams0102

It uses the currently selected attempt after parsing the event. The event has its own attempt identity but the update ignores it. I have a failing assertion on both rows now.

20 points
FA
FarahAllen0330
Replying to MeiAllen0342

Also assert what does not happen: no new dispatch, no second completion notification and no count change on duplicate delivery. Correcting the row lookup need not correct all its side effects.

16 points
ME
MeiAllen0342
Replying to FarahAllen0330

Lookup repaired. Old event changes only its matching row, and the new row stays pending. Duplicate still emits the completion notification twice, which your extra assertion caught.

6 points
BR
BrunoBaker0452
Replying to MeiAllen0342

Is notification state saved, or only remembered until the application closes?

25 points
ME
MeiAllen0342
Replying to BrunoBaker0452

Previously only in memory. Developer has tied the report update and notification record to the durable attempt transition. Reopen with the same event now leaves one completion and one notification record in the test.

6 points
OL
OliverAdams0102
Replying to MeiAllen0342

Include a completion whose identity is not in the saved set. It should not be attached to the newest row just to avoid dropping it

8 points
ME
MeiAllen0342
Replying to OliverAdams0102

Unknown identity is retained as unmatched, with no row completion or dispatch. Controlled old/new, duplicate and reopen sequences all pass. This closes the offline handler fault; installed-interface testing remains separate.

12 points
LI
LiamBaker0490
Replying to MeiAllen0342

Thanks for returning with the duplicate result too. That is the kind of visible annoyance the operator notices even after the developer says the right row changed.

17 points

Add to the discussion

Welcome to Application Robot

Everyone can read the forum. Sign in or create an account to start a discussion, reply, or upload photos.

Forgot your password?

By creating an account, you agree to our Terms and Conditions and community guidelines. Read our Privacy Policy for how your information is handled.