#1 [high] Change: what #560 does, and its stacked scope
PR #560 "Emit vLLM-compatible per-request metrics from runtime instants", author WynnD (GitHub association NONE), draft, opened 2026-11-28, base main, head 037b9d5f, 18 files +1898/-123, 0 comments, 0 reviews, no CI checks. Closes #551. Closes-issue + description: https://github.com/NVIDIA/hyperflare-inference/pull/560
Own commit: 037b9d5f "Report vLLM per-request metrics from runtime instants" (search_history at PR head). All earlier commits in the branch (3e1512e3, 49373bc5, 15018689, 01f1e92b, 10c0b937, 54e06b30...) are #548's commits — the branch is cut from #548's branch metrics/request-latency-histograms, so the GitHub diff against main contains BOTH PRs. Evidence: metrics.rs is +548/-2, exactly #548's own metrics.rs size (read_item 548 files list), and docs/api.md here is +178/-4 vs #548's +127/-4; latency.rs is +24/-8 here, identical to #548's — #560 adds nothing to latency.rs. #560's own delta is roughly +880/-72 on top of #548 (1898-1016 / 123-51). Classification: #560-only files (not in #548's file list): docs/cli-design.md, flare-cli/src/cli.rs, flare-cli/src/main.rs, helios/model-contract.md, helios/src/server/config.rs, helios/src/server/protocol/encode.rs, helios/src/server/protocol/tests.rs, helios/src/server/runtime/response_lifecycle_tests.rs. Overlapping files that carry both PRs: runtime.rs, http.rs, metrics.rs, docs/api.md, server.rs, latency.rs, scheduler.rs, scheduler/tests.rs, phase_tests.rs. Description says explicitly it is stacked on #548 "the updated #548" and that the dependency must merge first.
#2 [high] Related work: supersedes #552 and #553, stacked on #548, closes #551
#551 (issue, open, WynnD, 2026-11-27) "Report per-request timings on final responses so llama-swap can show prompt and decode rates": llama-swap's activity table reads llama.cpp timings or vLLM metrics from the proxied body/SSE (buildMetrics, internal/server/metrics.go, llama-swap v250 @60226b6); Flare emits usage only so rates stay -1 and the input-token column shows the full prompt. #560 closes it. https://github.com/NVIDIA/hyperflare-inference/issues/551
#552 (closed 2026-11-28, draft, +929/-26) "Report request timings on final responses": emitted a llama.cpp timings object (cache_n/prompt_n/prompt_ms/prompt_per_second/predicted_*/draft_n/draft_n_accepted), stacked on #548, carried per-request DraftCounts. Closing comment by WynnD: superseded by #560 because emitting both made llama-swap subtract cached prompt tokens twice. #560's description says the llama.cpp timings object and per-request draft counts are "not carried over".
#553 (closed 2026-11-28, draft, +364/-9) "Add vLLM-compatible per-request metrics": same vLLM metrics object but timed from HTTP admission, so queue_time_ms was always null; added [server] per_request_metrics config key in flare/src (configuration.rs, settings.rs, controller.rs). Closing comment by WynnD: superseded by #560 because #560 uses model-worker instants, so queue_time_ms is reported and stop-string requests are timed correctly. #560 drops the flare/src config key.
#548 (open, draft, same author) "Add per-request histograms and vLLM-parity request metrics", closes #536, +1016/-51, head 49373bc5. It carries RequestTimes/RequestRecord, the completion histograms, model_step_tokens, parked gauge, admission_rejections, cache_lookup_tokens. #560's description states the dependency must merge first. #548 itself has 5 discussion entries: 3 Autobot reviews, all "Changes Requested"; last at 2026-11-27 07:04 lists 2 blockers (a --features server build break and unreconciled evidence).
#3 [high] Community/process: no engagement on #560; #553's auto-review stopped on charter/value grounds
#560: "No comments" (pr_comments), 0 reviews, no CI checks on head 037b9d5f ("CI on the head commit: no checks"), draft. Age <1 day at orientation. Predecessor #553 received two flare-autobot "## Review Stopped" verdicts — "Auto-Review halted due to finding: It is low value or does not align with the project charter." (2026-11-27 05:17 and 06:40), with Value Proposition Reports. That is the only recorded project-side judgement on the per-request-metrics idea so far, and it is about #553's HTTP-timed variant, not #560. source: read_item 553 discussion. #548 (the base) has 3 Autobot reviews, all "Changes Requested", none from a human maintainer. No human maintainer has commented on any of #548/#552/#553/#560/#551. Author association to NVIDIA/hyperflare-inference is NONE (orientation packet), 0 merged PRs, 2 closed, 3 open in 180 days: #553, #552, #551, #549, #548.
#4 [high] Change: #560-only code, verified against the diff
#560-only pieces, verified in the diff (pr_diff at head 037b9d5f):
- runtime.rs:
GenerationEvent::Committed { at_ns }added; emitted insideWorker::completeat the per-request token loop whenposition == 0andrequest.incoming.commits(runtime.rs:1826-1833), aftercompleted_at_ns = monotonic_ns()at :1668.GenerationEvent::Finishedgainsarrival_nsandtimes; filled on all three terminal paths (user/text stop :1925, natural finish :2104,finish_cancelled:315).Incominggainscommits: boolandrecord: RequestRecord.output_event_capacity(minimum, observed, commits)multiplies by1 + observed + commits(runtime.rs:59-75).generate_observed/generate_many_observed/enqueue_manytakecommits;generate/generate_manypass false. - runtime.rs also:
Worker::reserve_and_packstampsrecord.times.first_scheduled_ns.get_or_insert(monotonic_ns())for every lane (this is the first_scheduled_ns source);request_completed(...)replaces the directcompleted.fetch_addon both completion paths and computesoutput_limitfrom reason == "length";publish_gauges()factors scheduler stats + pending + parked;Worker::preemptincrementsrecord.preemptions. - http.rs: encoder is now built BEFORE submission (moved above the
submittedblock, http.rs:332-363), socreatedis read a few microseconds earlier — description states this in Cost.let commits = state.per_request_metrics && encoder.enable_request_metrics(decoded.stream);then all three submission arms passcommits. Two side effects visible in the same hunk: (a) the third arm changed fromgenerate_many(prompts)togenerate_many_observed(prompts, None, commits)— so every non-continuous, non-token-id request now subscribes observation=Some(false) where before it usedgenerate_many(observation None); (b)GenerationEvent::Committedis consumed in the delivery loop (encoder.record_commit(at_ns)), andFinishednow feedsencoder.record_times(...),generated[index],first_scheduled_ns. Thefirst_scheduled_nsvariable is assigned on everyFinished, so for multi-choice Completions a later choice overwrites it (line:first_scheduled_ns = times.first_scheduled_ns;). That matters because it feedsperformance.first_scheduled_ns, which is Chat-only in practice ("performanceis Chat-only, and Chat has one choice" — code comment http.rs:411-412). - encode.rs:
RequestMetrics::{Suppressed,Single(Timing)},enable_request_metrics(streaming) -> bool,record_commit,record_times,metrics_value(). Placement: top-level of a JSON body (http.rs:617-619), Chat/Completions final usage chunk only wheninclude_usage(encode.rs:736-743), Responsesresponseobject ofresponse.completed/response.incomplete(encode.rs:756-768), Messages never. Null/omit rules inenable_request_metrics(encode.rs:245-253): omitted for Messages, for a stream without include_usage (except Responses), and for multi-prompt Completions;Suppressed(null) for choices_per_prompt > 1. All six keys always present; each null when its instants were not reached. - config:
ServerConfig.per_request_metrics: bool(server.rs:129), HttpState copy,Bootstrap::loadaccepts only JSON bool or absence and errors otherwise (config.rs:353-357). flare-cli--enable-per-request-metricsonRunandOrbitRun, forwarded as a rank-zero option inrank_zero_options()and set into the server config JSON in main.rs:355-357 only when true. - observation.rs:
performancegainsfirst_scheduled_ns; tuple type widened from (Option,Option) to (Option,Option,Option). - model-contract.md: documents
first_scheduled_ns,token_timestamps_ns[0] - first_scheduled_ns, and the extra event per generated token in the response event budget. Docs: docs/api.md gains a "Per-request metrics" section (:1002-1057) and a vLLM correspondence table (:475-520); docs/cli-design.md lists the flag (:736) and rank-zero forwarding (:173).
#5 [high] Change: description vs diff discrepancies
- The published diff is 18 files / +1898/-123, but only about +880/-72 of that is this PR; the rest is the unmerged #548 base it is stacked on (metrics.rs +548/-2 and latency.rs +24/-8 are #548's changes verbatim; docs/api.md here +178/-4 vs #548's +127/-4). The description does say it is stacked and that "the dependency must merge first", and it credits #548 for the instants; but a reviewer reading the GitHub diff sees one large change, and #548 is a draft that has only ever received "Changes Requested" from the repo's own auto-reviewer. GitHub cannot merge this before #548 without a manual rebase.
- Undeclared side effect of moving the encoder before submission: the fall-through submission arm in http.rs changed from
state.model.generate_many(prompts)tostate.model.generate_many_observed(prompts, None, commits)(compare pr/548 http.rs:338 with #560 http.rs:374). That means requests that previously took the plain path now allocate aGenerationwithobservation: Some(false), which changesoutput_event_capacity(theobservedfactor) for every generation request, not only for the metrics streams the Cost section enumerates. The description's cost section says "Option off: no commit events, unchanged event capacity" — that is true of thecommitsterm, but theobservedterm is now 1 where it used to be 0 on that arm. This is a claim/code mismatch worth flagging. - Undeclared: the diff also carries #548's behaviour changes to the same request path —
RequestRecord.max_tokensset at admission,tokens_committedon every committing step,request_completedreplacingcompleted.fetch_addon both paths,model_stepobservation on every completed text graph,admission_rejectedcounters on the 429/503-adjacent paths,flare_parked_requestsgauge,cache_lookup_tokens,first_responsehistogram, andMetrics::response_completede2e observation. None of that is described in #560's "What changed" (it is #548's), but it is in this PR's diff. first_scheduled_nsassignment in the delivery loop is unconditional per finished choice (first_scheduled_ns = times.first_scheduled_ns;, http.rs:541), so for a multi-choice Completions body (not Chat) the last choice's value wins in theperformanceobject. The code comments thatperformanceis Chat-only, so this is latent rather than observable today; worth a note becauseobservation.finishis also called from the non-stream Chat path only.- The description says "No clock read is added in either state." Verified in this PR's own hunks: true for the encoder path (instants come from events). But #548's part of the diff does add clock reads (monotonic_ns in
completealready existed;reserve_and_packgains one monotonic_ns per submitted step). So "no clock read is added" is true of #560 alone, not of the diff. - docs/api.md's vLLM correspondence table and the "Per-request metrics" section are both in this diff and are #548-backed content plus this PR's section; the description mentions docs/api.md documents the fields, placement, null rules and cost — accurate.
- Description claims a
docs/api.mdstatement "Failures return error bodies without it" — verified: metrics is only emitted atDelivery::Complete; the failure pathyield Delivery::Failedreturns before that (http.rs:593-597).
#7 [high] Project fit: charter, AGENTS.md rules on flags, stacks and TODO.txt
Charter facts that bear on this change (read_charter):
- line 35 / "What gets merged": PRs that address a maintainer request, a roadmap item, a reproducible bug, a measured perf/memory issue, or bad docs. AGENTS.md:165-169 restates it and adds "Hypothetical future consumers ... do not establish a need". #560's justification is a real, named consumer defect (llama-swap), so it reads as a reproducible bug report — but from an outsider's deployment, and no maintainer has endorsed the approach.
- line 43 / AGENTS.md:449-456 ("No per-model special cases or flags") and AGENTS.md:188-193 ("Reject unsupported abstractions and churn ... do not add ... configuration switches without a concrete requirement"): this change adds a new user-facing flag
--enable-per-request-metrics, aServerConfigfield and aBootstrapkey. The concrete requirement is stated (llama-swap / vLLM-compatible gateways); whether that clears the bar is the maintainers' call, not a fact I can settle. Precedent: the repo already has similar opt-ins (--bypass-performance-check,--verify-weights) but both are behaviour gates, not wire-format ones. #560 itself notes there is no[server] per_request_metricskey, deliberately matching those two flags. - AGENTS.md:128-129 and docs/design-review guidance for stacked PRs: "For stacked PRs, explain what each necessary dependency supplies, what this diff contributes, and the required merge order". #560 does this in the paragraph "This PR is stacked on the per-request histogram change".
- AGENTS.md:56-58: "State designed behavior that the code does not implement as a specification marked designed, not implemented... Record unresolved defects, unrun checks, and pending measurements in docs/TODO.txt". #560 records the Windows-desktop and persistent-Orbit consequences in the description but no TODO.txt entry was added (verified:
per_request_metricsdoes not appear in docs/TODO.txt; only "metrics port" at :261 is unrelated). - Charter line 12 / AGENTS.md:407-421 ("Python prepares; Helios serves", model-agnostic runtime): the change touches only Rust runtime/HTTP/CLI and adds no per-model branch, so it is consistent with that invariant. The one place worth noting: it adds a vLLM-shaped wire object and names it after a competitor, which AGENTS.md:493-495 only speaks to for benchmarking ("Compare other runtimes against an exported core"), not for wire compatibility.
- Charter "Respect contributors"/priority contributors list (@voipmonitor, @original-el8, @lukealonso) does not include WynnD; the author has no merged PRs and GitHub association NONE.
#8 [high] Claims and evidence: what backs each claim of #560
Claims → evidence, verified or not:
- "cargo check --features server clean; cargo test ... 820 passed, 1 failed; flare-cli cli:: 33 passed" — not reproducible here; the named failure
server::protocol::decode::native_prompt_tests::messages_image_hints_end_after_expansion_for_text_and_segmented_templatesis the same pre-existing failure #548, #549 and #552 all report, needing FLARE_TEST_TEMPLATE_DIR from tests/frontend/prepare_templates.py. Consistent across four PRs, so plausible, but no CI run exists on head 037b9d5f to corroborate. - The six new tests named in the description exist in the diff and assert what the description says: phase_tests.rs
performance_reports_the_first_scheduled_model_step(:4580ish),per_request_metrics_report_the_runtime_instants_of_a_stopped_reasoning_answer(:4693),per_request_metrics_reach_completions_and_responses_where_vllm_places_them(:4746),per_request_metrics_are_absent_without_the_option_and_null_for_several_choices(:4800); protocol/tests.rsper_request_metrics_follow_vllm_placement_and_null_rules(:2350) andcontent_instant_excludes_reasoning_tool_calls_and_suppressed_text(:2520ish); cli.rsper_request_metrics_flag_is_off_by_default_and_reaches_rank_zero(:1378); config.rs Bootstrap test (:724-740). - Strong evidence point: the tests drive a real worker and pin instants to the worker step that produced them, with 3 ms sleeps between steps (
timed_pass, phase_tests.rs:4520s), and assertcommits == stream— i.e. that only the content-instant streams requested commit events. That directly supports the "no added events when off" claim rather than asserting it from code reading. - No live/gateway verification at all in #560 ("Not run here: a GPU, an exported core, a live server, a llama-swap or gateway check, the Windows build"). Its predecessor #553 DID have live llama-swap numbers (4925.84 ms TTFT, 3.20 tok/s non-stream; 128.01 ms mean ITL streaming) but those came from a tree that also carried an unpublished local
timingsobject, and #553's own numbers were produced by the HTTP-timed variant, not this one. #552 had live llama-swap numbers too. So the swap to runtime instants traded away the only end-to-end evidence the family had. - "No clock read is added in either state" — true of #560's own hunks; #548's hunks add one monotonic_ns per submitted step in reserve_and_pack.
- Cost numbers in the description are read from code, explicitly not measured; CPU overhead under load was not measured. The repo's own rule (AGENTS.md:74-112) requires distinguishing an expectation from a measured result, which the description does.
- Undeclared-behaviour risk not covered by any test: the fall-through arm now calls
generate_many_observed(prompts, None, commits)instead ofgenerate_many(prompts), soobservationbecomesSome(false)for requests that previously hadNone.output_event_capacitythen multiplies by 2 instead of 1 for those requests. Tests added here do not cover that arm's capacity.
#9 [high] Reach: who and what the flag affects, and the include_usage gate
Reach — users/operators/config/compat/docs:
- Users: anyone consuming OpenAI Chat/Completions/Responses from
flare run. With the flag off nothing changes on the wire (asserted byper_request_metrics_are_absent_without_the_option_and_null_for_several_choices). With it on, a Chat or Completions stream only carries the object if the client sentstream_options.include_usage; a Responses stream always carries it; Anthropic Messages never does. So a gateway in front of Chat streams that does not set include_usage sees no object at all — a practical limit for the llama-swap motivation, since llama-swap would have to add that option (see #551's own note that "a stream without stream_options.include_usage has no usage to use"). - Operators: one new boolean, off by default, no config-file key (deliberate). Orbit: the flag is a rank-zero option and is forwarded only when set (cli.rs
rank_zero_options), so it cannot be saved as always-off. #560's description states both consequences itself: the WinUI desktop controller cannot enable it (verified: flare/src/configuration.rsServerstruct has no such field, flare/src/runtime_settings.rs has no such field, flare-winui/bridge/src/lib.rs maps only the existing runtime settings), and a persistent Orbit group that saved the flag cannot turn it off without a negating flag (verified:GroupSpec.rank_zero: Vec<String>is persisted bycontroller.rs:841-879and reloaded at:691, and there is no--no-enable-per-request-metricsin cli.rs). - Interaction with
[server]unknown keys:flare::configuration::Serveris#[serde(default)]withoutdeny_unknown_fields(configuration.rs:26-34), so a user who writes[server] per_request_metrics = truefollowing #553's documentation gets it silently ignored rather than an error. That is worth flagging next to the charter's "Don't silently ignore API fields" spirit, though the rule is about API request fields, not TOML. - Also relevant: #553 added that
[server] per_request_metricskey (flare/src/configuration.rs, settings.rs, controller.rs in its file list) and #560 drops it; anyone who ran #553's branch loses the key without a diagnostic. - Compatibility: no change to
usage,choices, or existing keys; a new key appears only when opted in. vLLM's ownmetrics.speculative_decodingis not emitted, and vLLM's convention of always serialisingmetrics(even null) is not followed — both stated in #560's limitations. - Deployment: rank-zero-only. Multi-host Orbit applies the flag to rank zero's
flare runonly, matching docs/cli-design.md:173. - Docs touched: docs/api.md (+178/-4, mostly #548's content plus the new "Per-request metrics" section at :1002-1057 and the vLLM correspondence table at :475-520), docs/cli-design.md (+2/-1), helios/model-contract.md (+14/-6).
- Costs borne by the operator when on for a Chat/Completions stream with include_usage: one extra queue event per committing step, so the response queue's reserved capacity rises from 2× to 3× tokens (event capacity is a reservation bound, not an allocation — runtime.rs comment "Tokio allocates queue blocks as events arrive, not at this bound").
#11 [high] Process: draft with no CI, no review, no autobot case file; blocked base
Process state at review time:
- Draft, opened 2026-11-28, base main, head 037b9d5f, 18 files +1898/-123. Zero comments, zero reviews, no CI checks on the head commit ("CI on the head commit: no checks").
- No flare-autobot case file or auto-review has been opened for #560 yet, unlike its three siblings (#548, #549, #553 each got a case file within ~30 minutes of opening). So the repo's reviewer has not yet pronounced on this variant.
- #560's predecessors: #552 closed 2026-11-28 02:04 by the author with "Superseded by #560"; #553 closed 2026-11-28 02:05 by the author with "Superseded by #560". #553's autobot reviews were both "## Review Stopped — Auto-Review halted due to finding: It is low value or does not align with the project charter." #552 never got an autobot review (only its intake? no — #552 shows just the closing comment).
- Its base #548 is a draft with three "Changes Requested" autobot reviews, latest 2026-11-27 07:04, listing 2 blockers including a
--features serverbuild break. So the base is not in a mergeable state, and #560 inherits that. - The author's other open items: #548 (base), #549 (independent KV-page gauges), #551 (the issue this closes). No merged PRs in 180 days. Author is not a priority contributor.
- The stack is three deep in effect: #548 → #560, with #549 noted by #548 as a rebase-order partner on the same docs/api.md rows and metrics.rs fixture rows. #560 does not mention #549; #549's file list does not include the encoder or config files, so #560 and #549 overlap only through #548.
#12 [high] People: first-week author, metrics series, no maintainer engagement
People:
- Author: WynnD / "Wynn Drahorad", Discord
oystersmiles. GitHub association with NVIDIA/hyperflare-inference: NONE. Last 180 days: 0 merged, 2 closed, 3 open. Every one of the five items is part of one metrics series: #548 (histograms, base), #549 (KV pages), #551 (issue motivating this), #552 (superseded, llama.cpp timings), #553 (superseded, HTTP-timed vLLM metrics). So the author is a metrics-focused outside contributor in their first week, with no landed change yet. - The author engages the repo's automated reviewer directly ("@flare-autobot review the pushed changes") and responds to findings by rewriting rather than arguing; the pattern across #548/#549/#552/#553 is that reviews shrink the diff and the author complies.
- The one other outsider engaged in the same space: Napuh, who opened #536 (request histograms) and #537 (KV usage) on 2026-11-26 with concrete vLLM parity complaints and cited an environment (v0.3.2 at c0c4f79). Napuh does not appear in #560's discussion; #560 closes #551, not #536.
- Who usually works here: Luke Alonso (208 commits in helios/src, 370 in docs), Martin Vit (49), yatesdr (47). Luke Alonso authored #507, the metrics infrastructure this builds on, and is in the charter's priority-contributor list. None of them has commented on any PR in this series, so there is no maintainer signal either way.
- flare-autobot is the only reviewer that has engaged any of these PRs, and its verdicts so far are: #548 Changes Requested ×3, #549 Changes Requested ×2 (blockers fixed by round 2), #553 Review Stopped (low value / charter), #560 nothing yet.
#13 [high] Research summary
Case file gathered for PR #560 ("Emit vLLM-compatible per-request metrics from runtime instants", WynnD, draft, head 037b9d5f). Scratchpad holds 12 entries covering every requested angle: change, why, related work, recent activity, people, community, project fit, claims/evidence, reach, process.
Headline findings: (1) the published diff is two PRs — 18 files / +1898/−123 against main, of which metrics.rs and latency.rs are verbatim the unmerged draft #548, which itself has three "Changes Requested" auto-reviews and is not mergeable; only ~+880/−72 is #560's own. (2) An undeclared behaviour change rides along: the http.rs fall-through submission arm changed from generate_many(prompts) to generate_many_observed(prompts, None, commits), so observation is now Some(false) where it was None, which doubles output_event_capacity for requests the description's cost section says are unaffected — and no test covers that arm. (3) No live, gateway, GPU or Windows evidence at all, unlike the two PRs it supersedes, which both had live llama-swap numbers. (4) The motivating defect is real and citable (#551: llama-swap v250 buildMetrics reads only llama.cpp (not opened) timings or vLLM metrics from the body, so Flare rates read −1), but a Chat/Completions stream carries the object only when the client sets stream_options.include_usage — a real reach limitation for that gateway. (5) Project fit is genuinely double-edged: the charter/AGENTS.md ban new configuration switches without a concrete requirement, and the flag lands as an opt-in with no config-file key, no WinUI path, and no way for a saved Orbit group to switch it off; #553's auto-review was stopped for "low value or does not align with the project charter". (6) Process: draft, zero comments, zero reviews, no CI checks, no autobot case file yet, no maintainer has engaged any PR in this five-item series, and the author has no merged PRs and NONE association.
I did not judge whether it should merge. Nothing in the orientation packet led to a dead end; #549/#536/#537 were followed and recorded as adjacent but separate, and the verification/helios-lifecycle source-text mutation was checked and still matches.
#14 [high] Synthesis: the connections between stack, succession, flag and capacity
Cross-references the final report needs to state explicitly (each already sourced in an earlier entry):
- Stacking: #560's branch is cut from #548's branch (metrics/request-latency-histograms) at 49373bc5; every file carrying #548's histograms shows up in #560's diff verbatim. Consequence: GitHub will show reviewers a +1898/−123 change, and #560 cannot merge before #548, which has only "Changes Requested" verdicts. GitHub cannot express the dependency; the description carries it in prose only. The description does name it ("This PR is stacked on the per-request histogram change (the updated #548)... The dependency must merge first"), so this is a process risk rather than a misstatement.
- Succession: #553 (HTTP-timed vLLM object) → #560 (runtime-instant vLLM object) is the author's fix for queue_time_ms and TTFT being unmeasurable from HTTP; #552 (llama.cpp
timings) → #560 is the author's fix for double-subtracting cached prompt tokens in llama-swap. Both were closed by the author within a minute of each other (2026-11-28 02:04/02:05) and both point forward to #560. So #560 is the third design iteration in two days, and the two abandoned ones are where the live evidence lives. - Flag ↔ charter: the flag is what lets the feature exist without changing the default wire format, but it is also exactly the "configuration switches without a concrete requirement" AGENTS.md:188-193 warns about, and the config-key gap (#560 has no
[server] per_request_metrics, deliberately mirroring--bypass-performance-checkand--verify-weights) means the setting has no configuration-file home at all — visible consequence: the WinUI desktop controller cannot enable it, and a persistent Orbit group cannot disable it once saved. The author documents both consequences rather than fixing them. - include_usage gate ↔ motivation: the object reaches a Chat/Completions stream only when the client sends
stream_options.include_usage; a Responses stream always gets it. llama-swap reads the object from any SSE event, so the motivation holds for Responses and for usage-enabled Chat, and not for plain Chat streams — the gateway or client must set the option. #551 itself records this concern about the vLLM object ("a stream without stream_options.include_usage has no usage to use"), and #560's description restates the requirement but does not call out that it narrows the llama-swap use case. - Undeclared capacity change ↔ #548:
output_event_capacitynow takes (observed, commits) and multiplies by 1 + observed + commits. #548 introduced the multiplicandif observed {2} else {1}and #560 changed it to1 + usize::from(observed) + usize::from(commits), and #560's http.rs additionally routes the fall-through arm throughgenerate_many_observed(..., None, commits), which sets observed=true. The unit test at runtime.rs:3352-3362 asserts the new arithmetic for (false,false)=1, (false,true)=2, (true,false)=2, (true,true)=3, so the multiplicity is tested but the newly-observed fall-through arm is not exercised, because every added HTTP test drives Chat (token id/timestamp observation) or a stream/body that already took an observed arm. - Verification harness coupling: verification/helios-lifecycle/check.py:218-220 mutates the literal text
_capacity: Some(capacity.clone()),\n arrival_ns:in runtime.rs. #560's runtime.rs:926-928 preserves that adjacency (_capacity: Some(capacity.clone()), arrival_ns: super::observation::monotonic_ns(),), so the TLA+ mutation check keeps matching;arrival_nswas added by #548, not #560.
#15 [high] Community: #560 has drawn no engagement at all
Community engagement on #560 itself: none. Zero comments, zero reactions, zero reviews, and — unlike its three sibling PRs — no flare-autobot case-file or intake comment, which #548, #549 and #553 each received within about 30 minutes of opening. So at review time the change has drawn no interest from anyone but its author. Engagement in the surrounding cluster, for scale: #548 has 5 discussion entries (3 Autobot reviews, all Changes Requested, plus the author's two "review the pushed changes" prompts); #549 has 4 entries (2 Autobot reviews, Changes Requested → blockers fixed, plus the author's prompt); #553 has 5 entries (case file, two "## Review Stopped — low value or does not align with the project charter" verdicts with Value Proposition Reports, plus the author's closing note); #552 has 1 entry (the author's closing note, no review at all); #551 has 0 entries; #536 and #537 have 0 entries each. Net: across the whole metrics series (7 items, 2 issues from Napuh, 5 items from WynnD), no human maintainer has written a single comment. The only substantive project feedback in the entire cluster is the automated reviewer's, and its two stopping verdicts are on #553 — the HTTP-timed predecessor of this exact feature, not on #560.
#6 [medium] Why: the motivating problem and how long it has been wanted
The stated problem is concrete and verifiable from an external project: llama-swap v250 (commit 60226b6) buildMetrics in internal/server/metrics.go reads a llama.cpp timings object or a vLLM metrics object out of the proxied body or any SSE event; Flare emits only usage, so llama-swap's prompt and decode rates show -1 and the input-token column shows the whole prompt. Source: #551 (issue, open, WynnD, 2026-11-27) https://github.com/NVIDIA/hyperflare-inference/issues/551. #560's description states this without naming llama-swap; the issue names it.
Age: short. #551 opened 2026-11-27; #552 and #553 opened the same day; #560 opened 2026-11-28, one day later. The adjacent monitoring-parity asks, #536 (request histograms) and #537 (KV usage), were opened by Napuh on 2026-11-26 — one day earlier — and are about /metrics, not response bodies. So the wants are two days old at most, from two different outsiders (WynnD, Napuh), and none of them comes with a maintainer request.
The vLLM behaviour being copied: --enable-per-request-metrics and a metrics object on the response with queue_time_ms, time_to_first_token_ms, time_to_first_content_token_ms, generation_time_ms, mean_itl_ms, tokens_per_second, plus metrics.speculative_decoding which #560 does not implement (description says so).
#10 [medium] Recent activity: metrics owner is Luke Alonso; the change builds on #507
Recent activity and who owns these areas:
- The areas touched are Helios server/metrics/runtime. Commits on main in the last 180 days: Luke Alonso 208 in helios/src, Martin Vit 49, yatesdr 47. So Luke Alonso is the de-facto owner of the code this PR edits, and he has not appeared in any of #548/#549/#552/#553/#560/#551/#536/#537.
- Recent relevant commits on main: f646bebc "Add persistent worker counter schema, Prometheus metrics, /v1/worker telemetry, launch dashboard view, and flare parallax CLI (#507)" by Luke Alonso, merged 2026-11-24 — this is the most recent substantive change to server metrics before this series, and it is the shape #548/#560 extend (Metrics struct, render(), snapshot). #560 builds on it rather than reversing it.
- 6d74db3a "Fix Rust compiler warnings across Helios, Heliopause, and Selene" (2026-11-26) — the #560 branch was written after it; description claims
cargo checkclean. - 883abc17 (#556) "replace same-process TP dispatch with lock-free DispatchRing" and c9693765 (#555) "add intermediate batch capacities" are the most recent helios/src commits; neither touches the files this PR edits, and nothing in the current main since 2026-11-27 conflicts textually with it except the files themselves.
- No commit on main changes
GenerationEvent::Finished, so #560's widest-reaching signature change (a public enum variant gaining two fields) lands on a stable surface, but any out-of-tree consumer or theverification/helios-lifecycle/check.pysource-text mutation ("unfinished producer admission",_capacity: Some(capacity.clone()),\n arrival_ns,at check.py:218-220) depends on the literal textarrival_nsfollowing_capacity:in theIncominginitializer. In #560's runtime.rs:926-928 that order still holds (_capacity: Some(capacity.clone()), arrival_ns: ...), so the TLA+ mutation harness keeps matching — verified by reading both. #548 addedarrival_nsthere originally; #560 leaves it in place. - The branch is 3e1512e3/49373bc5/037b9d5f on top of #548's commits, all authored by Wynn Drahorad on 2026-11-26/27; nothing has been rebased onto main since 883abc17.