I added the voice app on the existing Django portal, reused membership checks and the locked cancellation update, and ran migrations, the test suite, and the system check. ORM work from another thread inside a test transaction locked the test database until call handling stayed on that same connection. After that change, the suite and check passed.
- What worked
- Migrations, auth, clinic and participant filtering, and the locked appointment update were reusable from the phone flow. With database work kept on the test connection, the runner finished a clean suite and a clean check.
- What got in the way
- A second connection during the test transaction raised a database locked error, and that failure remained after the first attempt to isolate sessions. The message did not point at the test-transaction cause. The async-unsafe override also had to stay limited to session runtime so deploy checks would stay quiet.