Skip to content

test(spp_programs): cover mark_*_as_done and force-unlock branches fo…

da15f26
Select commit
Loading
Failed to load commit list.
Open

fix(spp_programs): release stuck cycle/program lock when async pipeline fails #188

test(spp_programs): cover mark_*_as_done and force-unlock branches fo…
da15f26
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded May 5, 2026 in 0s

71.55% (-0.08%) compared to 0627ab1

View this Pull Request on Codecov

71.55% (-0.08%) compared to 0627ab1

Details

Codecov Report

❌ Patch coverage is 71.84466% with 29 lines in your changes missing coverage. Please review.
✅ Project coverage is 71.55%. Comparing base (0627ab1) to head (da15f26).
⚠️ Report is 21 commits behind head on 19.0.

Files with missing lines Patch % Lines
spp_programs/models/managers/cycle_manager_base.py 70.00% 12 Missing ⚠️
spp_programs/models/managers/payment_manager.py 57.14% 6 Missing ⚠️
...ograms/models/managers/entitlement_manager_base.py 66.66% 5 Missing ⚠️
spp_programs/models/managers/program_manager.py 76.47% 4 Missing ⚠️
...rams/models/managers/entitlement_manager_inkind.py 0.00% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             19.0     #188      +/-   ##
==========================================
- Coverage   71.63%   71.55%   -0.08%     
==========================================
  Files         933      941       +8     
  Lines       55370    55030     -340     
==========================================
- Hits        39664    39379     -285     
+ Misses      15706    15651      -55     
Files with missing lines Coverage Δ
spp_programs/__manifest__.py 0.00% <ø> (ø)
spp_programs/models/cycle.py 65.74% <100.00%> (+0.47%) ⬆️
...ograms/models/managers/entitlement_manager_cash.py 63.00% <100.00%> (-0.32%) ⬇️
spp_programs/models/programs.py 87.96% <100.00%> (+0.43%) ⬆️
...rams/models/managers/entitlement_manager_inkind.py 54.76% <0.00%> (-0.66%) ⬇️
spp_programs/models/managers/program_manager.py 90.07% <76.47%> (-2.85%) ⬇️
...ograms/models/managers/entitlement_manager_base.py 72.46% <66.66%> (+0.12%) ⬆️
spp_programs/models/managers/payment_manager.py 58.57% <57.14%> (+1.61%) ⬆️
spp_programs/models/managers/cycle_manager_base.py 71.38% <70.00%> (+1.15%) ⬆️

... and 20 files with indirect coverage changes

🚀 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.