Skip to content

Migrate API v1 persistence to SQLAlchemy and Alembic - #3788

Merged
anth-volk merged 89 commits into
masterfrom
agent/stage7-v1-orm-alembic
Aug 12, 2026
Merged

Migrate API v1 persistence to SQLAlchemy and Alembic#3788
anth-volk merged 89 commits into
masterfrom
agent/stage7-v1-orm-alembic

ci: keep v1 migration credentials process-local

3b3daeb
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Aug 12, 2026 in 0s

84.19% (+2.82%) compared to 339d30f

View this Pull Request on Codecov

84.19% (+2.82%) compared to 339d30f

Details

Codecov Report

❌ Patch coverage is 90.53876% with 144 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.19%. Comparing base (339d30f) to head (3b3daeb).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
policyengine_api/services/report_output_service.py 81.55% 20 Missing and 18 partials ⚠️
...gine_api/services/household_calculation_service.py 85.93% 11 Missing and 7 partials ⚠️
policyengine_api/routes/policy_routes.py 80.76% 8 Missing and 7 partials ⚠️
policyengine_api/routes/household_routes.py 82.35% 10 Missing and 2 partials ⚠️
policyengine_api/services/report_spec_service.py 75.51% 4 Missing and 8 partials ⚠️
policyengine_api/services/report_run_service.py 74.35% 2 Missing and 8 partials ⚠️
policyengine_api/data/orm.py 92.94% 3 Missing and 3 partials ⚠️
policyengine_api/routes/report_output_routes.py 76.00% 1 Missing and 5 partials ⚠️
policyengine_api/services/simulation_service.py 94.18% 1 Missing and 4 partials ⚠️
policyengine_api/routes/reform_impact_routes.py 87.87% 0 Missing and 4 partials ⚠️
... and 8 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3788      +/-   ##
==========================================
+ Coverage   81.36%   84.19%   +2.82%     
==========================================
  Files          83       86       +3     
  Lines        4615     4720     +105     
  Branches      843      926      +83     
==========================================
+ Hits         3755     3974     +219     
+ Misses        628      510     -118     
- Partials      232      236       +4     

☔ View full report in Codecov by Harness.
📢 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.