-
[NA] [SDK] ci(load): quiet httpx INFO stream + grant checks:write so the run goes green (#6861)
发布于
2026-05-26 10:21:42 +00:00 - [NA] [SDK] ci(load): quiet noisy logging + grant checks:write so the run goes green
Two related CI cleanups for the Load Tests workflow, both visible in the
most recent green-suite run (https://github.com/comet-ml/opik/actions/runs/26418912221):-
Quiet the per-request httpx INFO stream. pytest.ini had
log_cli_level = INFO, which streamed every httpx
INFO HTTP Request: ...line for the ~250k+ HTTP requests these
scenarios make. Combined with the SDK's connection-monitor daemon
thread tripping on closed stdout at session teardown (each tick
dumps a ~30-line traceback), that previously produced ~70k log
lines per CI run. Per-test metrics are still written to
tests_load/.last_run/<test_name>.jsonand rendered on the run
page by the summary step, so we don't need INFO lines on stdout.
SDK errors / warnings still surface. -
Grant
checks: write. The workflow'spermissions:block was
contents: read, which meansEnricoMi/publish-unit-test-result-action
gets 403 Forbidden when posting the "Load Test Results" check and
fails the workflow even when every scenario passed (which is what
happened in the run linked above — green suite, red workflow).
- ci(load): slow connection-monitor daemon to 60s in CI
Belt-and-suspenders for the connection-monitor httpx INFO spam — the
log_cli_level=WARNING filter in pytest.ini already drops those records
at the handler level, but cutting ping cadence from 10s -> 60s reduces
emitted volume 6x even before filtering.- Revert "ci(load): slow connection-monitor daemon to 60s in CI"
This reverts commit 16bb2474fbebce544bb9bce414d0ea266078f70b.
下载附件