perf(ci): drop dead uvicorn start from perf job
Since #915 the perf job gates only on test_frame_budget.py, which drives the CSIProcessor pipeline in-process and makes no HTTP calls. The "Start application" step (uvicorn + `sleep 10`) was therefore dead weight: it existed only for the now-excluded api_throughput/inference_speed tests, wasted ~10-15 s per main-push run, and dumped ~50 misleading "router requires hardware setup" ERROR lines into every CI log for a server no test touched. MOCK_POSE_DATA is server-only, unused here. Removed the step and the vestigial env. The gated test is unchanged and passes (verified locally, 3/3). Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
parent
91b0e625bd
commit
b62bc13a00
|
|
@ -267,20 +267,15 @@ jobs:
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
pip install pytest # the perf suite is pytest, not locust
|
pip install pytest # the perf suite is pytest, not locust
|
||||||
|
|
||||||
- name: Start application
|
# No "Start application" step: the gated test (test_frame_budget.py) drives
|
||||||
working-directory: archive/v1
|
# the CSIProcessor pipeline in-process and makes no HTTP calls, so the old
|
||||||
env:
|
# uvicorn server + `sleep 10` were dead weight — they only existed for the
|
||||||
# No CSI hardware in CI — serve mock pose data so the pose endpoints
|
# now-excluded api_throughput/inference_speed tests, and on every run dumped
|
||||||
# respond 200 under load instead of erroring "requires real CSI data".
|
# ~50 misleading "router requires hardware setup" ERROR lines for a server
|
||||||
MOCK_POSE_DATA: "true"
|
# no test touched. MOCK_POSE_DATA is server-only and unused here.
|
||||||
run: |
|
|
||||||
uvicorn src.api.main:app --host 0.0.0.0 --port 8000 &
|
|
||||||
sleep 10
|
|
||||||
|
|
||||||
- name: Run performance tests
|
- name: Run performance tests
|
||||||
working-directory: archive/v1
|
working-directory: archive/v1
|
||||||
env:
|
|
||||||
MOCK_POSE_DATA: "true"
|
|
||||||
run: |
|
run: |
|
||||||
# Gate only on the genuine, deterministic perf guard:
|
# Gate only on the genuine, deterministic perf guard:
|
||||||
# test_frame_budget.py times the *real* CSIProcessor pipeline against
|
# test_frame_budget.py times the *real* CSIProcessor pipeline against
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue