Skip to content

Refuse new policies whose data names paths that are not parameters - #4123

Merged
anth-volk merged 4 commits into
masterfrom
policy-path-validation
Oct 30, 2026
Merged

anth-volk merged 4 commits into
masterfrom
policy-path-validation

Build refused-path errors once and refuse policies with no loaded model

af1eba9
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Oct 30, 2026 in 1s

88.15% (+0.02%) compared to e615bf3

View this Pull Request on Codecov

88.15% (+0.02%) compared to e615bf3

Details

Codecov Report

❌ Patch coverage is 93.75000% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.15%. Comparing base (e615bf3) to head (af1eba9).
⚠️ Report is 31 commits behind head on master.

Files with missing lines Patch % Lines
policyengine_api/services/policy_service.py 91.30% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4123      +/-   ##
==========================================
+ Coverage   88.13%   88.15%   +0.02%     
==========================================
  Files         273      274       +1     
  Lines       16299    16393      +94     
  Branches     2668     2689      +21     
==========================================
+ Hits        14365    14452      +87     
- Misses       1268     1271       +3     
- Partials      666      670       +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.