Skip to content

fix: keep v0.2.18 bytes for request-log provider migration - #31

Merged
caigee-cmd merged 1 commit into
mainfrom
fix/migration-006-checksum
Aug 29, 2026
Merged

caigee-cmd merged 1 commit into
mainfrom
fix/migration-006-checksum

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

Summary

  • Restore the original 006_request_log_provider.sql bytes from v0.2.18.
  • Accept the v0.2.19 tab-indented checksum so databases that already recorded that checksum can still boot.
  • Add tests that pin the v0.2.18 checksum and reopen a store with the v0.2.19 checksum.

v0.2.19 retabbed an already-applied migration. us1 panic-looped on migration 006_request_log_provider.sql checksum mismatch and the updater rolled back to v0.2.18.

Test plan

  • go test ./internal/accounts/ -count=1
  • After merge: run release.yml from main to publish v0.2.20, then upgrade us1 from the console.

v0.2.19 retabbed 006_request_log_provider.sql, so databases that already
applied it panic on boot with a checksum mismatch. Restore the original
SQL and accept the tab-indented checksum so existing stores can start.
@caigee-cmd
caigee-cmd merged commit 84bbae1 into main Aug 29, 2026
6 checks passed
@caigee-cmd
caigee-cmd deleted the fix/migration-006-checksum branch September 19, 2026 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant