Prod upgrade fixes: profiler compatibility with new FastAPI, pinned dependencies

- profiler: Literal instead of Query(enum=...) (broke on FastAPI 0.162)
- pin fastapi/starlette/uvicorn/pydantic for the profiler, upper bounds for APP_CORE
- health check: show the service log when an HTTP check fails
- update.sh: the "before" version comes from deploy.state
- migrate.py: hint about OVPMON_*_DB_PATH when the default database is missing
- docs: --source --no-pull mode, dependency pinning, PIP_CONSTRAINT
- tests: new test for the section parameter, fixed test_server_process.py

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
ayurishchevandClaude Sonnet 5.5 committed 2026-11-13 00:03:39 +03:00
1 parent 1bbf9b7cc1
commit 79c950f8f7
14 files changed
+156 -38

No files matched your search

+6 -7
View File
@@ -1,7 +1,6 @@
Flask>=3.0.0
Flask-Cors>=4.0.0
PyJWT>=2.10.0
pyotp>=2.9.0
qrcode>=7.4.2
bcrypt>=4.2.0
Flask>=3.0.0,<4
Flask-Cors>=4.0.0,<7
PyJWT>=2.10.0,<3
pyotp>=2.9.0,<3
qrcode>=7.4.2,<9
bcrypt>=4.2.0,<6