Opened by a workflow run, Nov 29, 2026 12:41 PM EST. decide malicious: all_clear (100%): No malicious content found
explore
Author: yatesdr (COLLABORATOR; sole active owner of selene/src/pool/, not one of the charter's named priority contributors); Discord: D-Rock
Motivation: Under traffic, disconnects or hostile manager metadata, the Selene pool client could stall its own event loop while control messages arrived, drop fence acknowledgments the manager waits on (wedging pool slots), kill the session instead of applying backpressure, and overflow staging size arithmetic. This hardens each mechanism in place, without changing the gRPC protocol.
Scale: +260 / −43 lines in 12 files (all under selene/src/; no proto, docs, Cargo or config change)
Proposal:
- Fairness: persistent
next_tickdeadline replaces a freshsleep(tick)perselect!;pump()split intopump_flow(now, flow_index), which now callscollect_outbound_fills()(conn.rs:836-949, mod.rs:586-603). - Backpressure:
pending_outqueue +drain_out()+ atx.reserve()select arm;flow_indexpauses whiletx.capacity() <= 64; unsent messages handed back viaengine.emit(); new 30 s full-channel give-up. - Fencing:
Phase::Acceptedset at top ofon_put_accept,PutCancel+FenceAck(Drained)for unknown put ids,accept.packedrejected on raw puts,session_lostre-owes FenceAck/ExportEnd/WindowReleased. - Bounds/lifecycle: checked/saturating math in
staging_slots/Staging::planned_bytes/Staging::new, reconnect slot-bytes check innet_staging, IPv6 bracket trim indial, 2 s Goodbye timeout +quarantineclearing jobs,spilledremove-before-upsert, empty-rendezvous guard. - Tests: 3 new unit tests (2 engine, 1 limits); the limits test is unlisted in the description. Touches:
selene/src/pool/conn.rs(+69/−12) — session loop, backpressure, dial.selene/src/pool/engine/writer.rs+engine/mod.rs— put/fence state machine andowedhandling.selene/src/pool/engine/source.rs,netio.rs,net.rs,shared/limits.rs— export pins and overflow-safe sizing. Related items:- #607 selene,selene-manager,helios: fix pool staging UAF, chain walk DoS, multi-process put corruption (merged): explicit rebase base; overlaps agent.rs/requester.rs/net.rs/tests.rs (not opened).
- #609 fix(selene): preserve DMA, RDMA, and shared-region lifetimes (merged): same-day sibling, shares the combined hardware-evidence paragraph.
- #610 fix(selene): local storage tier, input cache, sharding, codec (merged): same-day sibling.
- #612 fix(selene-manager): harden multi-rank packed handling (merged): manager-side half of the same protocol.
- #335 Prefix-cache pool and scheduler fixes from a production degradation (closed): the project's precedent of tying pool-client fixes to an observed degradation — #611 cites no issue.
Link: https://github.com/NVIDIA/hyperflare-inference/pull/611
Autobot comments: Merged 24 minutes after opening with 0 comments, 0 reviews and CI still pending; unlike siblings #607/#609/#612 it got no flare-autobot case file. The description does not match the diff in several places: there is no
TP >= 3test in the source fix (any partial-open export withranks.is_some()is affected), the reconnect check comparesmax(max_window_bytes, page/row record bytes)and ignores slot count, and a third new test exists. Unmentioned behaviours: a new 30 s full-channel session give-up, a newNotice::Evicted{heir:None}inspilled, andPutCancel+FenceAck(Drained)also firing for duplicate accepts of already-completed puts. Only 2 of ~9 fix clusters have tests; hardware evidence is pooled across four PRs with no per-PR attribution (the description says so itself). No docs updated, though two behaviour changes touch documented semantics.
Value Proposition
Value Proposition — PR #611 "fix(selene): pool client event-loop starvation, fencing, backpressure, and overflow bugs"
1. Charter alignment: aligned, no ownership conflict. The charter goal "Store prefix-cache checkpoints in host memory and share them across Flare instances via Selene" names exactly the subsystem hardened here (selene/src/pool/, shared/limits.rs) — runtime/serving, not recipe or kernel territory, so no boundary dispute. The change adds no flag, config knob, dependency, model alias, proto, or Cargo edit, and strays into none of the non-goals (rack-scale disaggregation, CPU backends, orchestration). That is the "smallest footprint in shared code" the charter asks for. The fix style also matches #397 (address the root cause per mechanism rather than retry/swallow), and the description carries the charter's four required parts plus an explicit "Material limitations" line.
2. Novelty & status: not live, already on main. The dossier found no competing, superseding, or reversing item — the only hits for pool-client starvation/backpressure/FenceAck/IPv6 dialing were #611 itself. It is merged as commit 8d05b9b6, landing 24 minutes after opening with 0 comments, 0 reviews, CI pending on head aac8f4f, and the only case file missing from the same-day quartet (#607/#609/#610/#612). Its session_lost change makes that function consistent with the pre-existing emit fence-class rule; it reverses nothing.
3. Value vs maintenance cost: real, cheap, but thinly evidenced. Beneficiaries are operators running --prefix-cache-pool against selene-manager: no more session teardown on the first full outbound send (OUTBOUND = 4096), no dropped fence acknowledgments wedging the manager, working IPv6-literal dials, and hostile-limits arithmetic that saturates instead of wrapping. Cost is low: no wire/proto or on-disk change, old and new selene/selene-manager interoperate, and staging_slots/planned_bytes yield identical values for all sane limits. Caveats: no issue, log, or operator report (the #335 production-degradation lineage is not joined); "0 disconnects, 0 leaked pins, bit-exact pos0 parity" is pooled across four PRs and the description itself disclaims per-PR attribution and pre-rebase hardware; ~3 new tests cover nine fix clusters and are partly misdescribed (unlisted staging_slots_saturates_instead_of_overflowing, pump_flow described as pre-existing, no TP >= 3 test in code); two undeclared behaviour changes (30 s CLOSE_TIMEOUT give-up in drain_out, new Evicted{heir:None} notice) and two undocumented semantics changes (reconnect staging-size error silently downgrading to local tiers) remain documentation debt.
Verdict: Obsolete (merged as commit 8d05b9b6). Judged on merits it is charter-aligned and additive; had it been open it would be "worth it with changes" — added tests and docs updates, not redesign.
Full report Decide Value: obsolete (94%): It was already fixed another way (merged or on the main branch), or is no longer needed for another reason.
Classify intake
Selected: triage:review, bug, performance, area:selene
Threshold: 65%
Triage
- [✓]
triage:review: 98.7% -
none: 0.4% -
triage:validation: 0.3% -
triage:design-review: 0.3% -
triage:partial: 0.1% -
triage:investigate: 0.1% -
triage:verify-for-closure: 0.1% -
triage:integration: 0.0% -
triage:superseded: 0.0%
Priority
-
none: 40.4% -
priority:P2: 40.4% -
priority:P1: 19.1%
Type
- [✓]
bug: 86.7% - [✓]
performance: 83.5% -
community: 46.9% -
duplicate: 9.5% -
enhancement: 0.1% -
documentation: 0.0%
Area
- [✓]
area:selene: 99.8% -
area:memory: 22.3% -
area:caching: 18.2% -
area:preparation: 6.0% -
area:scheduling: 2.3% -
area:rocenante: 1.1% -
area:orbit: 0.9% -
area:api: 0.7% -
area:kernels: 0.4% -
area:engram: 0.2% -
area:packaging: 0.0%
Model
-
model:deepseek-v4.1: 2.0% -
model:glm-5.3: 1.2% -
model:qwen3.8-27b: 0.5% -
model:deepseek-v4: 0.5% -
model:qwen3.8-flash-next: 0.3% -
model:inkling-small: 0.1% -
model:nemotron-3.5-bolt: 0.0% -
model:kimi-k3.1: 0.0% -
model:gemma4: 0.0% -
model:muse-glimmer: 0.0% -
model:mimo-v2.6: 0.0%
Apply Labels (Intake)
Applied: +triage:review, +bug, +performance, +area:selene