Skip to content

dev2stg#5797

Open
domdinicola wants to merge 86 commits intostagingfrom
develop
Open

dev2stg#5797
domdinicola wants to merge 86 commits intostagingfrom
develop

Conversation

@domdinicola
Copy link
Collaborator

No description provided.

johniak and others added 30 commits March 2, 2026 16:31
…manage household ID collisions for RDI imports
Implemented two new test cases to verify the behavior of the CreateLaxHouseholds endpoint when handling household ID collisions. The tests ensure that existing household IDs are registered correctly in extra_hh_rdis and that no new PendingHousehold records are created when collisions occur.
…ng and improve payload validation

Updated the logic in the CreateLaxHouseholds class to enhance the management of household ID collisions and ensure valid payloads are processed correctly. The changes include consolidating error handling and adjusting the flow for adding extra household RDI IDs.
…d RDIs

Updated the logic in the CreateLaxHouseholds class to correctly reference the selected RDI when adding extra household RDIs. This change ensures that the appropriate RDI instance is used, improving the accuracy of household data management.
…specific fields

Updated the _manage_collision method to handle household data collisions by excluding certain fields from being overwritten. This ensures that critical household information remains intact during updates. Additionally, removed unnecessary assertions from the test suite related to collision detection.
@codecov
Copy link

codecov bot commented Mar 10, 2026

Codecov Report

❌ Patch coverage is 98.96907% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.09%. Comparing base (aacf0d5) to head (00a3f2f).
⚠️ Report is 1 commits behind head on staging.

Files with missing lines Patch % Lines
src/hope/apps/payment/api/views.py 92.59% 1 Missing and 1 partial ⚠️
...istration_data/services/biometric_deduplication.py 97.50% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           staging    #5797      +/-   ##
===========================================
+ Coverage    91.01%   91.09%   +0.08%     
===========================================
  Files          500      500              
  Lines        34152    34369     +217     
  Branches      3533     3548      +15     
===========================================
+ Hits         31082    31307     +225     
+ Misses        2276     2271       -5     
+ Partials       794      791       -3     
Flag Coverage Δ
e2e 52.72% <42.61%> (+0.06%) ⬆️
unit 90.71% <98.96%> (+0.06%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

7 participants