#2 [high] Run 2 findings — #548 at a34c4d06 (2026-11-27)
#548 head a34c4d06, 10 files, +548 -25 (was +560 -25 at ebecef1).
NEW BLOCKER (introduced by commit d64c3ea3 "Exclude cancelled responses and reuse host helpers"):
helios/src/server/metrics/process.rs:68 calls crate::runtime_core::open_descriptors().
helios/src/lib.rs:25-26 gates pub mod runtime_core; behind #[cfg(feature = "runtime-core")].
Cargo.toml:25 server = [...] does NOT imply runtime-core (only serde/images/grammar/axum/tokio/...).
server.rs:16 mod metrics; and metrics.rs:12 pub(super) mod process; are ungated.
=> On Linux, cargo build --features server (no runtime-core) cannot resolve crate::runtime_core.
Before d64c3ea3, process.rs used only crate::os (lib.rs:19, ungated) and an inline read_dir, so that config built.
Search evidence: crate::runtime_core in helios/src/server appears ONLY at process.rs:68 and runtime/prompt_tests.rs:13 (the latter is gated by #[cfg(all(test, feature = "runtime-core"))] at runtime.rs:3983).
Affected documented configs: docs/model-development.md:99-100 (--features server --lib frontend::), docs/scheduling-runtime-design.md:735-737 (--features server --lib scheduler:: / server::runtime::phase_tests::).
CI will NOT catch it: .github/workflows/native-serving.yml:63,68 both use --features runtime-core,server (Linux + Windows).
Fix: move open_descriptors into eos/ (eos/src/unix.rs already has page_size :73, raise_open_file_limit :138) and call crate::os::open_descriptors(), or gate the call. Note runtime_core/protection.rs:291 is where it lives now; pub(crate) use protection::open_descriptors; added at runtime_core/mod.rs:58 is itself gated.
FIXED since last report:
- B1 tool-limit e2e: http.rs:598-605 observes once before
yield Delivery::Complete, guarded!count && !encoder.tool_limit_reached; the duplicate observations in both delivery arms are gone (:621, :635). Test phase_tests.rs:4604-4613 asserts e2e count 0 for the tool-limit path. - Docs: process_* exception to the flare_ prefix (docs/api.md:288-290), "accumulate since server start" (:297), e2e drain caveat (:303-307), >=2 generated tokens for decode/tpot (:312-314), vision step absorbed by queue/prefill (:310-311), process_* list (:318-321).
- OS reads delegated: process.rs:61
crate::os::page_size()(eos/src/unix.rs:73), :70crate::os::raise_open_file_limit(0)(eos/src/unix.rs:138;current >= desiredreturns early so desired=0 never calls setrlimit). - parse_stat hardened: process.rs:26-28 requires the state char in "RSDZTtWXxKPI" after the last ')'; offsets utime=value(10), stime(0), starttime(6), vsize(0), rss(0) are correct (tokens 11,12,19,20,21).
- Worker::publish hoisted prompt/generated tokens (runtime.rs:1993-1999), matching complete.
- Histogram arithmetic/tests sound: 21/19/21 bounds match the const generics;
exposed <= boundis inclusivele; sum rendered /scale; only one bucket incremented per observe, so cumulative render is correct. metrics.rs:1648-1697 test covers buckets + the excluded queue/decode case.
STILL OPEN:
- Duplicate histogram impl: HOST_TIME_BUCKETS/HOST_TOKEN_BUCKETS (metrics.rs:200-210), host_cost_sums +
.position(..).unwrap()(metrics.rs:670-692), hand-rolled render loop for the 3 host_cache histograms (:1029-1065), and flare_host_cache_retirement_seconds (:851-876) all bypass the new Histogram. Porting them would be net-negative lines. - process_open_fds still counts the read_dir descriptor (protection.rs:294-296); process.rs:113 now documents the +1 instead of subtracting it.
- /proc/stat fully re-read per scrape for btime (process.rs:65-67), sysconf ticks per scrape (:59) — btime and ticks are process-lifetime invariants; a OnceLock removes it.
- Preemption semantics undocumented: decode/tpot span first→last committed token, so a parked interval inflates tpot, and the second queue wait is never counted (first_scheduled_ns uses get_or_insert, runtime.rs:2196-2201). The description advertises stamp preservation across parking but docs/api.md says nothing about it.
- No maintainer authorization for #536 (third-party request; author WynnD/oystersmiles is not a named priority contributor).
- Description still says "nothing about serving changes" and "CI covers the first two"; live scrape still from fork 5ffe4d54 + cherry-pick, not main; Windows build still not run.
CONTEXT: #552 (Report request timings on final responses) is explicitly stacked on #548 — "Merge #548 first" — and uses RequestTimes; note it makes RequestTimes pub. So #548 is load-bearing for #552's llama-swap benefit. #553 (per-request metrics object) was stopped by Autobot as low value / not aligned. #549 is independent (KV page gauges).