Skip to content

修复手机号注册自动成功后复用旧身份#284

Open
qqqasdwx wants to merge 1 commit into
QLHazyCoder:devfrom
qqqasdwx:feature/phone-signup-auto-run-success-cleanup-pr
Open

修复手机号注册自动成功后复用旧身份#284
qqqasdwx wants to merge 1 commit into
QLHazyCoder:devfrom
qqqasdwx:feature/phone-signup-auto-run-success-cleanup-pr

Conversation

@qqqasdwx
Copy link
Copy Markdown

本次改动

  • 手机号注册自动轮次成功后,只有在当前 flow 的完整 workflow node 全部完成时,才清理本轮手机号注册运行态和绑定邮箱运行态。
  • 清理范围包括 signupPhone*accountIdentifier*phoneNumbercurrentPhoneActivationemailregistrationEmailStatestep8VerificationTargetEmail 等字段,避免下一轮复用上一轮手机号或绑定邮箱。
  • 补充自动运行控制器回归测试,并同步长期链路与结构文档。

风险与影响

  • 只影响手机号注册自动流程的成功收尾;未完整成功的轮次不会清理运行态,便于失败恢复继续使用当前上下文。
  • 不包含 Cloudflare Temp Email 固定子域,也不包含手机号密码页跳过注册尾部修复。

测试情况

  • git diff --check
  • node --check background.js && node --check background/auto-run-controller.js
  • node --test tests/auto-run-phone-signup-success-email-cleanup.test.js
  • npm test:1277 pass / 0 fail

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.

1 participant