Skip to content

Commit 5038e3c

Browse files
authored
Merge pull request #911 from ruvnet/fix/ci-v1-api-mock-mode
ci(v1-api): MOCK_POSE_DATA + declare psutil — green Performance Tests & API Docs
2 parents 4d205a0 + e239af3 commit 5038e3c

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ scikit-learn>=1.2.0
3636

3737
# Monitoring dependencies
3838
prometheus-client>=0.16.0
39+
psutil>=5.9.0 # system metrics — imported by health.py / metrics.py / status.py / monitoring.py

0 commit comments

Comments
 (0)