Skip to content

fix: include enrollment_date in bulk SQL insert, hoist Date.today()

5f8bf9b
Select commit
Loading
Failed to load commit list.
Open

perf: bulk membership creation with INSERT ON CONFLICT DO NOTHING #149

fix: include enrollment_date in bulk SQL insert, hoist Date.today()
5f8bf9b
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 3, 2026 in 0s

71.11% (+0.04%) compared to f738582

View this Pull Request on Codecov

71.11% (+0.04%) compared to f738582

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.11%. Comparing base (f738582) to head (5f8bf9b).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             19.0     #149      +/-   ##
==========================================
+ Coverage   71.06%   71.11%   +0.04%     
==========================================
  Files         925      925              
  Lines       54704    54774      +70     
==========================================
+ Hits        38876    38952      +76     
+ Misses      15828    15822       -6     
Files with missing lines Coverage Δ
spp_programs/__manifest__.py 0.00% <ø> (ø)
spp_programs/models/cycle_membership.py 75.00% <100.00%> (+14.13%) ⬆️
spp_programs/models/managers/cycle_manager_base.py 55.12% <100.00%> (ø)
...pp_programs/models/managers/eligibility_manager.py 75.00% <100.00%> (-0.21%) ⬇️
spp_programs/models/program_membership.py 54.23% <100.00%> (+12.67%) ⬆️

... and 1 file 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.