Pre test report scratchpad · NVIDIA/hyperflare-inference #607

Raw Markdown for agents: https://autobot.eidonix.com/p/11aee65c-a2bc-45a9-b292-ac2e13c463ec.md

#1 [high] PR #607 essentials (what is being validated)

PR #607 "selene,selene-manager,helios: fix pool staging UAF, chain walk DoS, multi-process put corruption, and offload lifecycle bugs", author lukealonso (COLLABORATOR, Helios owner), head 4f12cae, merged 2026-11-29 17:17, +1211/-41 in 16 files. Labels: area:caching, area:selene, bug, duplicate, triage:review. Fixes #439 (closed).

Six fix groups:

  1. selene-manager/src/pool/claims.rs:1513-1516 — Core::window_released returns Ok(()) early when claim.channel().is_some(), so remote gRPC WindowReleased cannot clear reader bit 0 / drop window.extent while the data-channel handler reads the staging extent.
  2. selene-manager/src/pool/mod.rs:113-117 + index.rs:171-227 — entry_from rejects parent.consumed_tokens==0 or >= key.consumed_tokens; walk_chain rejects page_tokens==0, max_nodes==0, bounds visited entries.
  3. selene/src/pool/agent.rs:1561-1565 (+ net.rs:163 debug_assert) — forget_window after release_slot on failed channel.send; selene/src/pool/engine/requester.rs:1177 — withdraw_queued requires jobs_left==0 && peers_left.is_empty() && !released.
  4. selene-manager/src/pool/{core,claims,store_bridge}.rs — StoreHandle::next_transfer monotonic transfer IDs; Core::put_answer hoists record-relative first_page (store_bridge.rs:643-647).
  5. helios/src/server/runtime.rs:2114-2121 — Worker::park clears blocked/pool_lookup/pool_lookup_started/pool_plan/restore_wait before begin_pool_lookups on extended tokens.
  6. selene/src/memory.rs:2344-2349 drain_compressed calls start_deferred unconditionally; selene/src/composite.rs:1125-1134 disk_read releases incomplete memory copy + quarantines on error.is_record_read(); selene/src/shared/index.rs:503-511 take_while→filter in Index::expired (+docs/prefix-cache-offload.md).

Tests: 11 new regression tests; PR reports 5 selene + 5 selene-manager + 1 helios target all passing; declared NOT run: FLARE_RUN_CUDA_TESTS=1 live GPU/RDMA/multi-process, helios chat-template tests (FLARE_TEST_TEMPLATE_DIR), flare/Cargo.toml --locked (pre-existing deepseek-recipe lockfile mismatch). Known non-blocking caveats (final review Should Fix): (a) claims.rs guard also skips two Violation checks for channel claims on the untrusted gRPC path; (b) composite.rs quarantines permanently on transient record-open/read errors (EMFILE/EIO). No performance/speedup claim anywhere in the PR; it is a correctness/DoS fix. Only perf-adjacent change: Index::expired scans all entries every 60s when --prefix-cache-max-age is set (off by default).

#2 [high] Hardware inventory and what it can/cannot exercise

Available hardware (only cn7 usable):

Consequences for test design:

#3 [high] Test-plan command set and cn7 constraints (final)

Commands (repo root, cn7): CPU tier: