Repository navigation
Personal ID: Move to the forgot backup code flow when locked account for an user with email - #3962
shubham1g5 wants to merge 2 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (13)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe PersonalID API client version changes from 2.0 to 3.0. When backup-code confirmation returns Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Sequence Diagram(s)sequenceDiagram
participant BackupCodeFragment
participant PersonalIdApiClient
participant EmailOtpScreen
BackupCodeFragment->>PersonalIdApiClient: Submit backup-code confirmation
PersonalIdApiClient-->>BackupCodeFragment: Return ACCOUNT_LOCKED_ERROR
BackupCodeFragment->>BackupCodeFragment: Show locked-code toast
BackupCodeFragment->>EmailOtpScreen: Open recovery with masked email
Possibly related PRs
Suggested reviewers: Merge Risk: ⚪ Minimal · up to Users with a locked backup code and a masked email can proceed to email recovery. The reviewed evidence establishes no concrete defect requiring this draft to be held. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)✅ Passed checks (3 passed)Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 8 functions across 3 files. (10 skipped: 10 unsupported.) Full details: Description checkExplanation The description includes the ticket, specification, safety story, and review labels. It does not include the required Technical Summary heading or Automated test coverage section, and the Product Description does not clearly describe the user-facing locked-account flow. Resolution Add a Technical Summary section with the rationale and design decisions. Add an Automated test coverage section that names the recovery test and the conditions it verifies. Update the Product Description to describe the locked-account user flow and API version change. Clarify the manual-testing status and explain any remaining coverage gap.
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## commcare_2.65 #3962 +/- ##
===================================================
+ Coverage 37.32% 37.43% +0.10%
- Complexity 6864 6874 +10
===================================================
Files 1034 1034
Lines 61094 61101 +7
Branches 7472 7474 +2
===================================================
+ Hits 22802 22871 +69
+ Misses 35637 35560 -77
- Partials 2655 2670 +15 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
conroy-ricketts
left a comment
There was a problem hiding this comment.
LGTM, but think we should not merge until it can be tested
Product Description
https://dimagi.atlassian.net/browse/CCCT-2912
Spec
Bumps the API version to 3.0 for Personal ID endpoints.
Safety Assurance
Safety story
Labels and Review