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

Why does my old completion tick off the new attempt?

Diane_Bowen · 2026年2月20日 10:43 UTC

已关闭
DI
Diane_Bowen
My delayed result completes the wrong bracket attempt. Same job label, different attempt; sleeps won't reproduce it reliably.

8 条回复

AN
AnnaCarter1025

What do you observe if you hold the first completion, start the second attempt, then release the held event deliberately? A small controllable event queue should let you repeat that exact order without guessing a delay

13
HE
HenryAli0177

Assert both attempts, not just the current tile. The old result should remain attached to its own attempt, while the new attempt remains waiting and the completed-part count follows your defined reconciliation rule.

19
DI
Diane_Bowen

Queue reproduces it every time. Handler looks up the latest attempt by job label. Found the shortcut.

4
SA
SamBarnes0594

Can the event identify its own attempt without relying on which row happens to be latest?

15
DI
Diane_Bowen

Yep, it already carries the attempt ID. We dropped it in the adapter, embarrassingly.

15
AN
AnnaCarter1025

Then test through that adapter as well as the handler. Otherwise a corrected handler test can pass while the real incoming event still loses its identity. Include duplicate delivery and an unknown attempt ID in the same controlled sequence

19
DI
Diane_Bowen

Fixed adapter and lookup. Delayed, duplicated and unknown-ID cases pass through the application boundary; unknowns stay unassigned.

6
SA
SamBarnes0594

Does the support view show why an unassigned result was left there?

10

讨论已关闭

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