mirror of
https://github.com/cnlimiter/codex-register.git
synced 2026-05-12 02:21:07 +08:00
1.1 KiB
1.1 KiB
Task 5 Validation - 2026-03-23
Scope
- Task 5
- OTP timeout backoff handling
- Registration controller backoff state persistence
Commands
-
./.venv/bin/python -m pytest tests/test_registration_email_service_failover.py tests/test_registration_otp_phase.py- exit code:
0 - result:
4 passed - notes: 存在项目既有的 SQLAlchemy / Pydantic / FastAPI deprecation warnings,本次任务未改动相关代码路径。
- exit code:
-
./.venv/bin/ruff check src/services/base.py src/web/routes/registration.py tests/test_registration_email_service_failover.py- exit code:
127 - result: failed
- notes:
.venv/bin/ruff不存在。
- exit code:
-
./.venv/bin/python -m ruff check src/services/base.py src/web/routes/registration.py tests/test_registration_email_service_failover.py- exit code:
1 - result: failed
- notes: 虚拟环境未安装
ruff模块,未完成 lint 校验。
- exit code:
Summary
- 回归测试通过,覆盖
OTP_TIMEOUT_SECONDARY连续 3 次失败进入3600s深度冷却。 - Lint 校验因环境缺少
ruff未执行。