Skip to content

v4.13#5856

Merged
ntrncic merged 257 commits intomasterfrom
staging
Apr 7, 2026
Merged

v4.13#5856
ntrncic merged 257 commits intomasterfrom
staging

Conversation

@domdinicola
Copy link
Copy Markdown
Contributor

No description provided.

pavlo-mk and others added 30 commits March 4, 2026 14:27
…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.
pavlo-mk and others added 23 commits March 26, 2026 13:18
)

Co-authored-by: marekbiczysko <marek.biczysko@tivix.com>
* Refactor API tests to pytest functions + new factories

* test_tasks.py: refactor

* test_upload: increasing coverage

* Celery tasks coverage improvement
… reconciliation overdue recipients (#5850)

* exclude staff

* fix reconciliantion in include program, optimize
# Conflicts:
#	src/hope/apps/payment/services/payment_plan_services.py
#	tests/unit/api_contract/_api_checker/test_verification_records/_api_rest_business-areas_business-area-0_programs_8u0m_payment-verifications_ed72c97f-7f07-4a10-8b67-2c9ae8f67f34_verifications_/get/dc937b59892604f5a86ac96936cd7ff09e25f18ae6b758e8014a24c7fa039e91.response.json
#	tests/unit/api_contract/_api_checker/test_verification_records/_api_rest_business-areas_business-area-0_programs_8u0m_payment-verifications_ed72c97f-7f07-4a10-8b67-2c9ae8f67f34_verifications_d7b0b4ff-7a96-47ca-a5e0-3aeb40b23c73_/get/dc937b59892604f5a86ac96936cd7ff09e25f18ae6b758e8014a24c7fa039e91.response.json
#	tests/unit/api_contract/_api_checker/test_verification_records/_api_rest_business-areas_business-area-0_programs_cno6_payment-verifications_66fc7e08-d0ad-40aa-a165-346c09f70076_verifications_/get/dc937b59892604f5a86ac96936cd7ff09e25f18ae6b758e8014a24c7fa039e91.response.json
#	tests/unit/api_contract/_api_checker/test_verification_records/_api_rest_business-areas_business-area-0_programs_cno6_payment-verifications_66fc7e08-d0ad-40aa-a165-346c09f70076_verifications_3463c79e-b9ac-441f-8f57-923a6b6596b0_/get/dc937b59892604f5a86ac96936cd7ff09e25f18ae6b758e8014a24c7fa039e91.response.json
#	tests/unit/api_contract/_api_checker/test_verification_records/_api_rest_business-areas_business-area-0_programs_pc95_payment-verifications_f6fdb805-6ec5-476d-b72a-d0e8c13b0321_verifications_/get/dc937b59892604f5a86ac96936cd7ff09e25f18ae6b758e8014a24c7fa039e91.response.json
#	tests/unit/api_contract/_api_checker/test_verification_records/_api_rest_business-areas_business-area-0_programs_pc95_payment-verifications_f6fdb805-6ec5-476d-b72a-d0e8c13b0321_verifications_b318df4f-09db-4e5e-ad03-e60fbf4e0da8_/get/dc937b59892604f5a86ac96936cd7ff09e25f18ae6b758e8014a24c7fa039e91.response.json
#	tests/unit/apps/payment/test_payment_plan_services.py
[AB#290132]-set up document type to empty in initial household filter
Targeting - Add option to list IDs that will pay alternative collector instead of Primary collector
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 30, 2026

Codecov Report

❌ Patch coverage is 97.22222% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.29%. Comparing base (ba59235) to head (4a6b73c).
⚠️ Report is 258 commits behind head on master.

Files with missing lines Patch % Lines
...pe/apps/grievance/api/serializers/ticket_detail.py 0.00% 1 Missing and 1 partial ⚠️
src/hope/apps/payment/api/serializers.py 92.30% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5856      +/-   ##
==========================================
+ Coverage   91.10%   91.29%   +0.18%     
==========================================
  Files         500      499       -1     
  Lines       34372    34373       +1     
  Branches     3549     3562      +13     
==========================================
+ Hits        31316    31382      +66     
+ Misses       2268     2214      -54     
+ Partials      788      777      -11     
Flag Coverage Δ
e2e 52.67% <68.51%> (-0.03%) ⬇️
unit 90.94% <97.22%> (+0.21%) ⬆️

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.

@johniak
Copy link
Copy Markdown
Contributor

johniak commented Mar 31, 2026

@domdinicola @ntrncic How it is possible that we have +19,620 lines modified in this PR and 3 uncovered lines makes 96.80851% patch coverage?

@domdinicola Do we want to keep it in “Ready for review” status and clutter the list?

johniak and others added 2 commits April 7, 2026 09:59
# Conflicts:
#	tests/unit/apps/payment/test_payment_plan_services.py
@ntrncic ntrncic merged commit 6af12f8 into master Apr 7, 2026
16 checks 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.

10 participants