fix(ad): 失败领券任务不再归属迟到广告收益 #149

Merged
guke merged 2 commits from codex/fix-coupon-ad-late-callback into main 2026-07-21 13:41:29 +08:00
Member

修复内容

  • coupon 广告上报到达时校验对应领券 session 状态
  • session 已 failed 时保留全局广告收益记录,但清空 trace 归属,失败明细不再显示收益
  • 增加失败 trace、其他场景和未知 trace 的回归测试

验证

  • 相关 pytest:7 passed
  • Ruff:通过
  • compileall:通过
## 修复内容 - coupon 广告上报到达时校验对应领券 session 状态 - session 已 failed 时保留全局广告收益记录,但清空 trace 归属,失败明细不再显示收益 - 增加失败 trace、其他场景和未知 trace 的回归测试 ## 验证 - 相关 pytest:7 passed - Ruff:通过 - compileall:通过
linkeyu changed target branch from feat/admin-dashboard-0716-optimizations-v2 to main 2026-07-21 11:43:54 +08:00
linkeyu added 2 commits 2026-07-21 11:43:54 +08:00
guke merged commit 1f874819fd into main 2026-07-21 13:41:29 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: WonderableAI/shaguabijia-app-server#149