Lukas
3551838887
Add startup health checks and /health/ready endpoint
...
- Add _run_startup_health_checks() function in fastapi_app.py
- Check ffmpeg availability (warning)
- Check DNS resolution for aniworld.to and api.themoviedb.org (warning)
- Check anime_directory configuration and writability (error)
- Store startup checks in app.state for health endpoint access
- Add /health/ready endpoint for container orchestrators
- Returns not_ready with 503 when critical failures present
- Includes critical_failures list for debugging
- Update /health endpoint to include startup check results
- Status reflects worst check (error > warning > ok)
- Document health check endpoints in DEVELOPMENT.md
- Add unit tests for startup health checks
- Add unit tests for /health/ready endpoint
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-05-23 22:12:03 +02:00
..
2025-10-12 23:17:20 +02:00
2026-02-06 18:47:47 +01:00
2026-02-15 17:49:11 +01:00
2025-12-04 19:22:42 +01:00
2026-02-15 17:49:12 +01:00
2026-02-15 17:49:11 +01:00
2025-10-23 22:03:15 +02:00
2025-10-23 22:03:15 +02:00
2026-01-21 18:58:24 +01:00
2026-05-13 12:41:22 +02:00
2026-02-15 17:49:11 +01:00
2026-02-15 17:49:11 +01:00
2026-01-26 19:48:35 +01:00
2025-11-23 20:02:11 +01:00
2026-02-01 11:25:11 +01:00
2026-02-15 17:49:11 +01:00
2026-01-16 19:33:23 +01:00
2025-12-10 21:12:34 +01:00
2026-05-13 08:07:16 +02:00
2026-02-15 17:49:12 +01:00
2026-05-14 17:30:13 +02:00
2026-02-15 17:49:11 +01:00
2026-01-16 18:50:04 +01:00
2025-12-04 19:22:42 +01:00
2026-02-15 17:49:11 +01:00
2026-01-19 19:50:25 +01:00
2025-11-28 17:41:54 +01:00
2026-01-15 19:43:58 +01:00
2026-02-02 07:19:36 +01:00
2026-05-23 21:27:41 +02:00
2026-05-23 21:18:39 +02:00
2026-02-15 17:49:11 +01:00
2026-01-26 19:58:24 +01:00
2026-05-23 21:18:39 +02:00
2025-10-23 19:00:49 +02:00
2025-12-26 12:49:23 +01:00
2026-05-19 21:24:07 +02:00
2026-05-14 17:01:01 +02:00
2026-05-23 22:12:03 +02:00
2026-02-02 07:19:36 +01:00
2026-01-15 19:43:58 +01:00
2026-02-15 17:49:11 +01:00
2026-05-14 17:01:01 +02:00
2025-10-23 21:00:34 +02:00
2025-10-12 23:33:56 +02:00
2026-01-21 20:07:19 +01:00
2026-02-15 17:49:11 +01:00
2025-10-22 09:20:35 +02:00
2025-10-13 00:18:46 +02:00
2026-02-15 17:49:11 +01:00
2026-02-15 17:49:11 +01:00
2026-01-31 18:49:11 +01:00
2026-01-31 15:25:30 +01:00
2026-02-15 17:49:11 +01:00
2026-03-06 21:20:17 +01:00
2026-02-15 17:49:11 +01:00
2026-02-15 17:49:11 +01:00
2026-01-17 22:13:34 +01:00
2026-01-21 19:36:54 +01:00
2026-01-11 20:17:18 +01:00
2026-02-22 11:26:06 +01:00
2026-01-18 12:07:37 +01:00
2026-05-23 21:57:00 +02:00
2026-03-17 11:39:27 +01:00
2026-01-26 18:01:03 +01:00
2026-05-14 17:30:13 +02:00
2026-03-17 11:39:27 +01:00
2025-12-16 19:21:30 +01:00
2026-02-15 17:49:11 +01:00
2026-02-15 17:49:11 +01:00
2026-02-15 17:49:11 +01:00
2025-10-24 11:01:40 +02:00
2025-10-24 11:01:40 +02:00
2026-02-15 17:49:11 +01:00
2025-12-16 19:21:30 +01:00
2026-02-15 17:49:12 +01:00
2026-02-15 17:49:11 +01:00
2026-05-13 09:43:34 +02:00
2026-05-23 21:57:00 +02:00
2026-01-26 17:22:55 +01:00
2026-01-11 20:12:23 +01:00
2026-01-18 12:28:38 +01:00
2026-01-11 20:12:23 +01:00
2026-05-14 19:28:43 +02:00
2026-04-19 18:46:30 +02:00
2026-03-16 21:01:59 +01:00
2026-02-15 17:49:11 +01:00
2025-12-25 18:05:33 +01:00
2026-01-26 20:06:21 +01:00
2025-11-19 21:20:22 +01:00
2026-05-23 22:12:03 +02:00
2026-02-15 17:49:11 +01:00
2026-05-13 08:07:16 +02:00
2025-10-22 09:20:35 +02:00
2026-05-14 17:30:13 +02:00
2026-02-15 17:49:11 +01:00
2026-02-15 17:49:11 +01:00
2026-05-23 21:34:26 +02:00
2026-02-15 17:49:11 +01:00
2026-01-26 18:12:33 +01:00
2025-12-25 18:05:33 +01:00
2026-02-02 07:19:36 +01:00
2026-02-15 17:49:11 +01:00
2025-11-28 15:48:49 +01:00
2025-12-24 20:54:27 +01:00