Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Cloonar/coding-lab#117
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PRs #112 (secrets, #104) and #113 (run title, #111) merged independently, each adding a migration numbered 0008:
Goose refuses duplicate version numbers, so on current main every Store.Open fails — lab cannot start against a fresh or existing database, and every test package that opens a store fails. Found while verifying #108.
Fix (shipping in the #108 PR, branch afk/108): rename 0008_run_title.sql → 0009_run_title.sql in both dialects (run_title merged last), with #108's new migration taking 0010. A DB that already applied 0008 as repo_secrets (the only state a merged-main deployment can be in, since the collision blocks startup before any new migration runs) picks up run_title as 0009 cleanly. Only a dev database migrated from the pre-merge afk/111 branch (run_title applied as version 8) would skip repo_secrets — such a state dir needs recreating.
Process follow-up worth considering: a CI guard that fails on duplicate goose version numbers across a merge.