Skip to content

fix(imap): 修复验证码提取详情错配#67

Open
hongdongjian wants to merge 1 commit into
ZeroPointSix:mainfrom
hongdongjian:fix/imap-verification-detail-mismatch
Open

fix(imap): 修复验证码提取详情错配#67
hongdongjian wants to merge 1 commit into
ZeroPointSix:mainfrom
hongdongjian:fix/imap-verification-detail-mismatch

Conversation

@hongdongjian
Copy link
Copy Markdown

摘要

修复 IMAP 验证码提取时 matched_email_id 与实际提取正文不一致的问题。

修改

  • IMAP 批量 fetch 返回后按请求的 paged_ids 顺序重排。
  • 验证码渠道路由校验 detail.id 与 latest.id,不一致时重新获取详情。
  • 增加乱序返回和 detail/latest 不一致的回归测试。

测试

  • tests.test_imap_connection_reuse: 8 passed
  • VerificationChannelRoutingLogChannelTests: 3 passed
  • git diff --check: passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants