Repository navigation
Fix completion accounting in load and startup measurement helpers - #949
Gajesh2007 wants to merge 3 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
@codex review |
|
@codex review |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
Consolidated into #1096, the combined tooling, benchmark and E2E refactor PR. Your latest head |
The soak can finish with a successful request missing from its CSV because its reporter stops at the admission deadline while workers are still running. The lightweight load driver also reports token throughput at response-header time, before reading the completed body. Malformed startup-probe terminal reasons can abort the observer instead of producing an unavailable observation.
The soak now has one reporting owner: stop admission, drain the executor, then write the final window. Named CSV fields replace repeated positional projection, and cumulative counters are captured under the same lock as window counters. The light driver measures successful completion through body decoding. Startup validation handles malformed origin/config values and terminal reasons through the existing refusal/report paths. Unused timing locals are removed from the parallel model benchmark.
All 13 soak CSV columns, percentile/rate formulas, prompt modes, request payloads, model selections, timeout defaults and credential requirements remain. The final soak window includes drain time and completions. Existing
ttfb_*fields still represent non-streaming total latency; these scripts do not establish streaming decode speed or cache hits. Startup inference still requires both explicit flags, a disposable target config and an authorized environment-sourced key; its gates, schema and redaction remain.Before
After
Validation: 23 CPU tests pass using owned loopback HTTP stubs, controlled worker barriers and fake clocks. The final load tests require no timed sleeps or optional aiohttp dependency. Original-source reproductions show a missing final CSV success, 20 tok/s instead of 4 tok/s for a five-second response, and malformed JSON exceptions. The old soak reproduction adapts only its callable CLI signature/exit for the fixture; its lifecycle is unchanged. A 1,000-window differential confirms all prior metric values remain exactly equal for mixed successes/errors. Docs lint passes on all 278 documents.
No live inference, Swift compilation, model/GPU execution, deploy or service mutation was run. These results validate helper behavior, not model latency or production readiness.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.