Skip to content

Add the one-time command that migrates saved records' API v1 references to API v2 - #4359

Merged
anth-volk merged 25 commits into
masterfrom
v2plan/d4-1-migration-command
Dec 1, 2026
Merged

anth-volk merged 25 commits into
masterfrom
v2plan/d4-1-migration-command

Merge master into the migration command branch

0e274f8
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Dec 1, 2026 in 0s

93.88% (-0.17%) compared to 9fa521b

View this Pull Request on Codecov

93.88% (-0.17%) compared to 9fa521b

Details

Codecov Report

❌ Patch coverage is 89.42892% with 87 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.88%. Comparing base (9fa521b) to head (0e274f8).

Files with missing lines Patch % Lines
...api/services/v2/saved_record_migration/services.py 82.79% 21 Missing and 16 partials ⚠️
...vices/v2/saved_record_migration/transformations.py 70.73% 13 Missing and 11 partials ⚠️
...vices/v2/saved_record_migration/copies/services.py 84.33% 12 Missing and 1 partial ⚠️
..._migration/database_connectors/reads_v1_records.py 78.12% 3 Missing and 4 partials ⚠️
...aved_record_migration/database_connectors/reads.py 90.00% 1 Missing and 3 partials ⚠️
...i/services/v2/saved_record_migration/validators.py 97.75% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4359      +/-   ##
==========================================
- Coverage   94.04%   93.88%   -0.17%     
==========================================
  Files         449      459      +10     
  Lines       25349    26172     +823     
  Branches     3905     4047     +142     
==========================================
+ Hits        23840    24571     +731     
- Misses        860      916      +56     
- Partials      649      685      +36     

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