The old result won the race again

NathanBell0634 · 14 Mar 2025, 20:35 UTC

Closed
NA
NathanBell0634
My little offline test for our FR5 bracket checks has become a lottery. Retry starts, old completion turns up, new attempt gets a green tick. I can make it happen by clicking things in the wrong order, but the test with random delays keeps passing. I'm clearly testing my luck here, not the fix.

8 replies

LU
LucaBarnes0526
Replying to NathanBell0634

Make the test deliver the old completion on command, because you already know the order that causes trouble; there's no need to ask a random delay to recreate it.

20 points
NA
NathanBell0634
Replying to LucaBarnes0526

Done. Fails every single time now. Oddly satisfying.

3 points
LU
LucaBarnes0526
Replying to NathanBell0634

Can it tell the two attempts apart, or do both results just carry the bracket's job label?

12 points
IM
ImranBell0653
Replying to LucaBarnes0526

And does the result carry that identity back? Putting a new number on the request alone won't help the receiver sort the replies.

9 points
LU
LucaBarnes0526
Replying to ImranBell0653

Yes, I meant an identity on both ends, thanks for catching that omission.

12 points
NA
NathanBell0634
Replying to LucaBarnes0526

Both had the job label only. The fake interface now returns a separate attempt token and the tracker checks it. Old completion leaves the new attempt waiting. Real interface still needs that change agreed with its owner.

6 points
LU
LucaBarnes0526
Replying to NathanBell0634

Try delivering the new result twice too, because one correct completion shouldn't become two accepted parts in your totals.

8 points
SA
SarahBaker0502
Replying to NathanBell0634

Also try a result after cancellation. Cancelled should stay cancelled.

11 points

Discussion closed

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