Skip to content

Record each user's report runs in /v2/reports, read reports by run, and take names from saved reports - #4313

Draft
anth-volk wants to merge 33 commits into
v2plan/c1-25-shared-report-keysfrom
v2plan/c1-28-user-report-runs
Draft

anth-volk wants to merge 33 commits into
v2plan/c1-25-shared-report-keysfrom
v2plan/c1-28-user-report-runs

Fix review round 6's documentation findings

77c940a
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 14, 2026 in 0s

93.41% (-0.04%) compared to 63cce82

View this Pull Request on Codecov

93.41% (-0.04%) compared to 63cce82

Details

Codecov Report

❌ Patch coverage is 91.60494% with 34 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.41%. Comparing base (63cce82) to head (77c940a).

Files with missing lines Patch % Lines
policyengine_api/fastapi_routes/dependencies.py 53.33% 5 Missing and 2 partials ⚠️
...licyengine_api/fastapi_routes/v2/reports/routes.py 87.50% 4 Missing and 1 partial ⚠️
policyengine_api/libs/simulation_report_reruns.py 0.00% 5 Missing ⚠️
...yengine_api/services/v2/stored_reports/services.py 94.62% 2 Missing and 3 partials ⚠️
...engine_api/services/v2/report_run_records/types.py 90.62% 2 Missing and 1 partial ⚠️
...ored_reports/database_connectors/reads_requests.py 86.36% 0 Missing and 3 partials ⚠️
policyengine_api/libs/simulation_reports.py 0.00% 2 Missing ⚠️
...v2/report_run_records/database_connectors/reads.py 91.66% 0 Missing and 2 partials ⚠️
.../report_run_records/database_connectors/creates.py 90.90% 0 Missing and 1 partial ⚠️
...ine_api/services/v2/report_run_records/services.py 97.22% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@                         Coverage Diff                         @@
##           v2plan/c1-25-shared-report-keys    #4313      +/-   ##
===================================================================
- Coverage                            93.45%   93.41%   -0.04%     
===================================================================
  Files                                  369      377       +8     
  Lines                                21478    21823     +345     
  Branches                              3401     3455      +54     
===================================================================
+ Hits                                 20072    20387     +315     
- Misses                                 823      842      +19     
- Partials                               583      594      +11     

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