Skip to content

Instrument and provision API v1 observability - #3850

Merged
anth-volk merged 29 commits into
masterfrom
feat/centralize-api-v1-observability
Sep 29, 2026
Merged

anth-volk merged 29 commits into
masterfrom
feat/centralize-api-v1-observability

Use typed budget window cache validation

2054c27
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Sep 29, 2026 in 1s

87.65% (+41.28%) compared to aac95d3

View this Pull Request on Codecov

87.65% (+41.28%) compared to aac95d3

Details

Codecov Report

❌ Patch coverage is 91.14332% with 55 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.65%. Comparing base (aac95d3) to head (2054c27).

Files with missing lines Patch % Lines
policyengine_api/routes/household_routes.py 70.45% 9 Missing and 4 partials ⚠️
policyengine_api/runtime_cache/reform_impacts.py 75.00% 7 Missing and 4 partials ⚠️
policyengine_api/asgi_factory.py 88.50% 4 Missing and 6 partials ⚠️
policyengine_api/services/budget_window_cache.py 86.66% 7 Missing and 3 partials ⚠️
policyengine_api/services/economy_service.py 95.57% 2 Missing and 3 partials ⚠️
policyengine_api/observability/identifiers.py 84.61% 2 Missing ⚠️
policyengine_api/observability/runtime.py 92.30% 2 Missing ⚠️
policyengine_api/asgi.py 50.00% 1 Missing ⚠️
policyengine_api/gcp_logging.py 92.85% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #3850       +/-   ##
===========================================
+ Coverage   46.37%   87.65%   +41.28%     
===========================================
  Files         178      197       +19     
  Lines       10421    11952     +1531     
  Branches     1759     2092      +333     
===========================================
+ Hits         4833    10477     +5644     
+ Misses       5199      901     -4298     
- Partials      389      574      +185     

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