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

The FR5 test completes the current coupon with yesterday's event

RaviBennett0737 · 2026年4月1日 09:15 UTC

回复讨论
RA
RaviBennett0737
Our offline result handler marks a new coupon attempt complete when an earlier completion arrives late. The event still has the earlier identity. I have been changing sleep durations to reproduce it, which feels like moving the problem around rather than testing it. I want a repeatable case the maintainer can keep.

15 条回复

CA
CalebAli0232

Choose delivery order explicitly. Assert the earlier and current attempts separately.

9
RA
RaviBennett0737

We can hold the earlier completion in a test queue and deliver it after creating the new attempt. That reproduces the failure without any sleep.

12
LU
LucyAbbott0045

Does the handler ignore the carried identity or overwrite it?

17
RA
RaviBennett0737

Ignores it. It finds the current attempt by the friendly job name, which both attempts share.

4
FE
FelixArcher0371

Then keep those equal job names in the test. Giving everything beautifully unique labels could let a wrong lookup pass while the real application keeps reusing names.

16
LO
LouisArcher0398

Can the support view open the earlier attempt as well?

13
CA
CalebAli0232

And distinguish a duplicate result from a different result for that earlier attempt.

18
RA
RaviBennett0737

Louis, yes. Each attempt has its own detail row. Caleb, the result identity is separate too; we will repeat the same result and supply a distinct conflicting one as separate cases.

1
LU
LucyAbbott0045

Good. A conflict needs review, not silent deduplication.

16
FE
FelixArcher0371

Add reopening between deliveries. The original result may be saved while the in-memory list of processed events has vanished. That's a different route back to the same inflated display.

5
RA
RaviBennett0737

Offline repair now looks up the carried attempt identity. The original late result updates the earlier attempt only; its duplicate adds no row. A distinct conflicting result stays visible for review.

21
LO
LouisArcher0398

What does a result with an unknown attempt do?

14
RA
RaviBennett0737

Stays unmatched, with its identity and reason available in the support view. It doesn't attach itself to the current coupon.

12
RA
RaviBennett0737

Reopen-between-deliveries also passes. We then deliver the current attempt's own result and it completes normally. Maintainer has the deterministic sequences and expected rows; this offline handler fix is finished.

17
FE
FelixArcher0371

Thanks for retaining the conflicting-result case. That's the sort of inconvenient evidence a too-helpful deduplicator can quietly throw away.

17

参与讨论

欢迎来到 Application Robot

所有人都可以阅读论坛。登录或注册后即可发起讨论、回复或上传照片。

忘记密码?

注册账号即表示你同意我们的 使用条款 社区准则。请阅读我们的 隐私政策 ,了解我们如何处理你的信息。