fix(settings): harden PATCH/redeploy per code review

- Add infisicalsdk dependency
- Narrow update→create fallback to NotFound errors only (no silent swallow)
- Truncate Coolify error response text to 200 chars
- Add 60s cooldown to redeploy endpoint
- Move httpx to top-level import
This commit is contained in:
2026-05-04 06:33:01 +00:00
parent 2fe73fcce1
commit 69bdf7b30a
2 changed files with 41 additions and 7 deletions

View File

@@ -20,6 +20,7 @@ dependencies = [
"fastapi>=0.115.0",
"uvicorn[standard]>=0.30.0",
"httpx>=0.27.0",
"infisicalsdk>=1.0.0",
]
[build-system]