How do I make event-order bugs repeatable? (sample acceptance bookkeeping)

PriyaChen1177 · 12 May 2026, 02:37 UTC

Reply to discussion
PR
PriyaChen1177
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 FR10 in a workshop fixture-checking station, with an inspection coupon as a reference. I'm trying to exercise delayed and duplicate events reliably; random sleeps keep making the test hard to reproduce

3 replies

JA
JasperCarter0986
Replying to PriyaChen1177

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

9points
PR
PriyaChen1177
Replying to JasperCarter0986

Just the job label. I've saved the sequence: earlier completion arrives after the new attempt starts. It reproduces the wrong match

4points
JA
JasperCarter0986
Replying to PriyaChen1177

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

19points

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.