fix(bunyip-101): use post-9c082eb hashes (script had pre-edit values inverted) #143

Merged
YousifShkara merged 1 commit from ops/bunyip-101-reconcile-migration-checksums into main 2026-06-14 06:04:42 +02:00
Owner

The original script labeled the pre-9c082eb file hashes as the post-9c082eb hashes, which sqlx rejects when the image embeds the post-9c082eb migration bodies. Verified on c-01 staging: applying the original hashes left bunyip-api crashlooping on '20241230000014 was previously applied but has been modified'; re-running with the correct hashes booted cleanly.

Each of the 11 checksum literals is replaced with the SHA-384 of the file body at HEAD of main, which is the body the production image bakes in via sqlx::migrate!. Schema deltas (CHECK, UNIQUE, ADD COLUMN, COMMENT, recreated index, disabled_at stamp) and DO-block guards are unchanged.

#BUNYIP-101

The original script labeled the pre-9c082eb file hashes as the post-9c082eb hashes, which sqlx rejects when the image embeds the post-9c082eb migration bodies. Verified on c-01 staging: applying the original hashes left bunyip-api crashlooping on '20241230000014 was previously applied but has been modified'; re-running with the correct hashes booted cleanly. Each of the 11 checksum literals is replaced with the SHA-384 of the file body at HEAD of main, which is the body the production image bakes in via sqlx::migrate!. Schema deltas (CHECK, UNIQUE, ADD COLUMN, COMMENT, recreated index, disabled_at stamp) and DO-block guards are unchanged. #BUNYIP-101
fix(bunyip-101): use post-9c082eb hashes (script had pre-edit values inverted)
All checks were successful
Create release / Create release from merged PR (pull_request) Has been skipped
Check / fmt / clippy / build / test (pull_request) Successful in 1m4s
ff396b8c5f
The original script labeled the pre-9c082eb file hashes as the post-9c082eb hashes, which sqlx rejects when the image embeds the post-9c082eb migration bodies. Verified on c-01 staging: applying the original hashes left bunyip-api crashlooping on '20241230000014 was previously applied but has been modified'; re-running with the correct hashes booted cleanly.

Each of the 11 checksum literals is replaced with the SHA-384 of the file body at HEAD of main, which is the body the production image bakes in via sqlx::migrate!. Schema deltas (CHECK, UNIQUE, ADD COLUMN, COMMENT, recreated index, disabled_at stamp) and DO-block guards are unchanged.

#BUNYIP-101
YousifShkara deleted branch ops/bunyip-101-reconcile-migration-checksums 2026-06-14 06:04:42 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/bunyip!143
No description provided.