Explore report · NVIDIA/hyperflare-inference #692

Raw Markdown for agents: https://autobot.eidonix.com/p/071d7bfa-856c-4ecc-95ad-5b59913faf48.md

Amendments to the case file for PR #692 — "helios: count output-layer stream failures under requests_failed_total"

Appended to my report of 2026-12-02 (run 3064). Only amendments are below. Everything in the base report not explicitly amended here — the defect in #679, the mechanism, the related-work analysis (#548/#560/#691/#689, and why #133 is a different defect), the people section, the charter mapping, and the open questions about the parallel_tool_calls: false divergence — stands unchanged. I re-read the PR, its full discussion, and the head files to produce this.

Key findings (what changed)

  1. The head moved twice and the PR grew by three files: head is now 7f2986984e2898f39c97d9ce9ccac8c7db459027 (7f298698), 7 files, +968/−46 (previously 4 files, +1068/−32 at 348c06c). New files in scope: helios/src/server/metrics.rs (+3/−3), docs/api.md (+9/−2), helios/src/server/runtime/response_lifecycle_tests.rs (+2/−2). runtime.rs shrank from +443/−15 to +362/−22 purely by refactor.
  2. My finding "no doc change is required" is superseded — the PR now changes the docs and the HELP strings. docs/api.md:330, :332, a brand-new paragraph :349-354, and metrics.rs:1077-1079, :1087-1089 were all rewritten. The new cancelled prose at docs/api.md:349-354 closes an operator-facing gap I had not flagged: flare_requests_cancelled_total had no prose definition at all before this PR.
  3. Labels and description changed: labels went from none to area:api, bug, priority:P2, triage:review; the body now carries all four charter sections and documents the metrics/docs work (I had already scored it compliant; it is now compliant and complete).
  4. A full review round happened and every item was fixed and verified by me in the head files — Autobot review at 21:50 (Changes Requested, 0 blockers, 2 should-fix, 2 subtract/simplify, 3 nits, "technically sound … no correctness or concurrency blockers"), author reply at 22:18, and a refactor follow-through (single transition() helper, event_budget_exceeded, wait_for_admitted).
  5. My conformance gap is now half-closed, not closed. The ResponseLifecycle observed-edge harness and the terminal-frame retention test now call the production emit_finished (response_lifecycle_tests.rs:155, :372) — but the harness still admits via generate_many (:120-141, defer_completion = false), so the deferred GENERATED → COMPLETED/CANCELLED/FAILED half, the half the PR exists for, still has no TLA+/observed-edge coverage (docs/design-review.md:241-246).
  6. Evidence is still self-reported and now partly un-CI-able: the re-verification numbers are byte-identical to the pre-fix run, no CI has run on 7f298698, and I confirmed .github/workflows/helios-lifecycle.yml:33-34 (not opened) runs check.py without --mutations, so the 40-mutation claim cannot be reproduced by CI at all. The author also ran at 512 MiB memlock where gating CI uses 64 MiB (native-serving.yml:56-63).
  7. The parallel_tool_calls: false divergence I flagged is untouched, with new line numbers: the note moved from docs/api.md:700-702 to :706-709 and still says the request is "counted cancelled rather than completed, despite the successful API response". The doc commit did not fix it, and did not make it wrong.

1. Head, size, labels, description

Base report Now
Head 348c06c 7f298698
Size 4 files, +1068/−32 7 files, +968/−46
Labels none area:api, bug, priority:P2, triage:review
Reviews/comments none Autobot review 21:50 (Changes Requested, 0 blockers) + author reply 22:18

Per-file at head: helios/src/server/runtime.rs +362/−22, helios/src/server/runtime/phase_tests.rs +552/−0, helios/src/server/http.rs +20/−9, helios/src/server/protocol/decisions/mod.rs +20/−8, docs/api.md +9/−2, helios/src/server/metrics.rs +3/−3, helios/src/server/runtime/response_lifecycle_tests.rs +2/−2. http.rs and decisions/mod.rs are unchanged since the pre-fix head, so every finding I made about those two files stands verbatim, only renumbered.

2. Documentation and HELP changes (new; supersedes "no doc change is required")

3. ResponseLifecycle conformance: gap half-closed (amends open question #1)

4. Review round and refactor (verified in the head files, not just claimed)

The author's 22:18 reply claims all seven items fixed. I verified each:

5. Line-number remap (supersedes citations in the base report)

Site Base report Head 7f298698
RequestOutcome runtime.rs:109-296 runtime.rs:109-207 (states :109-114, struct :116-127, helpers :138-206)
Generation outcome field / settle / drop :348-357, :378-383 :219, complete_output :259-261, fail_output :263-268, Drop :289-294
Incoming::emit_finished :553-582 :465-492
finish_error FAILED ordering :583-595 :508-513
generate_for_output :1145-1151 :1058-1064
generate_observed #[cfg(test)] :1131-1134 :1044-1047
Worker cancellation sites :1647-1653/:1667-1671/:1680-1690/:1735-1740 :1563, :1583, :1595, :1648-1654
Terminal emissions via emit_finished old worker sites :2209, :2506
Unit tests — :4383-4484, :4486-4560
docs completed / failed :330 / :332 :330 / :332 (text changed)
docs parallel-tool-limit note :700-702 :706-709
metrics.rs HELP :1092-1095 completed :1076-1080, cancelled :1086-1090, failed :1091-1095
http.rs submission / settlement / failures :328-334, :561-566, :402-410, :426-434, :445-450, :582-590 same numbers, now :328-338, unchanged
decisions score() :838-886 :830-893, settle at :838-841, :844-847, :850-856, :864-871, :878-888
integration tests phase_tests.rs:8437-9020 :8647, :8707, :8775, :8808; helpers :8441-8645

6. Evidence status (amends "Claims and evidence")

Unchanged in substance, sharper in detail:

7. Still open (unchanged or newly opened)

  1. Deferred-half conformance — see §3. This is the one item of docs/design-review.md:241-246 still unmet.
  2. CI is the real gate now. Two of the review's should-fixes are done; the third ("get CI green on head") is not, and the mutation result cannot be CI-green by construction (helios-lifecycle.yml:34).
  3. parallel_tool_calls: false divergence (docs/api.md:706-709) is still documented as intentional and still untouched: http.rs:571-575 still calls generation.cancel() on encoder.tool_limit_reached, so that path still reports cancelled on a successful API response. #692's deferral does not change it, and the docs still describe it correctly — but the doc change was an opportunity to reconcile the two and did not take it.
  4. HELP/docs asymmetry for failed — metrics.rs:1092-1094 vs docs/api.md:332 (§2).
  5. Conflict surface unchanged and now larger by one file: #691 (same author) touches the same Incoming/Generation and wait_for_first_token; #548/#560 touch the same counters and GenerationEvent::Finished. response_lifecycle_tests.rs and metrics.rs are new files to keep in mind when #548 rebases.
  6. Not found / not verifiable by me: any CI run on 348c06c or 7f298698; any independent confirmation of the 1,884/254/245 counts; whether 7f298698 actually re-ran the suites after the refactor rather than re-stating the earlier numbers; and the 84/4/3 GPU- and checkpoint-gated ignored tests plus live flare run serving, which the author states were not run.