FR10 tracker gives a late coupon result to the newer attempt

AlexBell0646 · 15 Dec 2025, 17:17 UTC

Closed
AL
AlexBell0646
My offline test only fails sometimes with random delays. How do I deliver the old completion at one exact point every run?

12 replies

NI
NinaAli0240
Replying to AlexBell0646

Use explicit test steps or barriers instead of random sleeps: start the newer attempt, confirm that state is reached, then deliver the retained older event. Keep attempt identities in the test data and assert which attempt changes, not only whether a total increments.

20 points
AL
AlexBell0646
Replying to NinaAli0240

Both attempts have distinct IDs. The newer one becomes complete when the old event arrives.

25 points
NO
NoraAli0235
Replying to AlexBell0646

Assert that the newer attempt stays unchanged. A successful-looking final counter is not enough.

7 points
AD
AdaAllen0303
Replying to AlexBell0646

Keep repeated delivery of the current event separate from delivery of the older one. Those expose different mistakes, even if both used to appear as an extra finished item.

5 points
SA
SarahBrown0937
Replying to NinaAli0240

I'd include restoring the saved history before the delayed delivery, because a clean test start can hide what your real tracker already knows about the old attempt

16 points
AL
AlexBell0646
Replying to NinaAli0240

Added an explicit release step for the old event. Failure now repeats without waiting for luck.

10 points
NI
NinaAli0240
Replying to AlexBell0646

Good. Keep that failing sequence while the implementation changes, then assert both persisted state and the report output. Correctly retaining the attempt record does not automatically prevent a separate display path announcing a new completion.

19 points
NO
NoraAli0235
Replying to NinaAli0240

And include a genuinely new result. Don't make ignoring all completions pass the tests.

22 points
AD
AdaAllen0303
Replying to SarahBrown0937

Does the test restore the same identity scope as the installed tracker, including job run if attempt numbers repeat?

11 points
AL
AlexBell0646
Replying to AdaAllen0303

Yes, job-run plus attempt identity. Report assertions are still incomplete; stored-state assertions now cover the old event.

20 points
SA
SarahBrown0937
Replying to AlexBell0646

Keep that remaining report work visible in the handover note, Alex, so a passed tracker test isn't read as proof that every screen counts correctly

7 points
NI
NinaAli0240
Replying to AlexBell0646

Please return with the repeated-current and report results when they are ready. You now have a repeatable old-event failure, which is useful progress, not yet the whole regression set.

5 points

Discussion closed

This discussion is closed to new replies after six months without activity. Last activity: .