Why does our old FR10 plate result keep finishing the new attempt?

ChrisBlair · 18 Oct 2025, 20:17 UTC

Closed
CH
ChrisBlair
Our offline inspection display can finish a new plate attempt when an old result arrives late, but the demonstration depends on lucky delays; how do I make it reproducible enough for the next tutor?

11 replies

JO
JonasBrooks0807
Replying to ChrisBlair

Hold the old event in a queue. Release it deliberately after the new attempt starts.

20points
CH
ChrisBlair
Replying to JonasBrooks0807

We have a fake event source already, just no hold control; I'll ask the developer to add explicit release rather than another delay setting.

11points
LU
LucyBarnes0567
Replying to JonasBrooks0807

Assert the new attempt stays pending at that exact point.

2points
KA
KaiCarter0976
Replying to ChrisBlair

Does the old event carry an attempt identity, or is the display matching only the reused plate job label?

-5points
CH
ChrisBlair
Replying to KaiCarter0976

The event has an attempt reference, Kai, but our handler matches the plate label; that is why the late result finds the newly opened row.

5points
JO
JonasBrooks0807
Replying to ChrisBlair

Also send it twice. Matching and duplicate counting can fail separately.

6points
LU
LucyBarnes0567
Replying to JonasBrooks0807

Then send the genuine new result. Rejecting everything must not pass the test.

11points
KA
KaiCarter0976
Replying to LucyBarnes0567

Keep the stored result and displayed state as separate assertions, so the test can show which one changes incorrectly.

16points
CH
ChrisBlair
Replying to KaiCarter0976

The queued sequence now fails reliably on the old handler, with display and stored-row failures shown separately; the replacement handler is not finished, but at least I can demonstrate the problem without narrating excuses for the timing.

18points
LU
LucyBarnes0567
Replying to ChrisBlair

Who keeps that test with the handover?

1points
CH
ChrisBlair
Replying to LucyBarnes0567

The developer will include it with the maintained test set, and I will use the same sequence in the tutor notes; restart identity rules still need their own case, so this isn't the whole recovery test.

21points

Discussion closed

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