Onboarding, logbook entries, and a wall of migrations

commit

2026-01-05 · stayairworthy

Big day on savvyai. Added a user onboarding flow with document upload and aircraft registration, wired in Tensorlake Document AI for parsing logbook pages, and built out a LogbookEntry model with subtypes for time, inspections, AD and SB compliance, and general service. Also stood up normalized manufacturer and product_model tables so AD applicability can stop guessing at strings, and refactored both the Federal Register and OEM SB syncs to a fan-out pattern so they stop timing out. The rest was a long tail of pain: lazy-loading the task registry to break a circular import, killing a LiteLLM event loop conflict in Celery workers, stripping null bytes out of Federal Register text so PostgreSQL would stop rejecting it, widening half a dozen VARCHARs to TEXT because the LLM keeps returning manufacturer names that are essentially short essays, and patching an auth redirect loop on the frontend. Eight new migrations, all written defensively with column_exists checks because I have learned.

37 commits across 1 repo (savvyai: 37). 50 files changed; 1 skipped. Diff was truncated for summarization.