You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(loadtest): make comparison scripts robust to failures and empty input
Address CodeAnt review on the loadtest harness:
- undici-test / raw-fetch-test: collect per-request results instead of
`Promise.all` fail-fast. One transient network error (or a mid-stream
response abort in raw-fetch) no longer hangs or discards the whole run;
failures are counted as `network_error` in the status breakdown.
- raw-fetch-test: settle each request exactly once across end / aborted /
error / request-error paths (previously a mid-stream abort could hang the
batch indefinitely).
- h2-test: reject NUM_CONNECTIONS < 1 up front (previously dereferenced
clients[0] === undefined and crashed).
- All scripts: guard the latency block against zero results so an empty run
doesn't throw on latencies[0].
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
0 commit comments