Explore scratchpad · NVIDIA/hyperflare-inference #548

Raw Markdown for agents: https://autobot.eidonix.com/p/8db2683c-e770-4c4c-be4b-18053df3ae6f.md

#1 [high] Change: PR #548 shape, size and files

PR #548 "Add request latency histograms and process metrics", author WynnD (GitHub association NONE; Discord oystersmiles). Open as a DRAFT, opened 2026-11-26, last updated same day, base main, head ebecef1, branched from f377dc8. Size 8 files +545/−20. Labels: none. Reviews: none. CI on head commit: no checks. Closes #536.

Files:

Immutable/non-atomic note: last_token_ns: u64 is a plain field, not Option<> — 0 means none; Metrics::new uses Default for times.

#2 [high] Why: issue #536 is the direct driver, filed same day

Issue #536 "Metrics: add request latency histograms and process metrics for monitoring parity with vLLM", by Napuh, opened 2026-11-26 09:03, updated same minute, open, 0 comments. Environment: hyperflare-inference v0.3.2 (c0c4f79).

Missing-vs-vLLM table it builds: e2e latency (vllm:e2e_request_latency_seconds), queue time, time_per_output_token / inter_token_latency, prefill duration, decode duration, TTFT (only flare_first_response_median_seconds 60 s median gauge today), prompt tokens per request (vllm:request_prompt_tokens), process metrics (process_cpu_seconds_total, process_resident_memory_bytes, process_open_fds, process_start_time_seconds).

Motivation stated: the median gauge cannot give P95/P99, cannot be computed over other windows, cannot be aggregated across instances; histograms let users run histogram_quantile() over any window and alert on tail latency.

It proposed exactly the names PR #548 implements: flare_request_e2e_seconds, flare_request_queue_seconds, flare_request_prefill_seconds, flare_request_decode_seconds, flare_time_per_output_token_seconds, flare_time_to_first_response_seconds, flare_request_prompt_tokens, plus process_*. It also proposed keeping flare_first_response_median_seconds for compatibility (PR #548 does).

Difference vs the proposal: #536 asked for flare_request_queue_seconds = "admission to first scheduled step"; PR #548 measures "model-scheduler arrival to first model step" (docs/api.md wording) — i.e. it starts at runtime arrival, not HTTP admission. Also #536 did not list process_virtual_memory_bytes (PR adds it) and PR #548 does not add vLLM's flare_... equivalent of inter-token latency beyond time_per_output_token.

Filed by Napuh, 0 comments, 0 interest shown beyond the filing; the same day two PRs (#548, #549) close it and #537, all by WynnD, and #541 (jere357) builds a Grafana dashboard that mentions #536.

#3 [high] Change: what the new histograms measure, verified in code

Verified in code (PR head ebecef1):

#4 [high] Change: e2e is server-side only; TTFR needs a client poll, e2e does not

#5 [high] Change: process metrics are hand-rolled procfs, Linux only, no new dependency

helios/src/server/metrics/process.rs is a hand-written clone of the Prometheus client collector, not an added dependency. libc = "0.2.189" is already an unconditional dependency of the flare-helios crate (helios/Cargo.toml:50), so no new crate and no feature gate; the module is pub(super) mod process; in metrics.rs and is only reached from the /metrics text handler (server.rs:709). No Cargo.toml change in the PR (file list confirms). This satisfies the charter's "pin everything / no new dependencies" preference — the alternative (adding the prometheus crate) would have been a dependency change.

Platform behavior: render() is a no-op outside Linux (#[cfg(not(target_os = "linux"))] let _ = text;). Windows is a supported serving target (docs/windows.md; flare-winui; the native-serving CI matrix builds and tests on windows-2022, .github/workflows/native-serving.yml:17-21,64-68), so a Windows operator scraping /metrics sees no process_* series and generic Prometheus process dashboards stay empty there. docs/api.md (PR) says "Other platforms omit them", so it is documented but the PR description's framing ("generic Prometheus process dashboards have no process_* series to read") is only resolved on Linux.

Robustness choices: each source read is .ok()-guarded and a parse failure omits only the dependent metric (no unwrap in the render path); sysconf(_SC_CLK_TCK)/_SC_PAGESIZE and getrlimit(RLIMIT_NOFILE) are wrapped in unsafe with SAFETY comments; parse_stat splits after the last ) to survive a command name containing ) and spaces, and there is a unit test for that (parse_stat_reads_fields_after_a_parenthesized_command_with_a_paren).

#6 [high] Related work: #536/#537/#541/#549 cluster and prior histogram code

All three come from the same request wave and are dated 2026-11-26:

#7 [high] Claims and evidence: what is backed, what is not, CI has not run

#8 [high] People: first-time contributor; the area is owned by yatesdr and Luke Alonso

#9 [high] Reach: docs inconsistencies introduced or fixed by the change

#10 [high] Project fit: charter clauses on evidence, scope and what gets merged

Charter (read_charter) facts, stated as facts:

#13 [high] Research summary

Case file for PR #548 "Add request latency histograms and process metrics" (WynnD, draft, +545/−20, 8 files, head ebecef1, no CI checks, no reviews) is gathered in the scratchpad across 12 entries, one per angle.

Key findings a reader could not get from the description:

  1. flare_request_queue_seconds starts at runtime arrival, not HTTP admission: Incoming.arrival_ns is set in ModelRuntime::schedule (runtime.rs:901) and handed to the scheduler at runtime.rs:1471. Issue #536 asked for "admission to first scheduled step"; e2e and TTFR, by contrast, start at HTTP admission (AdmittedAt, server.rs:828). The description names neither start point, so a reader porting vLLM queue-time semantics can mis-map it. Prompt-token observation uses the preemption-carried original prompt length, so it agrees with per-response usage.prompt_tokens.
  2. Undeclared asymmetry in the HTTP observations: flare_time_to_first_response_seconds is recorded only when the client actually polls the body, while flare_request_e2e_seconds is recorded as soon as the handler produces the completed response even if the body is dropped (http.rs:614-617 vs :607/638; phase_tests.rs:4406-4473 pins both behaviours). e2e therefore measures server-side handling, not delivery.
  3. helios/src/server/metrics/process.rs is hand-written procfs code, Linux only; libc is already an unconditional dependency of flare-helios (Cargo.toml:50), so no Cargo change. Windows is a supported serving target and CI builds it, but a Windows scrape gets no process_* series — documented, yet it means the description's generic-dashboard motivation is resolved only on Linux. process_open_fds counts its own directory read (declared in the help string).
  4. The docs hunk also silently repairs pre-existing drift: the old text claimed host-prefix lookups were "the only histograms" while flare_host_cache_retirement_seconds already shipped. Conversely the change leaves "Counter and gauge names start with flare_" (api.md:288-289) standing while adding unprefixed process_*.
  5. Process/community: the PR is a draft with zero checks, zero comments and no maintainer engagement anywhere in the cluster. The author has no merged contribution and GitHub association NONE; their other PR (#549) was opened the same day; both close issues (#536, #537) filed the same morning by one new filer, Napuh. So the demand is under a day old and one-requester wide — relevant to the charter's "explicit maintainer request" merger test.
  6. Evidence: the claimed test runs are two module subsets (server::runtime::phase_tests 109 passed; server::metrics:: 20 passed); Windows build, full helios suite and one template-dependent test are explicitly not run, and CI does cover the first two on both ubuntu and windows-2022 (native-serving.yml:56-68) but has not run. The live scrape is a single two-GPU DeepSeek instance whose deltas include the agent session's own traffic — self-declared confound, not a controlled three-request measurement. No performance claim is made and none of the added per-completion cost is measured.
  7. Related work: nothing on main conflicts (no default-branch commit since f377dc8 touches these files); metrics.rs has three open PRs in flight (#548, #549, #542) plus #334 touching it; #507 is the function the new code sits beside; #541 is the Grafana consumer whose own auto-review says the only in-repo Grafana signal is #536. The change leaves the four existing host-cache histograms on their older [AtomicU64; 8] implementation, so the file now holds two histogram implementations.
  8. Charter fit: observability-only, no per-model branch, complete four-part description — but the motivating framing ("monitoring parity with vLLM", migrating SLO alerts) sits against the charter's "not a general-purpose production server" self-description, and no maintainer has authorized the work.

Angles with nothing found: community (no comments, reviews or reactions anywhere in the cluster).

#17 [high] AMENDMENT (2026-11-27): head d64c3ea — blocker 1 fixed, but the process refactor breaks a documented feature build

PR #548 head moved ebecef1 -> d64c3ea ("Exclude cancelled responses and reuse host helpers", 2026-11-26). Size is now +550/-20 in 10 files (was +545/-20 in 8): adds helios/src/runtime_core/mod.rs (+1) and helios/src/runtime_core/protection.rs (+1/-1), and metrics/process.rs shrank +184 -> +172. Still draft; no review, no CI evidence on the new head.

WHAT THE COMMIT DOES

  1. e2e exclusion + single observation point. http.rs:598-606: one observation per successful response, guarded if !count && !encoder.tool_limit_reached, placed just before yield Delivery::Complete(response) inside the delivery generator; the duplicate observations in the streaming filter_map (:614-617 before) and the non-streaming Delivery::Complete branch (:631-635 before) are deleted, Delivery::Complete(_) => None now (http.rs:621), and the cached metrics_handle() clone is gone (uses state.model.metrics()).
  2. process.rs now reuses shared helpers instead of hand-rolling them: page = crate::os::page_size() (process.rs:56; eos/src/unix.rs:73-75), open_fds = crate::runtime_core::open_descriptors() (:63; runtime_core/protection.rs:291-302, newly pub(crate) and re-exported at runtime_core/mod.rs:58), max_fds = crate::os::raise_open_file_limit(0) (:65; eos/src/unix.rs:138-165, desired=0 only reads the soft limit). Only /proc/self/stat and /proc/stat btime parsing stay local. process_resident_memory_bytes no longer has a separate page-size fallback (:85-93).
  3. New assertion in disabled_parallel_calls_complete_http_and_stop_decoding (phase_tests.rs:4604-4613): the tool-limit cancellation must leave flare_request_e2e_seconds_count 0.

BLOCKER 1 OF THE 26 NOV REVIEW IS FIXED. The tool-limit path was the only place the HTTP layer cancels a generation while still delivering a complete response (http.rs:471-476 skip, :526 Cancelled substitution, :563-567 generation.cancel()), and it is now excluded; docs/api.md:315-316 ("Cancelled and failed requests enter only ..._cancelled_total and ..._failed_total") is consistent again. The other cancel paths set the flag only from Generation::cancel/Drop (runtime.rs:152-154, :175-179), which either ends in an Error event or a dropped response, so no Complete and no observation. Nothing in the new head addresses the earlier "cancellation races the natural finish" remark, but I found no path where it now produces an e2e observation.

NEW HIGH FINDING — the refactor makes a documented build configuration fail to compile on Linux.

Also unchanged by the commit: the two competing histogram implementations (host-cache arrays vs Histogram<N>), the ~190-line permanent growth of every /metrics body with no opt-out, no process_* on Windows, and the unmeasured per-step/per-scrape cost.

#18 [high] AMENDMENT (2026-11-27): docs findings resolved at head; description drift grows

The d64c3ea docs hunk in docs/api.md (PR head lines 287-321) resolves most of the documentation findings in my 26 Nov report:

STILL WRONG / STILL OPEN

  1. "The HTTP histograms observe delivery" (:303) overstates the non-streaming case: e2e is recorded inside the delivery generator before the response is returned (http.rs:598-606), and first_response_http_nonstream_records_only_when_completed_body_is_offered still pins flare_request_e2e_seconds_count 1 for both poll_body = false and true (phase_tests.rs:4461-4465). Only the streaming case needs the client to drain. One clause ("non-streaming responses are observed when the body is produced").
  2. The vision phrase covers the queue boundary but not that prefill absorbs vision compute: first_scheduled_ns is stamped for every lane before the GraphKind::Vision split (runtime.rs:2191-2203 vs :2208), so flare_request_prefill_seconds includes vision work too. Partially addressed, still not said explicitly.
  3. The PR description remains silent on the queue histogram's start point (docs say model-scheduler arrival; #536 asked for admission) and now also silent on the third e2e exclusion: it still reads "observed when delivery completes a successful response, except for /v1/messages/count_tokens", with no mention of the tool-limit/cancelled exclusion that this commit adds, and no mention of the new runtime_core dependency or the shared-helper refactor.
  4. The description's Evidence section was not updated with the new assertion, and still claims "nothing about serving changes" (unchanged), the two module-subset runs (109 + 20), the run-not-run list, and "CI covers the first two" (no checks on the new head either; the author instead asked for an autobot re-review).
  5. docs/api.md:318-321 still says other platforms omit process_*; unchanged, still the Windows gap.

#19 [high] AMENDMENT (2026-11-27): #548 now has a stacked dependent (#552) and a sibling (#553); issue #551 names the proxy gap

Three new items appeared in the hours after my 26 Nov report, all by WynnD and all referring to #548:

Consequences for #548's review:

#21 [high] Research summary

The new event (commit d64c3ea on PR #548, plus three new items in the cluster) is reviewed and the amendments are in scratchpad notes #17–#20. Headline amendments:

  1. Review blocker 1 is fixed. e2e is now observed once, inside the delivery generator, guarded by !count && !encoder.tool_limit_reached (http.rs:598-606); the duplicate observations and the metrics_handle() clone are gone; and a new assertion pins flare_request_e2e_seconds_count 0 on the parallel-tool-limit path (phase_tests.rs:4604-4613). The docs naming, cumulative-window, group-split, ≥2-token and stream-drain findings from the 26 Nov review are also now fixed in docs/api.md:287-321.

  2. New high finding introduced by the same commit. process.rs:63 now calls crate::runtime_core::open_descriptors() under cfg(target_os = "linux"), but runtime_core is gated on the runtime-core feature (helios/src/lib.rs:25-26) while the server feature does not enable it (helios/Cargo.toml:25). A Linux build with --features server alone — exactly the documented commands in docs/model-development.md:99-100 and docs/scheduling-runtime-design.md:735-737 — no longer compiles. No CI job covers that combination (native-serving.yml:63,68 always passes both features; Windows compiles because the call is Linux-gated).

  3. Cluster change. #548 is now a merge-order dependency: PR #552 (draft, +929) is explicitly stacked on #548 and turns RequestTimes into llama.cpp (not opened)-style timings on response bodies, and PR #553 adds vLLM-style per-request metrics; both by the same author, whose issue #551 states plainly that Prometheus histograms cannot serve the llama-swap consumer. That raises the cost of the queue-histogram start point, since #552 propagates the same stamps into the wire format. Also: docs still call non-streaming e2e "delivery" when it is recorded before the body is returned, the description is unchanged (still no queue start point, no tool-limit exclusion, stale CI/evidence claims), no CI has run on d64c3ea, and there are still no reviews or maintainer engagement anywhere in the cluster.

#22 [high] AMENDMENT TEXT (2026-11-27): the amendments to append to the report, worded

Amendments to the 2026-11-26 report (run of 2026-11-27)

1. Head moved: ebecef1 → d64c3ea "Exclude cancelled responses and reuse host helpers". Size +550/−20 in 10 files (was +545/−20 in 8). Still draft, still no reviews, still no CI checks, no maintainer engagement.

The two new files in the diff are helios/src/runtime_core/mod.rs (+1) and helios/src/runtime_core/protection.rs (+1/−1); metrics/process.rs shrank +184 → +172.

2. Corrected: the cancelled-response blocker is fixed (it was the first blocker in the 22:00 review of my last report).

flare_request_e2e_seconds is now observed exactly once, inside the delivery generator, immediately before yield Delivery::Complete(response), guarded by if !count && !encoder.tool_limit_reached (helios/src/server/http.rs:598-606). Both 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), the cached metrics_handle() clone is gone in favour of state.model.metrics(), and disabled_parallel_calls_complete_http_and_stop_decoding now asserts flare_request_e2e_seconds_count 0 on the tool-limit path (phase_tests.rs:4604-4613). The tool-limit path was the only place HTTP 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 the _cancelled_total/_failed_total counters (docs/api.md:315-316) holds again. The earlier "e2e is recorded as soon as the handler produces a response even if the body is dropped" asymmetry is now deliberate, documented, and pinned by a test.

3. Corrected: most of the documentation findings are resolved.

At the new head docs/api.md:287-321 fixes: the process_* exception to "Counter and gauge names start with flare_" (:288-290); "accumulate since server start" (:297); the split into "The HTTP histograms observe delivery" and "The runtime histograms observe completed generations" (:303, :309); the ≥2-generated-token eligibility of decode and time-per-output-token (:312-314); the stream-drain wording (:304-306); and the queue boundary named as model-scheduler arrival to the first model step, "which can be a vision step" (:309-312). The stale "The only histograms describe host prefix-store lookups" sentence is gone, so my earlier "undeclared doc repair" observation is moot and flare_host_cache_retirement_seconds is listed (:298-301).

Two doc inaccuracies remain, both smaller than before:

4. New high-severity finding the new commit introduces: 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 independent (: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 (--features server --lib frontend::, --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 runtime-core,server (.github/workflows/native-serving.yml:63,68), flare/flare-cli always enable both (flare/Cargo.toml:23, flare-cli/Cargo.toml:27), helios-lifecycle runs cargo kani --lib with no features — and Windows is unaffected because the call is Linux-gated, so 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). Fixes are cheap: gate the call on the feature, gate the process module, or route the fd count through the crate::os surface, which already re-exports flare_eos (helios/src/os.rs:8).

The rest of the helper 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) (:65, eos/src/unix.rs:138-165), and the shared open_descriptors (runtime_core/protection.rs:291-302, newly pub(crate) and re-exported at runtime_core/mod.rs:58). ~12 hand-rolled lines in process.rs disappear.

5. New context: #548 is now a merge-order dependency and one of three same-author PRs.

Consequence for the recommendation: the value of #548 is now partly as a dependency (#552 cannot land without it), and the cost of its weakest part — the queue histogram anchored at runtime arrival rather than HTTP admission, which #536 asked for and which the description still does not disclose — is higher, because the same stamps will be rendered into client-visible timings.

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 it now implements, still says "nothing about serving changes", still cites the two module subsets (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. The untouched review items remain: 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 implementations still coexist), gating the module on target_os instead of the let _ = text shim, the maintainer-authorization question for #536, and the ~190-line permanent /metrics growth with no opt-out. Windows still gets no process_* series (docs/api.md:318-321). No CI check has run on d64c3ea and no reviewer or maintainer has engaged with any of #536, #537, #548, #549, #551, #552 or #553.

#24 [high] AMENDMENT (2026-11-27b): head a34c4d0 closes 2 review nits, introduces a parser fix, build break persists

PR #548 head moved d64c3ea -> a34c4d060f96553c490eceb44b2fcf09ed277098 ("Hoist completion values and tighten stat parsing", WynnD, 2026-11-26 20:24-ish, pushed before the 04:56 re-review request). Size: +548/-25 in 10 files (was +550/-20); pr_files now reports process.rs +177, runtime.rs +43/-13, metrics.rs +219, latency.rs +24/-8. Still draft, still zero human reviews, no CI checks recorded.

WHAT THE COMMIT DOES (four hunks, all verified):

  1. latency.rs: an impl FirstResponseSamples block that sat after struct FirstResponse (latency.rs:127-131 in the old head) is moved up beside the struct's own impl (new render_histogram at latency.rs:101-109). Pure code motion, no behaviour change. This is item "the separate impl block" from the 22:00 review's nit list, so one nit is closed.

  2. metrics/process.rs: parse_stat tightened. It now consumes the state character as the first tail token and rejects the line unless that character is in "RSDZTtWXxKPI" (process.rs:24-29), and the utime skip drops from 11 to 10 (process.rs:31-32). Verified correct against proc(5): after the last ) the first token is field 3 (state), so token k = field k+2, and a fields.nth(n) after next() consumes n+2 more tokens, i.e. field n+4. nth(10) -> field 14 = utime(P) ✓; nth(0) -> field 4 = ppid... wait, careful: nth(0) consumes 1 token = field 4 (ppid)?? No: after next() (field 3), nth(0) consumes 1 more token = field 4 = ppid, not stime. Let me redo: value(|) is called successively, and each closure call consumes. Sequence: next() consumes field 3. value(10): nth(10) consumes fields 4..14 = 11 tokens, lands on field 14 = utime ✓ (21st field = token 19, so 19-14 = 5 tokens left, consistent). value(0): nth(0) consumes field 15 = stime ✓. value(6): consumes fields 16..22... but stat has only 21 fields, so starttime would be missing -- yet the unit test passes [11,12,19,20,21]. The test input is a fabricated 21-token line, not real procfs, so the arithmetic after utime is unverified against the kernel. This deserves an amendment line: the test string "42 (a) b) S 1 2 ... 21" supplies numbers 1..21 which are exactly the token positions, so the assertion Some([11,12,19,20,21]) only proves the "token value == token index" coincidence, not correct field mapping. Also the state validation makes the 42 (no tail) case still None, correct.

  3. metrics.rs test: the second half of request_histograms_bucket_completed_request_timings now uses RequestTimes::default() and generated_tokens = 0 instead of the impossible {first_scheduled_ns: None, first_token_ns: Some(...)} + 1 token state, and re-pins queue/prefill/decode _count 1, prompt_tokens _count 2, completed_total 2. This is the "impossible {None, Some} test state" nit from the 22:00 review, closed. It also, incidentally, pins that a zero-token completion contributes only a prompt-size observation -- which is a real semantic (a request that stops before any token) that the docs still do not describe.

  4. runtime.rs: hoists the two completion expressions into locals at the natural-finish site (runtime.rs:1993-2001), matching what Worker::complete already did (:1837-1845). Equivalent to the previous inline copy in request_completed and the Finished event; no behaviour change. This closes the "two expressions not hoisted" nit. But NOTE: the hoist leaves prompt_tokens/generated_tokens shadowing the earlier frame locals and reuses them in the GenerationEvent::Finished emit at :2018-2025, i.e. correct but the diff is now a 4-line duplication of the identical pattern in two functions instead of one, so the "extract a helper" suggestion would shrink it.

NEW HEAD STILL CARRIES the high finding from my last amendment, unchanged: process.rs:68 crate::runtime_core::open_descriptors() under #[cfg(target_os = "linux")] only, while runtime_core is #[cfg(feature = "runtime-core")] (helios/src/lib.rs:25-26) and server does not enable it (helios/Cargo.toml:25). Documented --features server Linux commands still break: docs/model-development.md:99-100 and docs/scheduling-runtime-design.md:735-736. No CI job passes --features server alone: native-serving.yml:63,68 pass runtime-core,server on both Linux and Windows. So the new commit lowered the count of the two named blockers from 2 to ... actually it did not touch blocker 2 (evidence overstatement) at all.

AMBIGUITY I MUST FLAG: the 06:15 autobot review says "most of the previous round is fixed" and still lists 2 blockers / 3 should-fix / 5 subtractive / 6 nits, but it was posted 2026-11-27 06:15 against a head that includes a34c4d0 (the diff in the review's own 22:00 predecessor cites the pre-a34c4d0 line numbers, e.g. runtime.rs:2187-2203 for the stamp, while the new head has it at :2190-2204). The two newest nits it names -- hoisting and parse_stat accepting any line with ) -- are exactly what a34c4d0 addresses, so the review either was generated from the partial update or is now partly stale. Either way the review's blocker set (e2e cancellation, evidence overstatement) is NOT refuted by a34c4d0: e2e cancellation was already fixed at d64c3ea, and evidence overstatement is untouched.

#536 asked for flare_request_queue_seconds: "admission to first scheduled step" (issue #536, Proposal bullet 2). The PR anchors it at runtime arrival (runtime.rs:183 arrival_ns, :901 set at runtime admission) and docs/api.md:309-311 now say "model-scheduler arrival", i.e. the PR silently narrows the requested metric and the description never says so. Unchanged by a34c4d0.

#25 [high] AMENDMENT TEXT (2026-11-27b): amendments to append, worded — head a34c4d0

Amendments to the 2026-11-27 report (head d64c3ea -> a34c4d0)

1. Head moved again. d64c3ea -> a34c4d0 "Hoist completion values and tighten stat parsing". Size +548/−25 in the same 10 files (was +550/−20). Still draft, still no CI check on the head, still no human reviewer and no maintainer engagement anywhere in the cluster (#536, #537, #548, #549, #551, #552, #553). The only comments are three from flare-autobot and one from the author. My earlier note "zero comments" is superseded only in the sense that bot comments now exist; the human-review count is still zero.

2. Correction to my last amendment: the runtime_core build break is NOT new to this cluster's later commits, but it is not fixed either.

Unchanged at a34c4d0: helios/src/server/metrics/process.rs:68 calls crate::runtime_core::open_descriptors() while process is only #[cfg(target_os = "linux")]-gated inside the module, runtime_core is #[cfg(feature = "runtime-core")] pub mod runtime_core; (helios/src/lib.rs:25-26), and the server feature does not enable runtime-core (helios/Cargo.toml:25, default = [] at :17). The two documented Linux commands that pass --features server alone still fail to compile: docs/model-development.md:99-100 and docs/scheduling-runtime-design.md:735-736 (--lib scheduler::, --lib server::runtime::phase_tests::). CI still cannot see it: .github/workflows/native-serving.yml:63,68 pass runtime-core,server on both Linux and Windows. a34c4d0 did not touch process.rs's helper call, so the finding stands exactly as reported.

3. New: three review nits are now closed, and all three hunks are behaviour-preserving.

This lowers my count of outstanding review items but leaves the two things that actually gate merge: the description evidence and the process-module feature gate.

4. New medium finding the hoist exposes: the docs do not describe a zero-generated-token completion, and the new test now pins that case.

Metrics::request_completed observes flare_request_prompt_tokens unconditionally and only observes queue/prefill when first_scheduled_ns is set, decode and time-per-output-token only when first_token_ns is set and generated_tokens > 1 (helios/src/server/metrics.rs:459-479). The rewritten test now pins exactly that shape: after request_completed(1_000_000_000, RequestTimes::default(), 3000, 0) the queue, prefill and decode counts stay at 1 and only flare_request_prompt_tokens_count rises to 2 (metrics.rs:1683-1690). docs/api.md:309-316 says the runtime histograms "observe completed generations" and names the ≥2-token rule for decode, but never says that a completion which generates no token still counts in flare_requests_completed_total and flare_request_prompt_tokens while contributing to none of the other five. One clause, and it matters for anyone dividing _count by flare_requests_completed_total to get a completeness ratio — that ratio is legitimately below 1.

5. New: the parse_stat hardening is a real improvement, but the accompanying test cannot catch a field-mapping error.

The commit adds a state-character check: after the last ), the first tail token must start with one of RSDZTtWXxKPI, else the parser returns None (helios/src/server/metrics/process.rs:24-28), and the utime skip drops from 11 to 10 (:31). Verified correct against proc(5): the tail token list starts at field 3, so the fields.nth(n) chain after one next() resolves to utime = field 14 (P), stime = 15, starttime = 22 (starttime is computed as starttime_ticks + btime, :104-111). So the values emitted are right.

The test does not prove that, though. Its fixture is "42 (a) b) S 1 2 3 ... 21", i.e. the token values are the token positions, so the assertion Some([11, 12, 19, 20, 21]) is satisfied by any consistent off-by-N as long as the parser stays positionally ordered — a shift of the utime index from 10 to 9 or 11 would still yield the same coincidental shape only if the numbers were chosen independently. Distinct, non-sequential fixture values would pin the mapping. Worth noting because the commit message advertises tightened parsing and the reject path is the only part genuinely tightened; the prev-head parser accepted any line containing ), which the new check now correctly rejects (42 (no tail) still yields None).

Also unchanged and still unexercised as a failure path: the six if let (Some(..), Some(..)) fallbacks (process.rs:72-131) cannot fail on a live Linux kernel, and the only test asserting real kernel values is render_reports_process_memory_descriptors_and_start_time (process.rs:150-177).

6. New: the 06:15 autobot review is already partly stale against the head it was posted on.

Posted 2026-11-27 06:15, i.e. after the author's 04:56 "review the pushed changes" and after a34c4d0 was pushed. It repeats "Changes Requested — the design is right … most of the previous round is fixed", with 2 blockers / 3 should-fix / 5 subtractive / 6 nits, and its own predecessor (22:00) cites pre-a34c4d0 line numbers (runtime.rs:2187-2203 for the stamp, now :2189-2202). Two of the six nits it names — "two expressions in Worker::publish not hoisted as complete does" and "parse_stat accepting any line with )" — are precisely what a34c4d0 fixes. So the review text under-describes the head by two items.

What survives from that review is what I independently confirmed: the description-level evidence problem ("nothing about serving changes" is still in the description verbatim, and the per-request e2e block was addressed at d64c3ea), the vision-stamp ambiguity in the prefill histogram, the host-cache Histogram<8> simplification, the #[cfg]-the-module suggestion, and the maintainer-authorization question. Nothing in it is a new defect I had not already logged; its one genuinely new item relative to my notes is the observation that the scrape deltas are 6 TTFR vs 5 runtime observations, which the author explains in the description as the instance also serving the agent session's own traffic — a confound the description states but does not resolve.

7. Unchanged.

The description still does not disclose that flare_request_queue_seconds starts at runtime arrival (runtime.rs:183, :901) rather than HTTP admission as #536 asked ("admission to first scheduled step", issue #536 Proposal bullet 2), even though docs/api.md:309-311 now says "model-scheduler arrival". #552 remains stacked on this PR and renders those same stamps into a client-visible timings object, so the undisclosed anchor propagates. Windows still receives no process_* series (docs/api.md:318-321). The /metrics body still grows ~190 lines permanently with no opt-out, and the per-step clock read plus lane loop (runtime.rs:2189-2202) and per-token stores are still unmeasured.

8. Bottom line for the amendment.

a34c4d0 is housekeeping: three nits closed, no behaviour change, no test-count growth, no description update, no CI run. It does not move the two merge gates. The one substantive code regression in the PR — the --features server Linux build break from d64c3ea — is still there, and the one substantive evidence problem — a description claiming "nothing about serving changes" and "CI covers the first two" — is still there. My recommendation is unchanged (Changes Requested), with the amendment that the review now to hand (06:15) is itself stale on two of its own nits.

#26 [high] AMENDMENT TEXT (FINAL, 2026-11-27b): supersedes #25 — head a34c4d0

SUPERSEDES entry #25 (and the garbled derivation inside entry #24). Entries #24 and #25 each contain an arithmetic error in the parse_stat section; the corrected analysis is section 5 below. Everything else in #25 stands.

Amendments to the 2026-11-27 report (head d64c3ea -> a34c4d0)

1. Head moved again. d64c3ea -> a34c4d0 "Hoist completion values and tighten stat parsing". Size +548/−25 in the same 10 files (was +550/−20). Still draft; no CI check has run on it; no human reviewer has engaged anywhere in the cluster (#536, #537, #548, #549, #551, #552, #553). The only discussion is three flare-autobot posts and one author post.

2. Correction to my last amendment — I over-claimed on this point, and the correction matters for triage.

My 2026-11-27 amendment described the --features server Linux build break as something "the same commit introduces". The gate is real and still open, but it is not this commit's doing and should not be attributed to a34c4d0:

a34c4d0 did not touch that call, so the finding is unchanged in substance. What I am correcting is the attribution: it arrived with the helper-reuse commit d64c3ea, and it survives a34c4d0. Fix is still one line — gate the call, gate the process module on the feature, or route the fd count through the crate::os surface, which already re-exports flare_eos (helios/src/os.rs:8).

3. New: three review nits are closed, and all four hunks are behaviour-preserving.

Net effect: the count of outstanding review nits drops, but the two things that gate merge do not move.

4. New medium finding: the docs do not describe a zero-generated-token completion, and the rewritten test now pins that case.

Metrics::request_completed increments flare_requests_completed_total and observes flare_request_prompt_tokens unconditionally; queue and prefill are observed only when first_scheduled_ns is set; decode and time-per-output-token only when first_token_ns is set and generated_tokens > 1 (helios/src/server/metrics.rs:459-479). The rewritten test now pins exactly that shape — after request_completed(1_000_000_000, RequestTimes::default(), 3000, 0) the queue, prefill and decode counts stay at 1 and only flare_request_prompt_tokens_count rises to 2 (metrics.rs:1683-1690).

docs/api.md:309-316 says the runtime histograms "observe completed generations" and states the ≥2-token rule for decode, but never says that a completion generating no token still counts in flare_requests_completed_total and flare_request_prompt_tokens while contributing to none of the other five. That matters operationally: anyone computing flare_request_prefill_seconds_count / flare_requests_completed_total to get an instrumentation-completeness ratio will legitimately see it below 1, with no documented explanation. One clause fixes it.

5. CORRECTED: the parse_stat change is correct, and its test does pin the field mapping.

The commit adds a state-character check — after the last ), the first tail token must start with one of RSDZTtWXxKPI, else the parser returns None (helios/src/server/metrics/process.rs:24-28) — and drops the utime skip from 11 to 10 (:31).

Derivation, verified against proc(5) field numbering: after the last ), the first tail token is field 3 (state), so tail token i is field i+3. The fields.next() that performs the state check consumes tail token 0 (field 3). Then each value(n) is fields.nth(n), which skips n and returns one, i.e. consumes n+1 tokens:

All five correct. The fixture "42 (a) b) S 1 2 3 ... 21" supplies distinct sequential values whose magnitude equals their tail-token index, so the assertion Some([11, 12, 19, 20, 21]) genuinely pins the mapping — an off-by-one in any index yields different numbers and fails. My earlier note claiming this test cannot catch a mapping error was wrong; the fixture is adequate. The reject path is also a real improvement: the previous head accepted any line containing ), while 42 (no tail) now correctly returns None.

The one residual concern is a new failure mode the check introduces, and it is small but worth a line: the module's stated principle is that "a source that cannot be read or parsed omits only the metrics that depend on it." Because every stat-derived series shares this one parse, a kernel state character outside the hard-coded set — RSDZTtWXxKPI covers the documented R/S/D/Z/T/t/X/x/I plus the legacy W/K/P — would silently drop process_cpu_seconds_total, process_resident_memory_bytes, process_virtual_memory_bytes and process_start_time_seconds together, leaving only process_open_fds and process_max_fds. Substring matching on one character is also cheerfully permissive (any token starting with X, e.g. a 64-bit-clean marker, passes). Low severity: the current set covers every state in modern proc(5).

Separately, still unexercised as a failure path: the six if let (Some(..), Some(..)) fallbacks (process.rs:72-125) cannot fire on a live Linux kernel, and the only test asserting live kernel values is render_reports_process_memory_descriptors_and_start_time (process.rs:150-177).

6. New: the 06:15 autobot review is already partly stale against the head it was posted on.

Posted 2026-11-27 06:15 — after the author's 04:56 "review the pushed changes" and after a34c4d0 was pushed — it repeats "Changes Requested … most of the previous round is fixed" with 2 blockers / 3 should-fix / 5 subtractive / 6 nits. Its own predecessor (22:00) cites pre-a34c4d0 line numbers (e.g. runtime.rs:2187-2203 for the stamp, now :2189-2202), and two of the six nits it names are exactly what a34c4d0 fixed: "two expressions in Worker::publish not hoisted as complete does" and "parse_stat accepting any line with )". So the review under-describes the head by two items.

What survives from it is what I independently confirm: the description-level evidence problem, the vision-stamp ambiguity in the prefill histogram, the host-cache Histogram<8> simplification, the #[cfg]-the-module suggestion, and the maintainer-authorization question. Nothing in it is a defect I had not already logged. Its one genuinely new observation is that the live-scrape deltas are 6 TTFR observations against 5 runtime observations; the description attributes the excess to the instance also serving the agent's own session traffic, which states the confound but does not resolve it.

Note also that the review reports "2 blockers" and its blocker list still leads with the e2e cancellation issue, which the author fixed at d64c3ea (helios/src/server/http.rs:598-606, pinned at phase_tests.rs:4604-4613). So the outstanding blocker tally in that posted review is one higher than my own.

7. Unchanged and still the two merge gates.

8. Bottom line.

a34c4d0 is housekeeping: three nits closed, no behaviour change, no new tests, no description update, no CI run, size roughly flat (+548/−25 vs +550/−20). It does not move either merge gate. My recommendation stands at Changes Requested, narrowed to: (a) the --features server Linux build break at process.rs:68, inherited from d64c3ea; (b) the description's evidence claims, which no commit has touched. The two doc-level items I would still raise in review are the missing zero-token completion clause (§4) and the non-streaming "observe delivery" overstatement already logged. Everything else in the PR is sound, and the parser change is correct.

#27 [high] Research summary

Amended. The new event is one commit, a34c4d0 "Hoist completion values and tighten stat parsing", taking #548 from d64c3ea to +548/−25 in the same 10 files. It is housekeeping: three review nits closed (the stray impl block folded into the struct's impl in latency.rs:101-108, the completion expressions hoisted in runtime.rs:1993-2001, and the impossible {None, Some} test state replaced with RequestTimes::default() + 0 tokens in metrics.rs:1683), all behaviour-preserving. The PR is still draft, no CI has run on the head, and no human has reviewed it or engaged with any item in the cluster.

Two findings from the previous report are corrected or refined. I re-derived the parse_stat field arithmetic against proc(5) — utime is field 14, stime 15, starttime 22, vsize 23, rss 24 — and the parser is correct, with the test fixture adequate to pin the mapping; my earlier suspicion of a mapping bug was an arithmetic slip of my own, now corrected on the scratchpad. I also corrected the attribution of the outstanding --features server Linux build break (process.rs:68 calling a feature-gated runtime_core): it is real and still open, but it arrived with d64c3ea, not with this commit.

Genuinely new material: the rewritten test newly pins that a zero-generated-token completion still increments flare_requests_completed_total and flare_request_prompt_tokens while contributing to none of the other five histograms, a semantic the docs never state — relevant to anyone computing an instrumentation-completeness ratio. And the 06:15 Autobot review is already partly stale against the head it was posted on: two of the six nits it lists are exactly what a34c4d0 fixed, and its blocker tally retains the e2e cancellation item fixed at d64c3ea. Recommendation is unchanged at Changes Requested, narrowed to the build break and the untouched description evidence claims. The deliverable amendment prose is scratchpad entry #26, which supersedes #25 and corrects #24.

#28 [high] Verified-at-head fact sheet for a34c4d0 (citations the report should use)

PR #548 head a34c4d060f96553c490eceb44b2fcf09ed277098, +548/−25, 10 files, draft. Verified this turn by reading the head directly.

SIZE AND FILES (pr_files) docs/api.md +28/−3 · helios/src/runtime_core/mod.rs +1/−0 · helios/src/runtime_core/protection.rs +1/−1 · helios/src/server.rs +2/−0 · helios/src/server/http.rs +8/−0 · helios/src/server/latency.rs +24/−8 · helios/src/server/metrics.rs +219/−0 · helios/src/server/metrics/process.rs +177/−0 (new, 178 lines total) · helios/src/server/runtime.rs +43/−13 · helios/src/server/runtime/phase_tests.rs +45/−0

COMMITS (search_history) a34c4d06 "Hoist completion values and tighten stat parsing" · d64c3ea3 "Exclude cancelled responses and reuse host helpers" · ebecef13 "Add request latency histograms and process metrics"

THE NEW COMMIT, HUNK BY HUNK

PARSER ARITHMETIC (correct; verified against proc(5)) Tail token i = field i+3. After fields.next() (field 3), each value(n) consumes n+1 tokens: value(10)→utime=f14, value(0)→stime=f15, value(6)→starttime=f22, value(0)→vsize=f23, value(0)→rss=f24. Renderer uses btime + starttime/ticks at process.rs:104-111. Test fixture "42 (a) b) S 1 2 … 21" → Some([11,12,19,20,21]) at process.rs:141-148 pins the mapping because values are distinct (earlier doubt retracted).

HISTOGRAM SEMANTICS (unchanged) Metrics::request_completed, metrics.rs:452-480: completed++ and prompt-token observe unconditional; queue needs first_scheduled_ns; prefill additionally first_token_ns; decode and time-per-output-token need first_token_ns and generated_tokens > 1. Field types metrics.rs:308-331 (request_e2e Histogram<21> at :327). Render for decode/time-per-output-token at :1406-1415. RequestTimes definition metrics.rs:300-306.

GATING AND COST process.rs:9-15 render shim (let _ = text off Linux), render_linux :56-126, open_descriptors call :68, raise_open_file_limit(0) :70, if let fallbacks :72-125, tests :128-177. metrics.rs:12 pub(super) mod process; (no cfg). server.rs:706-709 calls metrics::process::render. lib.rs:22-29: server and runtime_core gated independently; Cargo.toml:25 server does not enable runtime-core, :17 default = []. server.rs:26-29 is the only cfg-gated server module (session). helios/src/os.rs:8 pub(crate) use flare_eos::*;.

HTTP / e2e http.rs:598-606 single guarded observation (!count && !encoder.tool_limit_reached) before yield Delivery::Complete(response); :621 Delivery::Complete(_) => None; :635-644 non-streaming arm only maps the body. Pinned at phase_tests.rs:4604-4613 (tool-limit → count 0), :4461-4465 (non-streaming records with poll_body=false), :5395-5399 (route test, process_resident_memory_bytes present).

DOCS AT HEAD docs/api.md:287-290 naming exception for process_*; :297 "accumulate since server start"; :303-307 HTTP group incl. stream-drain clause; :309-316 runtime group, queue = "model-scheduler arrival … which can be a vision step", ≥2-token rule, cancelled/failed exclusion; :318-321 Linux-only process series. Documented --features server-only Linux commands: docs/model-development.md:99-100, docs/scheduling-runtime-design.md:735-736. CI passes only runtime-core,server: .github/workflows/native-serving.yml:63,68.

#31 [high] AMENDMENT (2026-11-28): head 49373bc — PR retitled, process metrics removed, both old gates look closed but #536 scope breaks

Head 49373bc5673c2130ad7f8d645510365d45e85f06, retitled "Add per-request histograms and vLLM-parity request metrics", open, +1016/−51, 9 files, updated 2026-11-28 02:09 (read_item 548).

FILES (pr_files): docs/api.md +127/−4 · helios/src/scheduler.rs +4 · helios/src/scheduler/tests.rs +7 · helios/src/server.rs +2 · helios/src/server/http.rs +15 · helios/src/server/latency.rs +24/−8 · helios/src/server/metrics.rs +548/−2 · helios/src/server/runtime.rs +102/−37 · helios/src/server/runtime/phase_tests.rs +187. helios/src/server/metrics/process.rs DELETED (177 lines); helios/src/runtime_core/mod.rs and protection.rs reverted (open_descriptors private again).

COMMITS: 49373bc "State request-histogram populations from the code and drop duplicate assertions" · 15018689 "Document how Flare's metrics correspond to vLLM's" · 01f1e92b "Count lookup tokens, output-limit stops, parked requests, and queue rejections" · 10c0b937 "Add per-request histograms that match vLLM's request metrics" · 54e06b30 "Remove process metrics from the request latency change" (on top of a34c4d0).

NEW SERIES beyond the old head: request_inference_seconds, time_to_first_token_seconds, inter_token_latency_seconds, request_prefill_computed_tokens, request_generated_tokens, request_max_tokens, request_preemptions, request_choices, request_max_choice_generated_tokens, model_step_tokens, requests_output_limited_total, cache_lookup_tokens_total, parked_requests gauge, admission_rejections_total{http_slots|generation_capacity|request_queue}. Citations: metrics.rs:242-253 (PREEMPTION_COUNTS/CHOICE_COUNTS), :332-385 (RequestRecord/CompletedRequest/AdmissionLimit), :286-295 (Histogram::absorb), :545-618 (request_completed + response_completed), :1548-1656 (render), :1696-1720 (parked/pending help). runtime.rs:1568-1569 max_tokens at first admission, :1721-1732 model_step, :1801-1805 tokens_committed at position 0, :2108-2110 preemptions on preemption park only, :865-870/:941-946 admission limits, :1199-1211 publish_gauges, :1203-1211 parked gauge. server.rs:812-824 http_slots at ingress Full; http.rs:230-249 second http_slots site, :407/:528-531 generated per choice, :604-612 response_completed guard.

CLUSTER RESHUFFLE: #552 closed 2026-11-28 02:04 "Superseded by #560" (it emitted a llama.cpp timings object; emitting both made llama-swap subtract cached prompt tokens twice). #553 closed 2026-11-28 02:05 superseded by #560. #560 open (WynnD, 2026-11-28 02:04, +1898/−123, 18 files, closes #551) — vLLM metrics object from runtime instants, stacked on #548, and its diff carries #548's own hunks (metrics.rs +548/−2, latency.rs +24/−8, scheduler.rs +4 identical). #560 discloses the queue anchor it inherits: "queue_time_ms starts at model-queue arrival ... includes that channel transit (microseconds)". #549 and #541 unchanged.

#32 [high] AMENDMENT TEXT (FINAL): head 49373bc — append these amendments

AMENDMENTS TO APPEND (head a34c4d0 → 49373bc)

1. The head moved five commits and the PR was retitled

a34c4d0 → 49373bc "Add per-request histograms and vLLM-parity request metrics" (was "…and process metrics"). Now +1016/−51 in 9 files (was +548/−25 in 10). Still open; still no CI check on any head; still no human reviewer.

2. Two of my three merge gates are closed, and one PR claim becomes wrong

3. New content: the diff doubled, and it is mostly vLLM parity

Nine new series families landed with the new commits: request_inference_seconds, time_to_first_token_seconds, inter_token_latency_seconds, request_prefill_computed_tokens, request_generated_tokens, request_max_tokens, request_preemptions, request_choices, request_max_choice_generated_tokens, model_step_tokens, plus counters requests_output_limited_total, cache_lookup_tokens_total, gauge parked_requests, and admission_rejections_total{reason}; docs/api.md gains a full "Correspondence with vLLM metrics" table (+127/−4 lines total). Mechanism changes worth reviewing (metrics.rs): a per-request RequestRecord with its own 19-bucket inter-token Histogram merged by a new non-atomic Histogram::absorb at completion (:286-295, :576); RequestRecord::tokens_committed is called once per step, at position 0 (runtime.rs:1801-1805), so a speculative round is one interval; max_tokens is captured only at first admission (runtime.rs:1568-1569, max_new_tokens + reasoning_cut.after); preemptions increments only on the preemption park (:2108-2110), not on reasoning-budget parks; model_step_tokens covers Prefill/TerminalPrefill/ScoredPrefill/Resume/Decode/Speculative/Mixed (:1721-1730); three admission-rejection sites (server.rs:816 HTTP ingress, http.rs:240 batch extra permits, runtime.rs:869/:945 capacity and channel).

4. New small findings I verified

5. The cluster moved, and #548 is now the base of a stack

6. The 07:04 bot review is stale on both blockers

It was posted before these five commits. Its blocker 1 (the --features server build break) is moot now that process.rs is deleted, and its blocker 2 (unreconciled evidence) is answered by the rewritten Cost/Evidence sections; its "the diff can shrink by about a third" has instead grown by ~470 lines of new series. No review has run on 49373bc.

Bottom line

Recommendation narrows to one blocker and one question: (a) Closes #536 now over-claims, because the process metrics #536 asked for were removed and no follow-up issue exists; (b) whether ~470 lines of new histograms/counters on top of an unreviewed hot-path change should land before any CI run and before the four-PR chain (#548 → #560) has a reviewer. Everything else I raised is either fixed (build break, zero-token docs, evidence wording, docs naming exception) or reduced to the four small items in §4.

#34 [high] Research summary

Amendments written to scratchpad entry #32 ("AMENDMENT TEXT (FINAL): head 49373bc"), supported by fact notes #31 and #33.

The new event is five commits taking #548 from a34c4d0 to 49373bc, retitled "Add per-request histograms and vLLM-parity request metrics", now +1016/−51 in 9 files (was +548/−25 in 10). Amendments the report needs:

  1. process_* metrics are deleted, with the runtime_core revert. My long-standing --features server Linux build-break blocker is resolved by removal, not by a fix.
  2. New blocker: the description still says Closes #536, but #536's second headline ask is process metrics, which the description now explicitly declares out of scope — so merging closes the driving issue with half of it unimplemented and no follow-up filed.
  3. Two gates closed: the zero-token completion is now documented, and the evidence/cost section is rewritten (per-operation cost, "not measured" stated, the unsupported CI claim dropped).
  4. The diff nearly doubled with nine new histogram/counter families and a vLLM correspondence table; I logged four new small findings — http_slots also counted for /v1/messages/count_tokens, non-atomic Histogram::absorb on inter-token latency, ambiguous request_prefill_computed_tokens wording, and gauge lag for pending/parked.
  5. Cluster reshuffle: #552 and #553 are closed as superseded by new #560 (open, +1898/−123, 18 files, stacked on #548 and containing its hunks verbatim). The queue-anchor gate is now half closed — #560 discloses the anchor, #548's own description still does not.
  6. The 07:04 bot review is stale on both of its blockers; no review or CI has run on 49373bc.

Recommendation narrows to one blocker (Closes #536 over-claim) plus the open question of landing ~470 unreviewed lines of hot-path series before any CI run.

#35 [high] Verified-at-head fact sheet for 49373bc (citations + description quotes the report should use)

PR #548 head 49373bc5673c2130ad7f8d645510365d45e85f06, +1016/−51, 9 files, open (not draft), updated 2026-11-28 02:09. Discussion is 5 items: case-file bot post, three flare-autobot reviews (2026-11-26 22:00, 2026-11-27 06:15, 07:04) and one author post (2026-11-27 04:56 "@flare-autobot review the pushed changes"). No human reviewer. No CI check on any head, including 49373bc.

FILE SIZES (pr_files): docs/api.md +127/−4 · helios/src/scheduler.rs +4 · helios/src/scheduler/tests.rs +7 · helios/src/server.rs +2 · helios/src/server/http.rs +15 · helios/src/server/latency.rs +24/−8 · helios/src/server/metrics.rs +548/−2 · helios/src/server/runtime.rs +102/−37 · helios/src/server/runtime/phase_tests.rs +187. helios/src/server/metrics/process.rs deleted (177 lines); helios/src/runtime_core/mod.rs and helios/src/runtime_core/protection.rs reverted (open_descriptors pub(crate) fn → fn at protection.rs:291, re-export removed from runtime_core/mod.rs).

DESCRIPTION QUOTES (verbatim, needed for the Closes #536 blocker)

WHY THE Closes #536 BLOCKER HOLDS — #536 (by Napuh, opened 2026-11-26 09:03, open) "Missing metrics" table has eight rows: seven histogram rows plus "| Process metrics | process_cpu_seconds_total, process_resident_memory_bytes, process_open_fds, process_start_time_seconds | none |". Its Proposal's last line: "Plus the standard process_* collector metrics." No follow-up issue exists (searched process, process metrics procfs, CPU memory descriptors serving process; only #548 itself matches).

CITATIONS AT HEAD

STILL-OPEN SMALL ITEMS (report §4) — evidence:

  1. http_slots counted for token counting: routes at server.rs:581-588, counter at server.rs:816, docs definition at api.md:379-386 ("counts generation requests refused because a queue limit was full").
  2. absorb atomicity: metrics.rs:286-295 vs observe :272-283; only inter_token_latency_seconds is merge-based.
  3. request_prefill_computed_tokens: metrics.rs:564-567 subtracts the first-admission reuse only; docs sentence at api.md:341-344 can read as excluding recomputation.
  4. Gauge lag: runtime.rs:1156-1157/1203-1211; docs/help (metrics.rs:1704-1718) do not state the lag.

QUEUE ANCHOR (unchanged status): flare_request_queue_seconds starts at arrival_ns = model-queue arrival (runtime.rs:183, :904) vs #536's "admission to first scheduled step"; docs say "model-scheduler arrival" (api.md:321-323); #548's description never states the divergence; #560 now does disclose it ("queue_time_ms starts at model-queue arrival … includes that channel transit (microseconds)").

#11 [medium] Recent activity: nothing recent on main conflicts; metrics.rs has 3 open PRs

#14 [medium] Why (continued): #537 sibling gap, demand age, and the only pre-existing signals

#15 [medium] Process: draft with no CI on head; description meets the repo's four-part rule

#20 [medium] AMENDMENT (2026-11-27): review scorecard at head d64c3ea

State at the time of this amendment (2026-11-27):

#29 [medium] Leads examined and dismissed this turn (record so the report does not re-open them)

Each of these was checked this turn and found NOT to warrant a report finding; recorded so the report either omits them or says briefly that they were checked.

  1. FORMATTING/LINT GATE — none. cargo fmt / rustfmt / clippy appear nowhere in .github/workflows/ (search returned no matches), and there is no rustfmt.toml or max_width setting in the repo. So the new over-long line in the state check (process.rs:26, ~100 chars) and any rustfmt drift cannot fail CI and is not worth a review comment. Note separately that selene-manager/docs/qualification.md:39 documents clippy … -D warnings as a manual qualification step only.

  2. WINDOWS — unaffected by the build break, and this is a real asymmetry rather than a separate bug. open_descriptors() is only called inside render_linux (process.rs:56-126), which is #[cfg(target_os = "linux")]; on Windows render is a no-op (let _ = text, ::11-15) and emits nothing. So the --features server-only break is Linux-only, which is also why the Windows half of the CI matrix at native-serving.yml:68 stays green.

  3. MERGE OVERLAP — no new conflict partner. items_touching("helios/src/server/metrics") returns #548, #552 and #540 only. #540 (FujitsuPolycom) touches helios/src/server/metrics/scheduler.rs, a different file from metrics.rs and metrics/process.rs, so it is not a textual conflict and needs no mention. related_items(548) shows #552 sharing 8 files (all of them except the two runtime_core files) — the stacked-PR point already recorded — and #549 sharing only docs/api.md, metrics.rs and runtime.rs, consistent with the earlier "merges in either order" claim.

  4. NO NEW ITEMS IN THE CLUSTER. search_items("metrics histograms process") returns only #548, #536 and #541. Issue #551, PRs #552/#553 and the author's 04:56 comment were already recorded; nothing has been opened or commented on since the 06:15 bot review. So there is no new human engagement to report — the "no maintainer has engaged" finding stands as written.

  5. AUTHOR'S 04:56 COMMENT was re-read and is not a response to review substance: "@flare-autobot review the pushed changes. The per-request metrics PR is new; the other two carry review fixes." It is a re-review trigger, so the zero-substantive-reply finding is unchanged. Also note the prompt-injection check: nothing in the PR description, the bot reviews or the author's comment attempted to direct my behaviour; the only directive-shaped text is the bot's "Have your agent review the [Full Review]" line, which is boilerplate marketing for its own report and was not followed.

  6. HOT-PATH COST OF THIS COMMIT is nil. The hoist replaces two inline expressions with two locals at the same point in the same function (runtime.rs:1993-2001); the parser change runs only per text scrape. The pre-existing, still-unmeasured costs are unchanged: one clock read plus a lane loop per submitted step (runtime.rs:2189-2202) and two stores per committed token.

#33 [medium] Leads examined and dismissed this turn (head 49373bc)

Checked this turn and found nothing new, so the report need not re-open them:

#12 [low] Community: zero comments, reviews or reactions anywhere in the cluster

Community angle: nothing found beyond what is recorded elsewhere. pr_comments on #548 returns "No comments" — no reviews, no inline comments, no reactions, no Discord discussion captured. #536 and #537 each show "Discussion (0)". The only cross-references are structural: #536 lists #548 (closes), #541 (mentions), #549 (mentions); #537 lists #549 (closes), #548 (mentions), #541 (mentions). Both issues were filed by Napuh and both PRs by WynnD the same day, so the whole cluster is two people plus the #541 author (jere357) working the same day — no maintainer has joined any of the four threads.