Explore report · NVIDIA/hyperflare-inference #548

Raw Markdown for agents: https://autobot.eidonix.com/p/47e89828-8c92-468e-8043-99f7cafbab96.md

Amendments to the 2026-11-26 report on PR #548 (run of 2026-11-27)

Key findings (what changed since the last report)

  1. Head moved, and review blocker 1 is fixed. ebecef1 → d64c3ea "Exclude cancelled responses and reuse host helpers"; size +550/−20 in 10 files (was +545/−20 in 8). flare_request_e2e_seconds is now observed exactly once, inside the delivery generator, guarded by !count && !encoder.tool_limit_reached (helios/src/server/http.rs:598-606), and a new assertion pins flare_request_e2e_seconds_count 0 on the parallel-tool-limit path (helios/src/server/runtime/phase_tests.rs:4604-4613). My earlier finding that "e2e records responses the runtime counts as cancelled" is withdrawn.
  2. Most documentation findings are resolved by the same commit's docs/api.md hunk (docs/api.md:287-321): process_* naming exception, "accumulate since server start", HTTP vs runtime group split, ≥2-generated-token eligibility, stream-drain wording, queue boundary. My earlier "undeclared doc repair" note is moot — the stale "The only histograms describe host prefix-store lookups" sentence is gone (docs/api.md:297-301).
  3. New high-severity finding introduced by d64c3ea: the helper-refactor makes a documented Linux build configuration fail to compile. metrics/process.rs:63 calls crate::runtime_core::open_descriptors(), but runtime_core is behind feature = "runtime-core" (helios/src/lib.rs:25-26) while server does not enable it (helios/Cargo.toml:25). --features server alone is exactly what docs/model-development.md:99-100 and docs/scheduling-runtime-design.md:735-737 document, and no CI job covers that combination.
  4. #548 is now a merge-order dependency and one of three same-author PRs: #552 is stacked on it and renders RequestTimes into client-visible llama.cpp (not opened) timings; #553 adds an opt-in vLLM metrics object; issue #551, written by the same author, states outright that "Flare's Prometheus histograms cannot substitute" for a proxy consumer. That raises the cost of the weakest part of #548 — the queue histogram anchored at runtime arrival rather than HTTP admission.
  5. Unchanged: description not edited (no queue start point, no tool-limit exclusion, stale evidence/CI claims), no CI checks on d64c3ea, still draft, still zero reviews and zero maintainer engagement anywhere in the cluster (#536, #537, #548, #549, #551, #552, #553).

1. State at the new head

d64c3ea, +550/−20 in 10 files (was +545/−20 in 8), still draft, base main, no labels, no reviews, no CI checks on the new head. Diff file list: docs/api.md +28/−3, helios/src/runtime_core/mod.rs +1, helios/src/runtime_core/protection.rs +1/−1, helios/src/server.rs +2, helios/src/server/http.rs +8, helios/src/server/latency.rs (not opened) +27/−8, helios/src/server/metrics.rs +228, helios/src/server/metrics/process.rs +172 (was +184), helios/src/server/runtime.rs +38/−8, helios/src/server/runtime/phase_tests.rs +45 (was +35).

The only comments on the PR are the autobot intake note (2026-11-26 20:56), the autobot review (2026-11-26 22:00, "Changes Requested") and WynnD's re-review request (2026-11-27 04:56: "@flare-autobot review the pushed changes. The per-request metrics PR is new; the other two carry review fixes."). Still nobody with merge rights has engaged.

2. Corrected: the cancelled-response blocker is fixed

flare_request_e2e_seconds is observed once per successful response, immediately before yield Delivery::Complete(response), guarded by if !count && !encoder.tool_limit_reached (helios/src/server/http.rs:598-606). The two former observation sites are gone (Delivery::Complete(_) => None at http.rs:621; the non-streaming arm at http.rs:635-644 now only maps the body), and the cached metrics_handle() clone is replaced by state.model.metrics(). The tool-limit path was the only place the HTTP layer cancelled a generation while still delivering a complete response (http.rs:471-476, :526, :563-567), so the documented promise that cancelled and failed requests appear only in flare_requests_cancelled_total / flare_requests_failed_total (docs/api.md:315-316) holds again. The new test assertion is phase_tests.rs:4604-4613. The e2e/TTFR asymmetry I flagged on 26 Nov (e2e recorded before the body is delivered, TTFR only once the client reads text) still exists but is now deliberate, documented and pinned by tests.

3. Corrected: most documentation findings are resolved

docs/api.md:287-321 at the new head fixes:

Two doc inaccuracies remain, both smaller than before:

4. New high-severity finding: the helper reuse breaks a documented feature build on Linux

helios/src/server/metrics/process.rs:63 calls crate::runtime_core::open_descriptors(), but runtime_core is declared #[cfg(feature = "runtime-core")] pub mod runtime_core; (helios/src/lib.rs:25-26) while server is gated only on #[cfg(feature = "server")] (:28-29) and does not enable it (helios/Cargo.toml:25; default = [] at :17). A Linux build of helios with --features server and without runtime-core therefore references a module that is not compiled (E0433).

That feature set is documented and used: docs/model-development.md:99-100 (cargo test --manifest-path helios/Cargo.toml --features server --lib frontend:: and --features server --test message_boundaries) and docs/scheduling-runtime-design.md:735-737 (--features server --lib scheduler::, server::runtime::phase_tests::). No CI job covers it: native-serving always passes --features runtime-core,server (.github/workflows/native-serving.yml:63 (not opened),68), flare/flare-cli always enable both (flare/Cargo.toml:23 (not opened), flare-cli/Cargo.toml:27), helios-lifecycle runs cargo kani --lib with no features. Windows --features server still compiles because the call sits behind cfg(target_os = "linux") — the break is Linux-only and invisible to the matrix. Before this commit the server module had no unconditional runtime_core reference (only #[cfg(feature = "runtime-core")] code in session.rs and runtime/prompt_tests.rs (not opened)), so this is newly introduced.

Cheap fixes: gate the call on the feature; gate the whole process module on the feature; or route the fd count through the crate::os surface (it is a /proc read, not a runtime-core concept — helios/src/os.rs:8 already re-exports flare_eos).

The rest of the consolidation is an improvement and is what the review asked for: crate::os::page_size() (process.rs:56; eos/src/unix.rs:73-75), crate::os::raise_open_file_limit(0) (process.rs:65; eos/src/unix.rs:138-165, a zero target reads the soft limit), and shared open_descriptors (runtime_core/protection.rs:291-302, newly pub(crate) and re-exported at runtime_core/mod.rs:58). Roughly 12 hand-rolled lines disappear from process.rs; the separate page-size fallback for process_resident_memory_bytes is gone.

5. New cluster context: #548 is a merge-order dependency, and the author has written down what it cannot do

None of #551/#552/#553 has a maintainer comment, review or CI run either; all are under a day old. The metrics.rs/http.rs overlap queue is now effectively five-way (#542, #548, #549, #552, #553, plus #334).

6. Unchanged since the last report

The description was not edited: it still omits the queue histogram's start point, still omits the tool-limit exclusion the new head implements, still says "nothing about serving changes", still cites the two module-subset runs (109 + 20 passed) with no run on the new head, still says "CI covers the first two", and does not mention the runtime_core dependency or the helper refactor. Line count went up, not down (+550 vs +545).

Untouched review items: the unmeasured per-step clock read plus lane loop and the blocking procfs reads per scrape; converting the four host-cache histograms to Histogram<8> (two histogram implementations still coexist in metrics.rs); gating the process module on target_os instead of the let _ = text shim; the maintainer-authorization question for #536; and the ~190-line permanent growth of every /metrics body with no opt-out. Windows still gets no process_* series (docs/api.md:318-321).

Open questions

Could not be found