You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deep audit: Fix critical bugs and service initialization issues
Key fixes:
- Fix service initialization: Use lazy imports in routers to avoid duplicate
StorageService/QueueService instances that were never initialized
- Fix worker/main.py: Replace settings.get() with getattr() for Pydantic Settings
- Fix database password mismatch in compose.yml for worker services
- Fix Docker resource limits in compose.override.yml (memory reservation < limit)
- Add WORKER_TYPE setting to api/config.py
- Add typing_extensions>=4.9.0 to requirements.txt
- Add annotated_doc.py module for Doc annotation compatibility
- Add batch processing migration (005_add_batch_columns.py)
Affected routers updated to use get_storage_service()/get_queue_service():
- convert.py, batch.py, admin.py, health.py, jobs.py
All changes tested with Docker Compose deployment.
0 commit comments