Skip to content

feat: Add check for backup migration version - #221

Merged
maximbigler merged 10 commits into
mainfrom
fix/import-version-guard
Jul 8, 2026
Merged

maximbigler merged 10 commits into
mainfrom
fix/import-version-guard

Conversation

@maximbigler

Copy link
Copy Markdown
Member

Type of change

  • 🐛 Bug fix
  • 🚀 New feature
  • ❓ Other (please specify)

Description

  • Add a check if the backup file has a valid migration verison.
  • Add test's

@maximbigler maximbigler linked an issue Jul 8, 2026 that may be closed by this pull request
Comment thread backend/internal/hub/db/backup_meta.go Fixed
Comment thread backend/internal/hub/db/backup_meta.go Fixed
@codecov

codecov Bot commented Jul 8, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 82.22222% with 8 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
backend/internal/hub/db/backup_meta.go 81.39% 4 Missing and 4 partials ⚠️

📢 Thoughts on this report? Let us know!

maximbigler and others added 3 commits July 8, 2026 11:49
…rsion between integer types'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Comment thread backend/internal/hub/db/backup_meta.go
Comment thread backend/internal/hub/db/backup_meta.go Outdated
Comment thread backend/internal/hub/db/backup_meta.go Outdated
Comment thread backend/internal/hub/db/backup_meta.go Outdated
@maximbigler
maximbigler enabled auto-merge (squash) July 8, 2026 11:36
@maximbigler
maximbigler merged commit 27a5936 into main Jul 8, 2026
10 checks passed
@maximbigler
maximbigler deleted the fix/import-version-guard branch July 8, 2026 11:41
@orcacd-bot orcacd-bot Bot mentioned this pull request Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: Export/Import doesn't consider version

4 participants