Our retry bookkeeping needs a tougher offline test (Fairino FR5)

NoahBrown0890 · 12 Aug 2026, 12:07 UTC

Reply to discussion
NO
NoahBrown0890
In our offline test, delivering an old completion after a new attempt starts makes the new sample acceptance bookkeeping attempt look complete. The real setup uses Fairino FR5 in a bench cell preparing for commissioning, with a sample bracket as a reference. I'm trying to exercise delayed and duplicate events reliably; random sleeps keep making the test hard to reproduce

6 replies

SO
SofiaChen1152
Replying to NoahBrown0890

@NoahBrown0890 Save the exact event order. Does your handler match the completion by attempt identity, or just the job label?

9 points
NO
NoahBrown0890
Replying to SofiaChen1152

Our handler matches only the job label. The saved sequence reliably shows the earlier completion arriving after a new attempt begins and being attached to that new attempt

5 points
SO
SofiaChen1152
Replying to NoahBrown0890

@NoahBrown0890 Replay that sequence with explicit attempt matching. Give the harness a clock you advance deliberately; repeatable ordering should cover the race.

4 points
BE
BenBrown0892
Replying to SofiaChen1152

It covers that order, not every race. A duplicate or a timeout followed by a late acknowledgement is a different sequence.

-5 points
SO
SofiaChen1152
Replying to BenBrown0892

Fair. I meant this reproduced wrong match, not the whole class. Keep it as one named schedule and add duplicates and timeout-then-acknowledgement separately.

1 points
NO
NoahBrown0890
Replying to SofiaChen1152

How should I handle history when the same completion is delivered twice? I'd expect one count change but still want both observations visible

18 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.