P1: evaluate DB safety against the fetched deploy commit #2
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?
Muralla release dry-run on 2026-07-10 exposed a false block: /root/apps/muralla was clean but stale on main@86ef83e0d (21 migration dirs), while production DB had 24 applied and origin/production already contained those migrations. kua-db therefore reported 3 orphaned migrations.
Root cause: deploy() runs kuaDbSafeCheck(appName) before git fetch and checkout of the deploy branch. Safety is evaluated against an unrelated stale working tree, not the commit that will be built.
Acceptance:
This must land only after the production-to-main security reconciliation in #1.