3e41d88445
v3.42.11: Replace all Unicode emojis with ASCII text
...
CI/CD / Test (push) Successful in 1m13s
CI/CD / Lint (push) Successful in 1m20s
CI/CD / Build & Release (push) Successful in 3m10s
- Replace all emoji characters with ASCII equivalents throughout codebase
- Replace Unicode box-drawing characters (═║╔╗╚╝━─) with ASCII (+|-=)
- Replace checkmarks (✓✗) with [OK]/[FAIL] markers
- 59 files updated, 741 lines changed
- Improves terminal compatibility and reduces visual noise
2026-01-08 09:42:01 +01:00
914307ac8f
ci: add golangci-lint config and fix formatting
...
- Add .golangci.yml with minimal linters (govet, ineffassign)
- Run gofmt -s and goimports on all files to fix formatting
- Disable fieldalignment and copylocks checks in govet
2025-12-11 17:53:28 +01:00
7007d96145
feat: Step 7 - Write integration tests for incremental backups
...
Implemented comprehensive integration tests:
internal/backup/incremental_test.go:
TestIncrementalBackupRestore:
- Creates simulated PostgreSQL data directory
- Creates base (full) backup with test files
- Modifies files (simulates database changes)
- Creates incremental backup
- Verifies changed files detected correctly
- Restores incremental on top of base
- Verifies file content integrity
- Tests full workflow end-to-end
TestIncrementalBackupErrors:
- Tests missing base backup error
- Tests no changed files error
- Validates error handling
Test Coverage:
✅ Full backup creation
✅ File change detection (mtime-based)
✅ Incremental backup creation
✅ Metadata generation
✅ Checksum verification
✅ Incremental restore (base + incr)
✅ File content verification
✅ Error handling (missing files, no changes)
Test Results:
- TestIncrementalBackupRestore: PASS (0.42s)
- TestIncrementalBackupErrors: PASS (0.00s)
- All assertions pass
- Full workflow verified
Features Tested:
- Base backup extraction
- Incremental overlay (overwrites changed files)
- Modified files captured correctly
- New files captured correctly
- Unchanged files preserved
- Restore chain integrity
Status: ALL TESTS PASSING ✅
Phase 3A COMPLETE: PostgreSQL incremental backups (file-level)
Next: Wire to CLI or proceed to Phase 4/5
2025-11-26 07:11:01 +00:00