Explore report · NVIDIA/hyperflare-inference #612

Raw Markdown for agents: https://autobot.eidonix.com/p/88e4f471-248d-48c6-b44f-06979d04173e.md

Case file — PR #612 fix(selene-manager): harden multi-rank packed handling, protocol validation, and resource reclamation

Author: yatesdr (COLLABORATOR). Branch fix/selene-manager-hardening → main, head 1f9ee76a0f65a219f51176534613a0064da838e2. +293 / −52 in 10 files. Opened 2026-11-29 17:08, merged 17:32 the same day as 3801ff1d. No reviews, no comments, no labels; CI on the head commit was still "pending" at packet time.

Key findings

The change

Ten files, +293/−52, all in selene-manager/src (9) plus one in selene/src (1). Nothing touches .proto, selene/src/shared/record.rs (not opened) or Cargo.toml (not opened), so message shapes and on-disk formats are unchanged.

Verified hunks (head 1f9ee76):

The why

The stated motivation: several selene-manager paths accepted unvalidated peer metadata or multi-process packed operations, risking OOB arena reads/writes, panics, and permanent slot/connection leaks — beyond what #607 had already landed. Concretely: arena extents sized to compressed bytes while uncompressed window lengths were passed to pass::run; unbounded rank counts and record sizes; next_power_of_two panics; planning vectors allocated before validation; first_page + pages overflow; stale parent links after rootless replacement; evicting page-only ancestors with active readers; leaked terminal remote Pinned exports on source disconnect; unbounded idle scopes; rank-0 misresolution; reconnect without secret checks; watch_pid missing EINTR/pidfd fallback; uncapped TLS handshakes; pool_task aborted before hub.shutdown().

No GitHub issue, bug report or user report was found asking for any of these (see Related work). The defects are the author's own review findings, stated as such in the description ("beyond the items already landed in #607"). The need is nonetheless recent and real: the packed put/pin paths themselves were only introduced by #504/#523/#607 within four days of this PR.

Recent activity

Commit timeline in the touched files: 3801ff1d #612 (this PR) → e2522eb0 #609 (yatesdr, selene/src + selene-manager/src) → 5df8edd3 #607 (Luke Alonso; it also changed selene/src/shared/index.rs, making #612's index edit the second same-day change there) → 3d8640c6 #523 and 716df00f #504 (yatesdr, packed/KV compression in store.rs/claims.rs) → 9710cadc #607-adjacent core acquisition (Luke Alonso) → 203d6c9f #476, 25b49519 #402, 436d6a9b #415, 204ecff0 #413, 09c2a4a4 #376, 5477a6ab #356 (all yatesdr, all in selene-manager/src/{store.rs,pool/claims.rs,pool/store_bridge.rs,local.rs,control.rs}). #496/#497 touched only selene/src. Nothing in the recent history reverses or conflicts with #612; the change is a continuation of the author's own series and repairs invariants from #356/#504.

People

yatesdr is the pool's principal author: #92 (the original "share prefix KV cache through a selene pool manager"), then #138/#139/#141/#142/#337/#401/#402/#413/#415/#429/#476/#504/#523/#527/#609/#610/#611/#612. 79 merged PRs in 180 days. Ownership: selene-manager/src 30 commits vs Luke Alonso 3; selene/src 36 vs Luke Alonso 5 and Martin Vit 2. Area co-workers: Luke Alonso (the #607 author), PCCessna (#496/#497). The charter's priority-contributor list names @voipmonitor, @original-el8, @lukealonso — yatesdr is not on it despite holding collaborator status. Nobody else engaged with #612 in any form.

Community

No comments, no reviews, no inline comments, no reactions — pr_comments for #612 returned "No comments", the discussion is empty, and there are no labels. Interest drawn: none observable. This is a marked contrast with #607 in the same hour (case file at 17:20, Autobot review at 17:32).

Project fit

Claims and evidence

Claim What backs it
RUSTFLAGS="-D warnings" cargo check clean for selene (codec,rdma) and selene-manager (lib/bins/tests) Self-reported; CI "pending" at packet time; no CI conclusion recorded on the PR
selene lib 540/540; selene-manager 186/186 lib (1 ignored) + builder 3, offload 2, packed 9, pool_claims 36, pool_net 6, pool_store 11 Self-reported; consistent with #607's counts plus #612's three new tests; note selene-manager/tests/packed.rs (not opened) has no multi-process case, so the headline refusal is untested
Live flare run + manager qualification on SM120 (cn5: DeepSeek-V4.1-Flash-1017 TP4, GLM-5.3-Flash TP2/TP4 off/cpu/gpu, Qwen3.8-Flash-Next TP1/TP2 incl. wiped-disk pool-only cold restore) and GB10 (cn6–cn9: 3-node TP2, 4-node TP4 cross-host retirement & restore): 0 panics, 0 leaked pins/slots, 0 quarantined bytes, clean shutdowns Strongest evidence, but self-reported, against an unnamed combined 4-PR stack, and before the rebase onto #496/#497/#607 — i.e. not the merged commit. The PR discloses this
"Closes every crash, OOB, DoS, and leak vector" Absolute; contradicted in part by the surviving next_power_of_two panic at store.rs:1953-1956, by the empty-scope-only pruning, and by 11/14 untested hunks
"without changing wire compatibility" True for message shapes (no .proto, no record format change); not true for accepted inputs and reason-code reachability (see Reach)
"reclaims… shutdown resources cleanly" hub.shutdown() before pool_task.abort() verified at control.rs:553-555; no test
Evidence channel "Discord: D-Rock" Off-repository, not linkable

Reach

Process

Not a draft; merged to main as 3801ff1d. Lifetime 24 minutes (17:08 → 17:32), zero reviews, zero comments, no labels, CI pending at packet time. The only human review channel is off-repo (Discord). Predecessor #607 got a bot case file and an Autobot review recommending merge — #612 got neither before merging.

Open questions / not found