Remove FastAPI dependency from jail config service signatures

This commit is contained in:
2026-04-14 15:01:05 +02:00
parent 41f8c1f6cb
commit 86fa271c40
4 changed files with 28 additions and 40 deletions

View File

@@ -119,6 +119,8 @@ The inverted import creates a hidden circular-dependency risk: if `health_check`
### TASK-04 — Remove `FastAPI` app instance from service signatures 🟠
**Status:** Completed ✅
**Where:**
`backend/app/services/jail_config_service.py` — `activate_jail()` and `deactivate_jail()` function signatures accept `app: FastAPI` (guarded by `TYPE_CHECKING` on line 48, used at runtime on lines ~295, ~571).