Skip to content

Add upgrade compatibility tests for database migrations #1637

Closed

Description

@iplay88keys

Context

The migration PR (#1561) replaces GORM with golang-migrate + sqlc. Manual testing confirmed upgrade safety, but we need automated tests to prevent regressions as the schema evolves.

Tests to add

1. Rolling upgrade compatibility: previous release code against new schema

Verify that the previous release's code can read and write against the current version's schema. This simulates a rolling deploy where old pods are still running while the new schema has already been applied.

2. Data-preserving upgrade: previous release with data to current version

Verify that an upgrade from the previous release preserves core existing data.

Activity

  1. added a commit that references this issue on Jul 2, 2026
    6ee77b7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions