简体中文界面。帖子、指南及政策正文保留原文;未对原文作自动翻译。

Our FR5 delayed-result test still depends on sleeping long enough

SamAli0246 · 2026年2月14日 03:35 UTC

已关闭
SA
SamAli0246
We have real attempt references now. Random delays still miss the bad ordering. I need explicit event release.

8 条回复

JA
JasperAbbott0029
回复 SamAli0246

Can your test retain the first completion in a queue, start the second attempt, then release that saved event when you choose? That would remove the timing lottery.

20
SA
SamAli0246

Developer can control that boundary. We are using the retained messages with their actual attempt references.

14
BE
BenBrown0892
回复 SamAli0246

I'd also send the new completion twice. Otherwise you fix yesterday's message and still get two rows from today's one. The screen can look perfectly sensible while the report is a mess.

13
TO
TobyBell0666

Give the test an expected accepted-item total and expected attempt history as well, so it checks what the next person reads rather than only whether a handler returned normally.

-7
SA
SamAli0246

Explicit queue reproduces the bug every time. Old completion closes the new attempt because matching uses the sample only.

8
JA
JasperAbbott0029
回复 SamAli0246

So the sample identity is being asked to identify an attempt too. Can the state update require the current attempt reference before it marks anything complete?

4
SA
SamAli0246

Corrected there. Old completion no longer closes the new attempt. Current duplicate adds no second result row.

23
BE
BenBrown0892
回复 SamAli0246

Decent. Keep those exact event orders in the regression set, including the downstream count Toby mentioned. Much easier to explain than 'try it until the bad thing happens'.

14

讨论已关闭

此讨论已连续六个月没有活动,现已关闭新回复。 最后活动: .