• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

migration-script-runner / msr-core / d4481677-93fd-4bbe-8088-07b416b4a662
100%

Build:
DEFAULT BRANCH: master
Ran 28 Nov 2025 01:17AM UTC
Jobs 1
Files 40
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Nov 2025 01:17AM UTC coverage: 100.0%. Remained the same
d4481677-93fd-4bbe-8088-07b416b4a662

push

circleci

Vova Lavrynovych
#65: Add granular backup control with BackupMode and public backup methods

Implemented comprehensive backup control features:
- BackupMode enum (FULL, CREATE_ONLY, RESTORE_ONLY, MANUAL)
- Public backup methods: createBackup(), restoreFromBackup(), deleteBackup()
- existingBackupPath configuration for external backup workflows
- Helper methods for mode-based backup/restore decisions

Code changes:
- Created BackupMode enum with 4 modes for granular control
- Added backupMode property to Config (defaults to FULL for backward compatibility)
- Added existingBackupPath to BackupConfig for RESTORE_ONLY mode
- Exposed 3 public methods on MigrationScriptExecutor for manual workflows
- Updated BackupService.restore() to accept optional path parameter
- Added shouldBackupInMode() and shouldRestoreInMode() helper methods
- Updated migrate() and migrateTo() to respect backupMode settings

Testing:
- Added 9 new integration tests covering all BackupMode scenarios
- Achieved 100% test coverage (534 tests passing)
- All statements, branches, functions, and lines covered

Documentation:
- Updated backup-settings.md with comprehensive BackupMode documentation
- Added backup-restore-workflows.md guide for practical use cases
  - Environment synchronization (prod to dev/staging)
  - Database cloning and disaster recovery
  - CI/CD integration examples
  - PostgreSQL and Firebase examples
- Updated API reference with new public methods and BackupMode enum
- Added complete workflow examples and best practices

Breaking changes: None (backward compatible, BackupMode.FULL is default)

505 of 505 branches covered (100.0%)

Branch coverage included in aggregate %.

41 of 41 new or added lines in 5 files covered. (100.0%)

961 of 961 relevant lines covered (100.0%)

568.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 d4481677-93fd-4bbe-8088-07b416b4a662.1 28 Nov 2025 01:17AM UTC 40
100.0
Source Files on build d4481677-93fd-4bbe-8088-07b416b4a662
  • Tree
  • List 40
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • CircleCI Build #D4481677...
  • 1026073a on github
  • Prev Build on master (#37DEC3AC...)
  • Next Build on master (#C50AEAFA...)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc