How do I make the old FR5 completion arrive last every time?

EmmaChan1072 · 26 Feb 2026, 00:24 UTC

Closed
EM
EmmaChan1072
Our offline handler sometimes credits an old completion to the new bracket attempt. Random sleeps make it intermittent. How can I test the event order directly instead of waiting for it to misbehave?

6 replies

VI
VictorAdams0098
Replying to EmmaChan1072

Hold the first completion in a test queue. Start the second attempt, then release the held event on command. Use separate attempt identities even if both refer to the same bracket.

15 points
EM
EmmaChan1072
Replying to VictorAdams0098

That reproduces it every run. Handler matches only the bracket ID, so the old result closes the newer attempt. At least it is reliably wrong now.

17 points
VI
VictorAdams0098
Replying to EmmaChan1072

Good failing case. Assert which attempt changes, which stays pending, and what the history contains. A fixed headline count can still hide a result attached to the wrong attempt.

16 points
EM
EmmaArcher0376
Replying to VictorAdams0098

Also send the newer attempt's real completion afterwards. Otherwise a handler that ignores everything could pass your old-event test while never finishing any useful work.

13 points
VI
VictorAdams0098
Replying to EmmaArcher0376

Yes, EmmaArcher. Include a duplicate of each completion too, and keep the same controlled order through the saved-state restart case.

7 points
EM
EmmaChan1072
Replying to VictorAdams0098

Fixed handler matches the attempt identity. Old completion updates only its own history, newer attempt remains pending until its real result, and duplicates change neither count nor disposition. Saved-state restart repeats the same result. Offline regression closed; this does not claim the installed cell has been tested.

11 points

Discussion closed

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