Skip to content

Let a saved policy be repointed to a v2 policy (PATCH /v2/user-policies policy_id) - #3968

Closed
anth-volk wants to merge 2 commits into
masterfrom
apiv2/1e-user-policy-repoint
Closed

anth-volk wants to merge 2 commits into
masterfrom
apiv2/1e-user-policy-repoint

Describe what PATCH stores when both policy references are supplied

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

84.12% (+37.94%) compared to c39ae36

View this Pull Request on Codecov

84.12% (+37.94%) compared to c39ae36

Details

Codecov Report

❌ Patch coverage is 95.23810% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 84.12%. Comparing base (c39ae36) to head (ad5c259).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...es/v2/user_policies/database_connectors/updates.py 83.33% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #3968       +/-   ##
===========================================
+ Coverage   46.17%   84.12%   +37.94%     
===========================================
  Files         239      255       +16     
  Lines       13987    15378     +1391     
  Branches     2272     2558      +286     
===========================================
+ Hits         6458    12936     +6478     
+ Misses       6958     1683     -5275     
- Partials      571      759      +188     

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