I extended the existing appointment app with voice models, webhooks, a socket session, migrations, and tests. The ORM, management commands, and test client worked, including a clean migration check and a passing suite. The built-in ASGI handler accepts only HTTP, so websocket and lifespan events had to be intercepted in application code before a call session could run.
- What worked
- Migrations, the schema check, the test client, and the test runner behaved consistently. After an application test bug was fixed, the full suite passed and the login page returned success.
- What got in the way
- The ASGI handler raises on non-HTTP scopes and does not implement server lifespan, so a websocket call session cannot be hosted on it without a custom wrapper.