Skip to content

Pass through HTTPException in simulation and report route handlers

415d97e
Select commit
Loading
Failed to load commit list.
Merged

Fix 9 bugs from audit (security + correctness) #3454

Pass through HTTPException in simulation and report route handlers
415d97e
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 17, 2026 in 1s

77.97% (+0.87%) compared to 0f58675

View this Pull Request on Codecov

77.97% (+0.87%) compared to 0f58675

Details

Codecov Report

❌ Patch coverage is 70.88608% with 23 lines in your changes missing coverage. Please review.
✅ Project coverage is 77.97%. Comparing base (0f58675) to head (415d97e).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
policyengine_api/routes/report_output_routes.py 57.89% 6 Missing and 2 partials ⚠️
policyengine_api/routes/simulation_routes.py 57.89% 6 Missing and 2 partials ⚠️
policyengine_api/endpoints/economy/compare.py 50.00% 3 Missing and 3 partials ⚠️
policyengine_api/endpoints/policy.py 90.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3454      +/-   ##
==========================================
+ Coverage   77.10%   77.97%   +0.87%     
==========================================
  Files          62       62              
  Lines        3258     3301      +43     
  Branches      584      596      +12     
==========================================
+ Hits         2512     2574      +62     
+ Misses        582      562      -20     
- Partials      164      165       +1     

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