fix: commit migration role assumption
All checks were successful
Build and Publish Container Image / build-and-push (push) Successful in 41s

Assistant: codex
Assistant-Model: gpt-5.6-sol
Assistant-Session: 01a02b22-9638-76d2-bbff-b7ea1770b118
This commit is contained in:
tegwick 2026-08-23 00:16:54 +02:00
parent 9751927d38
commit b1fd3ec131
4 changed files with 32 additions and 3 deletions

View file

@ -37,6 +37,11 @@ replaced with the current mounted credential.
Completed with tests proving two connection attempts observe two file values
and that the engine URL contains neither username nor password.
The first live promotion also exposed an Alembic `SET ROLE` autobegin defect:
the migration logged success but its outer transaction rolled back on close.
The migration role helper now commits only the role-assumption transaction
before Alembic starts its own, with an ordering regression test.
## Separate liveness from database readiness
```task