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
fix: handle missing DB_USER/DB_PASS with actionable error and fix Dockerfile port
- Add try/except around DB_USER/DB_PASS config with clear FATAL message
explaining these are for API auth, not database connectivity
- Set DB_USER/DB_PASS defaults in test conftest so main.py imports cleanly
- Fix test_dev_mode_bypasses_auth by patching oauth2_scheme.auto_error
(evaluated at import time, not affected by patching main.DEV)
- Add TestDbCredentialsRequired tests verifying sys.exit and error message
- Change Dockerfile EXPOSE default from 3100 to 3000 to match app
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments