File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -269,6 +269,10 @@ jobs:
269269
270270 - name : Start application
271271 working-directory : archive/v1
272+ env :
273+ # No CSI hardware in CI — serve mock pose data so the pose endpoints
274+ # respond 200 under load instead of erroring "requires real CSI data".
275+ MOCK_POSE_DATA : " true"
272276 run : |
273277 uvicorn src.api.main:app --host 0.0.0.0 --port 8000 &
274278 sleep 10
@@ -384,6 +388,8 @@ jobs:
384388
385389 - name : Generate OpenAPI spec
386390 working-directory : archive/v1
391+ env :
392+ MOCK_POSE_DATA : " true" # no CSI hardware in CI
387393 run : |
388394 python -c "
389395 from src.api.main import app
Original file line number Diff line number Diff line change @@ -36,3 +36,4 @@ scikit-learn>=1.2.0
3636
3737# Monitoring dependencies
3838prometheus-client >= 0.16.0
39+ psutil >= 5.9.0 # system metrics — imported by health.py / metrics.py / status.py / monitoring.py
You can’t perform that action at this time.
0 commit comments