#1 [high] Change: PR #634 adds opt-in idle-burst mode to benchmark_scheduler.py (+21/−4, 1 file)
PR #634 "Measure streaming latency after scheduler idle periods", author salignatmoandal (CONTRIBUTOR), branch bench/scheduler-idle-resume into main, head a0467e2 (a0467e298a4e7f38622dbc6ec37ecae1cdd340d1), opened 2026-11-30 09:52, +21/−4, 1 file (scripts/benchmark_scheduler.py). No comments, no reviews, no labels, no CI checks. State: open, "ready for review".
Diff (scripts/benchmark_scheduler.py):
trial(url, bodies, duration, *, requests_per_lane=None)(line 140): worker loop condition becomeswhile (len(results) < requests_per_lane if requests_per_lane is not None else time.perf_counter() < deadline[0])(lines 147-148). So burst mode counts completed requests per lane instead of running until a deadline.deadline[0] = start + (duration or 0)(line 156) — withduration=Nonethe deadline isstart, which is irrelevant because the count branch is used.duration or 0also silently maps an explicit--seconds 0to 0.- New CLI args (lines 187-190):
--idle-seconds(float, help "Pause before each measured burst after all previous streams finish."),--requests-per-lane(int, "default: 1"). - Validation (lines 198-201):
--idle-secondsmust be finite and > 0 (usesmath.isfinite;mathwas already imported at line 11 forpercentile, so no new import);--requests-per-lanerequires--idle-secondsand must be >= 1. - Main loop (lines 220-228): when
--idle-secondsis set, each trial doespause_started = time.perf_counter(),time.sleep(args.idle_seconds), thentrial(..., None, requests_per_lane=args.requests_per_lane or 1), then recordsresult['idle_seconds_before_burst'] = min(row['started'] for row in result['rows']) - pause_started.row['started']is the client-sidetime.perf_counter()taken inrequest()afterclient = connection(url)and before the POST (line 27), i.e. connection setup time is excluded from the measured interval: the recorded interval is "pause start -> first request's send time", not "pause start -> first response byte" and not "drain -> issue".- The pause begins immediately after the previous trial returns, i.e. after the previous trial's
job.result()joins AND itsmetrics_afterGET plus the wholetrial()return path. Warmup trials (lines 217-218) also precede the first measured burst but are not paused before. - The recorded value is measured per trial inside the same JSONL row, but the trial result dict also keeps
issue_duration_seconds: None(line 164 storesdurationunchanged), so idle-mode rows have"issue_duration_seconds": null.
Defaults/back-compat: default path is unchanged (--idle-seconds unset -> trial(..., args.seconds) as before); trial()'s new parameter is keyword-only with a default, and the function has no other in-repo callers (grep benchmark_scheduler finds no other file referencing the script — only the script itself; search_code "benchmark_scheduler" = no matches outside, i.e. no docs, no CI workflow, no test imports it).
Undeclared in the description: (a) idle_seconds_before_burst is measured to the first request send, not to first token — the description says "the observed interval from the start of the pause to the first request", which matches (a) exactly, so this is consistent, not undeclared; (b) rows in idle mode get issue_duration_seconds: null and tokens_per_second still divides by elapsed_seconds (which in burst mode is just the burst duration, so it is "burst throughput", not the deadline-mode sustained rate) — the description does not say the throughput field changes meaning; (c) warmup still uses --warmup-seconds deadline mode even in idle mode, and there is no pause before warmup.
Not done by the change but implied by "Benefit": no aggregation across trials, no comparison/report tooling, no --pair-index/--variant wiring (those flags exist at lines 192-194 but are unused by the script itself), no test added, no docs updated.
#2 [high] Why: PR #634 is framed as qualification for #540's retained post-idle timing credit
PR #634's "Why" (description): "The scheduler benchmark continuously issues requests during each trial. It cannot isolate streaming behavior when traffic returns after an idle period, a qualification case for the timing credit retained by #540."
#540 "Retain bounded timing-refresh and acceptance credit across idle" by FujitsuPolycom, merged 2026-11-29 22:12 (11 files, +434/−153; labels area:scheduling, bug, performance, triage:review). It removed RefreshState::idle (helios/src/scheduler/refresh.rs) and renamed RequestScheduler::idle to assert_idle, so positive timing-refresh and acceptance credit (each capped at 5 ms) survives idle instead of being zeroed. Same-day merge, one day before #634 was opened — #634 depends on #540 having landed.
#540's own "Limitations and unrun checks" say live GPU/HTTP serving qualification was NOT run and "remains tracked in docs/TODO.txt". Its simulator scope limit: "the 5 idle-* scenarios run single 64- or 8192-token prompts well below 2,495 ms, so they do not reach 5 ms credit and do not exercise the fully-charged post-idle wakeup probe case." So the post-idle wakeup case that #634 would measure is exactly the one #540 says its simulator cannot reach — this is the gap #634 addresses. Simulator idle scenarios live in scripts/scheduling_sim/learning_scenarios.py:88-92 (idle-{seconds}s, idle-short-burst) and learning_run.py:243-244 (idle_gaps_ms applied between arrivals); the simulator models idle as an arrival gap between requests inside one run, not as a driver-level pause as #634 does.
#634's "Benefit": "Operators can replay the same request bodies and request counts across builds, and compare first-token latency and SSE delivery gaps after a pause." No issue in the repo asks for this; #634 links only to #540. No roadmap item (charter roadmap lists in-process Rust SDK #6, Engram #267, FlashInfer #215 — none about benchmarking idle latency).
#3 [high] Related work: #540 is the only linked item; benchmark-file ownership is historically Luke Alonso's
Overlap / competition for #634:
- #540 (merged 2026-11-29) is the ONLY item #634 links to, and the only related item reported by
related_items(634). No PR is stacked on #634 and none supersedes it. - Files: no other open or merged PR in the last 180 days changed scripts/benchmark_scheduler.py (
items_touching→ "No open or merged pull request changes that"). So #634 has no textual conflict risk on its file.search_code "benchmark_scheduler"finds zero references outside the file itself (no CI, no docs, no test imports it), unlike scripts/scheduling_sim/* which is imported by nine tests/test_scheduling_*.py files. - Test-level adjacency: tests/server/test_scheduler.py (SSE gap measurement,
max_sse_gap_msat tests/server/test_scheduler.py:53, requires FLARE_RUN_CUDA_TESTS=1 + an idle service) is the other place streaming gaps get measured; it has no idle-resume case. docs/scheduling-runtime-design.md:773-790 documents it, and warns "SSE arrival gaps are not GPU execution times or per-token latencies". #634's--idle-secondstouches the same measurement concern (client-side SSE gaps vs GPU time) in a different harness. - Simulator-side equivalent: scripts/scheduling_sim models the same post-idle scenario analytically (
idle_gaps_msin learning_scenarios.py:21,88-92; learning_run.py:243-244;--retain-idle-creditin learning.py:440). #634 is the live-HTTP analogue, and #540 changed the simulator to match Helios. - Orientation-packet "possibly related" leads that are NOT related on inspection: #548 / #560 (per-request latency histograms, vLLM-parity /metrics — server-side Prometheus metrics, not a client benchmark; #536 is the issue behind them), #581 (USE_NODE_PRIORITY CUDA graphs), #497 (disk offload restore latency), #519/#353 (Engram/WFET waiting), #218/#415 (model kernels/pool), #567 (resident prefixes / perf_counter — closed), #326/#319/#116/#288/#186 (issues about caching/wedges/benchmarks on specific hardware). None shares #634's file or its purpose.
- #280 (merged) and #353 (closed) are the closest motivational antecedents for "first request after idle" measurement: #280 explicitly states its runs "do not establish the latency of the first request after an idle stretch, because the probe's short prompt was already in the prefix cache". #353 measured "the time to first token after 150 s of idle (0.091 and 0.097 s)". Both are hand-rolled ad-hoc idle probes — evidence that operators/maintainers keep re-inventing one-off idle probes; #634 would make such a probe a flag.
#7 [high] Project fit: charter evidence rule, "no magic switches", and the documented backlog item it serves
Charter (read_charter, "Bring real evidence" bullet): "Performance PRs need benchmarks showing an actual speedup over main on a served workload (#210). Bug fixes need to address the root cause... 'An agent suggested it,' linter warnings, or hypothetical users aren't enough to justify a change."
- Fit: #634 is not itself a performance change; it is benchmark instrumentation, which the charter's evidence rule implicitly encourages. Charter "What gets merged" includes "PRs that address a maintainer request, a roadmap item, a reproducible bug, a measured performance/memory issue, or bad docs." #634 addresses no maintainer request (no issue), no roadmap item (charter roadmap: in-process Rust SDK #6, Engram #267, FlashInfer #215 — none about benchmarking), no bug, no docs. Its only affiliation is #540, a merged PR by another contributor, whose TODO follow-up (docs/TODO.txt:110-114) is the closest thing to a maintainer request.
- Tension: its Evidence section explicitly says "Native GPU serving, scheduler idle transitions, and latency gains were not measured" — the PR adds a measurement tool without producing any measurement with it. Under the charter's evidence rule that is acceptable for tooling (nothing is claimed to be faster), but it means the deliverable's value is unproven: no JSONL row from a real server, no demonstration that the recorded
idle_seconds_before_burstis accurate, no example comparing builds. - "Stay focused" bullet warns against "random switches" and "piling on extra switches"; "Be explicit and pin everything. No magic defaults" fits the added validation (lines 198-201), while
requests_per_lane or 1(line 226) andduration or 0(line 156) are implicit-default shortcuts of exactly the kind that bullet discourages. AGENTS.md:118 (no magic defaults) is the agent-facing version. - AGENTS.md:512-513: "Keep ordinary tests and raw benchmark measurements. Do not create development audit reports, receipts, provenance bundles, or hash inventories." #634's JSONL-per-trial output is a raw benchmark measurement, consistent.
- AGENTS.md:72-112 requires four description sections (why / what / claimed benefit / evidence) in that order. #634 has Why / What changed / Benefit / Evidence, all four present, and the Evidence section states its limits plainly (matches the author's #602/#603 pattern).
- AGENTS.md:497-499: "Compare other runtimes against an exported core running through
flare run. Timings fromignition debug-serveare diagnostic measurements and cannot establish comparative serving performance." #634's benefit claim is cross-build comparison of a served workload — consistent with that rule as long as operators point it atflare run, which the script's--base-url(line 179) allows but does not state. - AGENTS.md:9-13 + commit 17bb3c4a: "qualification drivers ... live in local-inference-lab/hyperflare-recipes". #634 adds a live-server qualification capability to core Flare's scripts/ rather than to hyperflare-recipes; docs/TODO.txt:110-114 (idle/resume qualification of retained graph costs) is, however, a core-Flare TODO, which supports keeping it here.
- docs/core-design.md:1818-1838 lists the required live measurement set (cold TTFT, inter-token latency median/p99, decode throughput, prefill throughput, prefix-hit TTFT, startup, host submission gap). It has no idle-resume / post-pause-first-token entry — #634 adds a measurement category the design's measurement table does not name.
- docs/scheduling-runtime-design.md:460-466 is the specification #634 would help qualify: "When full credit carries across an idle gap longer than the freshness lifetime, the first waking request can execute one refresh episode before negative debt suppresses further probes." That is the exact behavior #634's burst mode is built to observe.
- Docs untouched: nothing in docs/ references benchmarks_scheduler.py (grep of docs/ for scripts/ shows only build_deb.sh, setup_preparation.py, s3_upload.py, set_release_version.py, setup_windows.ps1, dev_windows.ps1, scheduling_sim/*, repro_glm_batched_speculation.py, benchmark_csf_conversion.py). So the new flags are undiscoverable from the documented docs except by reading the script.
#8 [high] Claims and evidence: control flow verified; the measured interval is to request send, not to first token
Claims made by #634 and what actually backs each:
- "With
--idle-seconds, the driver waits after previous streams drain, then issues a fixed number of requests per concurrency lane." — TRUE, verified in code: line 224time.sleep(args.idle_seconds)runs after the previoustrial()(which joins all worker futures, line 158) and after itsmetrics_afterscrape (line 174), thentrial(..., None, requests_per_lane=...)bounds each lane by completed count (lines 145-151). Caveat: "after previous streams drain" includes the metrics scrape and Python overhead of the prior trial, so the effective server-idle window is longer than--idle-seconds. - "Each JSONL trial records the observed interval from the start of the pause to the first request, alongside the existing streaming metrics." — TRUE but narrower than it sounds:
idle_seconds_before_burst=min(row['started']) - pause_started(lines 227-228), androw['started']is a client timestamp taken before the POST is sent (line 27), so the number measures "sleep + client scheduling + socket connect", not server response. For a local server connect is ~0, so it will read ≈--idle-secondsand is mostly a self-check that the sleep happened — it cannot detect that the server processed the pause. The realistic measured server-visible quantity is the existingttft_median_seconds(line 169), which the description does not call out as the idle-latency number. - "The continuous mode remains the default." — TRUE (line 220 branch; args default None).
- "Operators can replay the same request bodies and request counts across builds" — PARTLY supported:
--reuse-requests(line 196) and the JSONL's first line storingrequests(line 214) existed before this PR; the new part is a fixed per-lane count, which makes a run's request count deterministic and therefore comparable. No tooling is added to diff two JSONL files. - Evidence, as stated: "Ran both CLI modes against a local HTTP server emitting complete SSE streams. Two lanes with one request per lane yielded two completed requests per burst. The second burst began at least 100 ms after the preceding streams drained. The continuous control retained its deadline-based output. Python compilation and
git diff --checkpassed. Native GPU serving, scheduler idle transitions, and latency gains were not measured." — This is a stub-server smoke test, not a Flare run. It verifies the control flow (count-bounded bursts, one pause per trial) but nothing about the server behavior the PR exists to observe. Notably it does not report the value ofidle_seconds_before_burstversus the requested--idle-seconds, so the new field's accuracy is unverified even in the stub run. No test file was added, no CI check exists, and nothing in tests/ imports the script (so python-cpu.yml'spytest tests/never touches it). Unverifiable/absent: no benchmark numbers, no JSONL sample, no comparison of the two modes' fields, no statement of what happens with--trials 0,--warmup-seconds 0, or very small--requests-per-lane+--concurrencycombos. Verifiable risk not mentioned anywhere: in idle modetrial()still returnstokens_per_second = tokens / elapsed(line 165) butelapsedis now the burst duration, andissue_duration_secondsisNone(line 164). Any downstream consumer that readsissue_duration_secondsto distinguish modes, or comparestokens_per_secondacross modes, would be comparing two different quantities with the same key names. No consumer exists in-repo today (grep finds none), so this is a latent schema inconsistency in the JSONL rather than a break.
#11 [high] Connection: #540 → docs/TODO.txt:110-114 (idle/resume qualification) → #634 is the chain a reviewer should follow
The chain that matters most for a reviewer deciding on #634:
#540 (FujitsuPolycom/PCCessna, merged 2026-11-29 22:12, commit 59adc480) changed Helios so post-idle timing credit survives → its spec is docs/scheduling-runtime-design.md:433-466 ("When full credit carries across an idle gap longer than the freshness lifetime, the first waking request can execute one refresh episode before negative debt suppresses further probes") → #540 added a Rust regression test for it, helios/src/scheduler/policy_tests.rs:6253 idle_separated_short_requests_accumulate_refresh_credit_and_recover_stale_shape (serves five sequential 64,000-token prompts separated by idle gaps and asserts a refresh episode fires with P <= 0.002/0.998 * O + D) → but #540 shipped with live GPU/HTTP qualification unrun and explicitly deferred it to docs/TODO.txt:110-114 ("Qualify retained graph costs and funded remeasurement in live Helios: idle/resume, concurrent decode latency, cost-change recovery, and queued generation transitions ... See scheduling-runtime-design.md#funded-timing-refresh") → #634 is a client-side tool aimed at that measurement.
Consequences of that chain:
(a) #634 inherits a maintainer-side ask (the TODO entry), which is the strongest charter fit it has, but it does NOT close that TODO: #634 produces no measurement, so docs/TODO.txt:110-114 stays open and #634's description should not be read as satisfying it.
(b) #540's own text says its simulator cannot reach the fully-charged post-idle wakeup case (5 idle-* scenarios are all below the 2,495 ms funding threshold), so a live tool is the only route — this is the real justification for #634 and it comes from the linked PR, not from #634's own description.
(c) #540 changed scripts/scheduling_sim (learning.py:440 --retain-idle-credit, learning_policy.py) — the same scripts/ area #634 touches, by a different author, one day earlier. A reviewer should read #634 as continuing #540's scripts/ work, not as touching Luke Alonso's long-stable benchmark file in isolation.
(d) The one thing missing from the chain: nothing in #634 references #540's own new flags/test or the TODO entry by name, so a future reader of the TODO list will not find this tool.
Related "how long wanted" evidence: docs/TODO.txt:110-114 has existed since at least #540's merge (it is the entry #540 cited); #540's limitations section: "Live GPU and HTTP serving qualification (tests/server/test_scheduler.py and live power-cap cost-refresh recovery) was not run on GPU hardware and remains tracked in docs/TODO.txt."
#12 [high] Research summary
Case file for PR #634 is complete; all eleven angles are in the scratchpad (entries 1–11), each with file:line or PR/issue citations.
The change is small and verified: an opt-in burst mode in scripts/benchmark_scheduler.py (+21/−4, one file, one commit a0467e2). --idle-seconds makes each trial sleep after the previous trial drains, then run a fixed count per lane (--requests-per-lane, default 1) instead of a deadline; each row gains idle_seconds_before_burst. Continuous mode is untouched and still the default. Undeclared details worth a reader's attention: the recorded idle interval runs to the first request send (client-side, pre-POST), not to first token; idle rows keep issue_duration_seconds: null while tokens_per_second silently changes meaning to burst throughput; warmup still runs deadline-mode.
Why: it is framed as qualification for #540 (merged 2026-11-29), which let timing-refresh/acceptance credit survive idle and shipped its live GPU/HTTP qualification unrun, deferring it to docs/TODO.txt:110-114 — the entry #634 is really aimed at, though it never cites it and closes nothing. #540's own simulator cannot reach the fully-charged post-idle wakeup case (docs/scheduling-runtime-design.md:460-466), which is the strongest justification for a live tool and comes from #540's text, not #634's.
Evidence is a stub-SSE-server smoke test only: no Flare run, no measurement, no test file, no CI check, no sample JSONL, and the accuracy of the new field is not reported even in that run. Reach is a hand-run operator tool: nothing in CI, docs, tests or packaging references it. No overlapping or competing PR touches the file; the nearest precedents are ad-hoc idle probes in #280 and #353.
Process: ready-for-review but untriaged (no labels where comparable PRs carry area:/triage:), zero comments and reviews, no flare-autobot intake, <1 day old, and no commits on main since its base. The author (salignatmoandal) has three freshly merged ops/docs PRs (#601–#603) and no prior work in scripts/, Python benchmarks or scheduling; the file and area belong to Luke Alonso, and the linked #540's subsystem to FujitsuPolycom. Charter fit is mixed: the evidence and four-section-description rules are met, the "no magic defaults" rule argues against requests_per_lane or 1 / duration or 0, and AGENTS.md places qualification drivers in hyperflare-recipes even though the TODO entry it serves is core Flare's.
#13 [high] Citations to quote verbatim: docs/TODO.txt:110-114, design spec :453-466, runtime.rs:1244-1275, #540 deferral
Exact wording of the two load-bearing citations, so the report can quote without re-reading:
docs/TODO.txt:110-114 (unchecked [ ]):
"[ ] Qualify retained graph costs and funded remeasurement in live Helios:
idle/resume, concurrent decode latency, cost-change recovery, and queued
generation transitions. Use per-fence scheduler traces and request
latency measurements; measure GPU replay, queueing, and host planning separately.
See scheduling-runtime-design.md#funded-timing-refresh."
→ This is the backlog item #634 is aimed at. #634 neither edits nor references it, and does not close it (no measurement produced).
docs/scheduling-runtime-design.md:460-466 (the specification #634 would let someone qualify):
"The allowance bounds aggregate expense with one nonpreemptible episode overrun;
does not cap individual decode stalls. Funding the first refresh requires
2,495 ms of cumulative credited ordinary execution, accumulated across
idle-separated requests because idle intervals add neither credit nor ordinary
duration. When full credit carries across an idle gap longer than the freshness
lifetime, the first waking request can execute one refresh episode before
negative debt suppresses further probes."
(Paragraph starts at :453 with P <= 0.002 / 0.998 * O + D.)
Server-side counterpart that makes a client pause meaningful: helios/src/server/runtime.rs:1244-1250 calls self.scheduler.assert_idle()? then self.idle_wait() (50 µs with inbound restore pending, 2 ms otherwise, per :1257-1275) and blocks in self.receiver.recv_timeout(wait) — i.e. a paused client leaves the worker genuinely parked, which is the state #540 changed.
#540's own deferral sentence (from its "Limitations and unrun checks"): "Live GPU and HTTP serving qualification (tests/server/test_scheduler.py and live power-cap cost-refresh recovery) was not run on GPU hardware and remains tracked in docs/TODO.txt." And its simulator scope limit: "the 5 idle-* scenarios run single 64- or 8192-token prompts well below 2,495 ms, so they do not reach 5 ms credit and do not exercise the fully-charged post-idle wakeup probe case."
#4 [medium] Recent activity: the file is Luke Alonso's; #540 landed the day before and is what #634 qualifies
History of scripts/benchmark_scheduler.py (only 3 commits ever, per search_history on the path):
- bce032c0 2026-10-24 Luke Alonso "Overlap CPU scheduling with queued generation graphs" (created/expanded it)
- 28f0833b 2026-10-30 Luke Alonso "Prepare Apache-2.0 source licensing and fetch upstream chat templates" (licence header)
- a0467e29 2026-11-30 Mawen Salignat-Moandal — this PR's single commit.
So the file had no functional change for ~5 weeks and its only author is the project owner account Luke Alonso (also the top committer in scripts/: 57 of the last 180 days' commits). The
--pair-index,--variant,--pair-orderflags at lines 192-194 are unread inside the script — leftovers from a paired baseline/candidate harness that no longer exists in-repo (the "qualification drivers" were moved out: commit 17bb3c4a 2026-11-22 Luke Alonso "Remove extracted hyperflare_recipes, qualification drivers, and model tests from core Flare"; AGENTS.md:9-13 says qualification drivers now live in local-inference-lab/hyperflare-recipes). This is relevant because #634's stated use ("replay the same request bodies and request counts across builds") is exactly what the orphaned pair/variant flags were for. scripts/ area last 8 commits in 60 days: 59adc480 #540 (PCCessna), ea756eef #425 (Jason Cook), 17bb3c4a / da037284 (Luke Alonso), e9d509d6 #433 (Nero), be4ff01e (yatesdr), 5a4e8679 / 94fbce5f (Luke Alonso). Note the orientation packet lists 59adc480 as #540's merge commit, i.e. #540 DID touch scripts/ (the simulator: scripts/scheduling_sim/learning.py, learning_policy.py per #540's file list). No commits on main since #634's base (0a8c20f) touch its changed file.
#5 [medium] People: author is a new CONTRIBUTOR with 3 merged ops/docs PRs, none in scripts
Author: salignatmoandal ("where's Mawen?" / Mawen Salignat-Moandal), GitHub association CONTRIBUTOR. In the last 180 days: 3 merged PRs, 0 closed, 0 open besides this one — all opened and merged on 2026-11-29, all small operator-facing fixes:
- #601 "Expose Selene metrics on the Docker host loopback" (+3/−4, selene-manager/deploy/compose-network.yaml + docs/TODO.txt), merged 16:54.
- #602 "Correct PID namespace guidance for Selene's TLS Compose example" (+3/−2, docs), merged 16:55.
- #603 "Report the repository and revision on Hub lookup errors" (+41/−1, flare/src/hub.rs), merged 21:41. All three were reviewed by flare-autobot (recommendations Ready To Merge / Changes Requested / Ready To Merge). So: strong recent track record of tiny, accurately-scoped, honestly-limited PRs, but zero prior work in scripts/, Python benchmarks, or the scheduler. #634 (opened 2026-11-30 09:52, the morning after those three merged) is their first contribution outside ops/docs and their first in a performance-qualification area. People who work in this area: scripts/ and the scheduler benchmark are Luke Alonso's (57 commits in scripts/ in 180 days; sole author of benchmark_scheduler.py). The Helios timing/refresh subsystem touched by the linked #540 is FujitsuPolycom's (PCCessna), reviewed/merged by Luke Alonso on 2026-11-29. Scheduling performance PRs in this repo are approved by original-el8 (e.g. #280 review, APPROVED) and Luke Alonso (yatesdr closed #353 for lack of measured benefit). Who has engaged with #634 so far: nobody. Zero comments, zero reviews, no labels, no flare-autobot case file (contrast: #601/#602/#603 each got an autobot intake comment within minutes of opening — #634 did not, so the autobot pipeline has not picked it up). No Discord handle given ("Discord: no username provided", as in #602 and #603).
#6 [medium] Community: no engagement at all on #634; contrast with the author's other PRs
scripts/benchmark_scheduler.py: pr_comments on #634 returns "No comments." No reviews, no reactions, no labels, no CI checks on head a0467e2 ("CI on the head commit: no checks"). No flare-autobot intake/case-file comment, unlike #601, #602, #603 which each received one within a few minutes of opening (see those items' discussions). The PR is <1 day old at the time of this case file (opened 2026-11-30 09:52), so low engagement is expected rather than meaningful.
Interest it would draw if it lands: the #540 follow-up crowd (FujitsuPolycom, Luke Alonso) because #634 offers the live measurement docs/TODO.txt:110-114 asks for; and operators, per the PR's own "Benefit".
Broader demand signal (indirect): maintainers and contributors keep hand-rolling idle resume probes without a tool — #280 ("these runs do not establish the latency of the first request after an idle stretch"), #353 ("time to first token after 150 s of idle"). No issue in the repo requests a burst/idle mode for this script (search_items for benchmark_scheduler.py, burst mode, idle first-token latency returns only #634 itself).
#9 [medium] Reach: local operator tool only; no CI, docs, tests, packaging or runtime impact
Who/what is affected:
- Users/operators: only those invoking scripts/benchmark_scheduler.py by hand. Nothing in CI (.github/workflows: helios-lifecycle.yml, native-serving.yml, python-cpu.yml, release.yml — none reference the script or scripts/ except release version stamping), nothing in docs/, nothing in tests/ references it. So blast radius is a developer/operator-local tool with no automated gate.
--base-url(line 179) lets it point atflare runor a remote host, so operators can use it against a real deployment. - Configuration and defaults: no defaults change. Two new flags, both opt-in; continuous mode byte-identical in behavior. Validation rejects non-finite/non-positive
--idle-secondsand--requests-per-lanewithout--idle-seconds(lines 198-201), so misuse fails loudly rather than silently (matches charter "No magic defaults" / AGENTS.md:118 in spirit). - Compatibility: the CLI surface is append-only; JSONL rows gain one key (
idle_seconds_before_burst) only in idle mode.--reuse-requestscan read an older JSONL'srequestsline unchanged. No dependency, no import added (mathwas already imported at line 11 forpercentile, line 125). Python 3.12 per python-cpu.yml; the code uses only stdlib (threading, concurrent.futures, time, argparse, http.client) — matches the rest of the script. - Deployment/packaging: none. Scripts are not shipped in the release artifacts (release.yml only ships binaries/debs; the script has no entry in pyproject.toml
[project.scripts], whose packages areignition*only). - Documentation: none updated; docs/TODO.txt:110-114 (qualify idle/resume) is NOT checked off or referenced by the PR, so nothing tells a future reader that this tool exists to serve it.
- Scheduler/runtime behavior: zero effect — the change is client-side only; it never touches helios/, flare/, or the server. It cannot itself alter idle credit retention (#540) or any timing behavior.
- Third parties: none. No new runtime requirement for CI contributors.
- Cross-check on idle semantics for whoever uses it: the server's own idle path is
RequestScheduler::assert_idle()+idle_wait()in helios/src/server/runtime.rs:1244-1275, with waits of 50 µs (inbound restore pending) or 2 ms otherwise — a paused client leaves the worker in that loop, so a--idle-secondspause lands the request into a genuinely parked server, which is what #540's post-idle credit case needs.
#10 [medium] Process: ready for review but untriaged, no CI, no autobot, no labels, no reviews
State of #634 as a process matter:
- Opened 2026-11-30 09:52 by salignatmoandal (CONTRIBUTOR); branch bench/scheduler-idle-resume → main; single commit a0467e2 (a0467e298a4e7f38622dbc6ec37ecae1cdd340d1); +21/−4 in 1 file. Marked "open, ready for review" by the orientation packet — not a draft.
- Reviews: none. Labels: none (no area:scheduling, no triage:review — every comparable PR in this repo, e.g. #540, #601, #602, #603, carries area:* and triage:* labels, so #634 has not been triaged).
- CI: "no checks" on the head commit. .github/workflows/python-cpu.yml runs
pytest tests/on every pull_request, which would not exercise this script anyway (no test imports it); helios-lifecycle.yml and native-serving.yml are the other gates. No check having run may mean the workflow did not trigger or was not approved — either way no automated verification exists for the head commit. - flare-autobot: no intake/case-file comment on #634, whereas #601/#602/#603 each got one within minutes. So the automated review pipeline has not engaged.
- Description completeness per AGENTS.md:72-112: all four required sections present, in the required order, and the Evidence section explicitly separates what passed (stub-server CLI runs, py_compile, git diff --check) from what was not measured (native GPU serving, scheduler idle transitions, latency gains) — the repo's rules call for exactly that separation. No reproduction command with real inputs is given (AGENTS.md:110-112 asks for reproduction commands identifying required inputs); the stub server is not described enough to reproduce.
- Age: <1 day at the time of this case file.
- Sign-off: CONTRIBUTING.md:19 requires Signed-off-by; #353 was rejected partly for a missing one. Cannot confirm the sign-off trailer of a0467e2 from the tools available here (no commit-body view) — worth checking before merge.
- Merge shape: the commit subject ("Measure streaming latency after scheduler idle periods") matches the PR title; no merge commits, no unrelated files, no docs/TODO.txt edit (so the entry at docs/TODO.txt:110-114 stays open, which is arguably correct since no measurement was produced).
#14 [medium] Coverage ledger: angle → entry numbers, and the few items that could not be verified
Coverage ledger so the report writer knows every angle is done and nothing was silently skipped.
Angles → scratchpad entries:
- The change: 1 (behaviour, defaults, undeclared effects), 8 (claim-by-claim verification).
- The why: 2 (own motivation; #540 as the only referent), 11 (the #540 → TODO:110-114 → #634 chain; how long wanted).
- Related work: 3 (#540 only; no competing/stacked/superseding PR; file untouched by any other PR in 180 days; #280/#353 idle-probe precedents; explicit list of packet leads judged not relevant — #548, #560, #536, #581, #497, #519, #567, #218, #415, #326, #319, #116, #288, #186).
- Recent activity: 4 (3-commit file history, all Luke Alonso; scripts/ last 8 commits; #540's own scripts/ edits; dead --pair-index/--variant/--pair-order flags from the removed qualification drivers, commit 17bb3c4a).
- People: 5 (author's 3 same-day merged ops/docs PRs #601/#602/#603; no scripts/scheduling history; Luke Alonso owns scripts/ and this file; FujitsuPolycom owns #540's subsystem; original-el8/yatesdr approve scheduling perf PRs and closed #353 for lack of measured benefit).
- Community: 6 (zero comments/reviews/reactions/labels; no flare-autobot intake unlike #601–#603; indirect demand from #280/#353 hand-rolled idle probes; no issue asks for this).
- Project fit: 7 (charter evidence bullet, "What gets merged" list, "random switches"/no-magic-defaults bullets, four-section description rule, AGENTS.md:9-13 qualification-drivers location, :497-499 flare-run comparison rule, :512-513 raw measurements rule, docs/core-design.md:1818-1838 measurement set lacks an idle-resume row, docs untouched).
- Claims and evidence: 8.
- Reach: 9 (no CI/docs/tests/packaging/runtime impact; JSONL append-only; no new import or dependency; docs/TODO entry left open).
- Process: 10 (ready-for-review but untriaged, no labels, no CI on a0467e2, no autobot case file, <1 day old, no commits on main since base 0a8c20f, Signed-off-by unverifiable with available tools, description has all four required sections).
- Connection entry: 11.
Verified vs claimed is kept apart in 8 and 10. Could not verify (tooling limits, state as such in the report): the commit body / Signed-off-by trailer of a0467e2, and whether any GitHub check attempted to run; the author's stub server and JSONL sample (not attached anywhere visible).
Note: #634 is absent from the local copy of PRs/issues ("not in the local copy" per the packet), so related_items/items_touching results reflect the local mirror; read_item(634) did resolve it.