Skip to content

feat(backup): implement automated backup and restore system#541

Merged
Aureliolo merged 9 commits into
mainfrom
feat/backup-restore
Mar 18, 2026
Merged

feat(backup): implement automated backup and restore system#541
Aureliolo merged 9 commits into
mainfrom
feat/backup-restore

fix(backup): thread config path, harden factory, fix rollback marker

015e889
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Mar 18, 2026 in 1s

92.49% (-0.52%) compared to 936c345

View this Pull Request on Codecov

92.49% (-0.52%) compared to 936c345

Details

Codecov Report

❌ Patch coverage is 78.74097% with 206 lines in your changes missing coverage. Please review.
✅ Project coverage is 92.49%. Comparing base (936c345) to head (015e889).
⚠️ Report is 1 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
src/synthorg/backup/service.py 49.15% 104 Missing and 17 partials ⚠️
src/synthorg/backup/retention.py 67.64% 27 Missing and 6 partials ⚠️
...synthorg/settings/subscribers/backup_subscriber.py 75.00% 11 Missing and 2 partials ⚠️
src/synthorg/api/app.py 75.00% 6 Missing and 4 partials ⚠️
src/synthorg/backup/handlers/persistence.py 91.11% 4 Missing and 4 partials ⚠️
src/synthorg/api/state.py 57.14% 5 Missing and 1 partial ⚠️
src/synthorg/backup/factory.py 85.71% 5 Missing ⚠️
src/synthorg/api/controllers/backup.py 94.11% 4 Missing ⚠️
src/synthorg/backup/handlers/memory.py 94.36% 2 Missing and 2 partials ⚠️
src/synthorg/backup/handlers/config_handler.py 96.87% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #541      +/-   ##
==========================================
- Coverage   93.01%   92.49%   -0.52%     
==========================================
  Files         526      542      +16     
  Lines       25687    26655     +968     
  Branches     2437     2544     +107     
==========================================
+ Hits        23893    24655     +762     
- Misses       1429     1598     +169     
- Partials      365      402      +37     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.