PR #496 review — amendments (nothing moved on #496; the neighbourhood moved)
This report is amendments only, as the operator asked. PR #496 is unchanged since the previous report and the findings there stand unamended; what follows adds or corrects.
Key findings
-
#497 is not stacked on #496 — the "merge #496 first, then rebase" instruction is a semantic rewrite, not a merge chore. Verified at
pr/497:selene/src/disk_store.rsstill containsfn pump_inbound(:1193),fn pump_all(:1206) andenum Destination(:618) withstruct InboundRecord(:709). A search forSharedSegment|plan_aligned_windows|DeviceInboundreturns nothing. The two PRs are independent edits of the same region, not commits on one branch. #497 carries teststaged_pump_all_prioritizes_inbound_ahead_of_outbound_and_maintenance(pr/497disk_store.rs:6978), which asserts the old single-queue order and must be rewritten against #496's split. -
New correction: #496's own
pump_alldoes not put inbound ahead of maintenance. Atpr/496,pump_all(selene/src/disk_store.rs:2268-2289) runs: maintenance (submit unlinks/truncates) →pump_outboundfor each sorted id →pump_host_inbound→pump_device_inbound. Onmainthe order is maintenance → outbound → inbound (maindisk_store.rs:1206-1226); in #497 it becomes inbound → outbound → maintenance (pr/497:1206-1227, with the explicit comment "Prioritize interactive inbound restores ahead of background writes and maintenance"). So #496 restructures the queues but leaves maintenance first, i.e. #497's motivation item 3 ("Staged::pump_allsubmitted unlinks/truncates and background writes ahead of interactive restores") is not fixed by #496 — and the description's "soStaged::pump_allrunshost_inboundandpump_device_inboundahead of writes and maintenance" describes what #497 will do after rebasing, not what #496 merges. The inbound-first behaviour #496 ships is only relative to background writes, not to maintenance. -
The conflict with the compression PRs is semantic, not textual. #477 and #486 keep
InboundRecord(selene/src/disk_store.rs:710) and #492 hasInboundRecord(:975) withDestination::HostPacked(:893, :1112, :1206) plusread_into_packed/write_packed. #496 deletesDestinationoutright and rewrites every inbound path, and has no packed-host or shared-window equivalent (noHostPacked, nocompleted_packedatpr/496). Whichever compression PR lands after #496 must re-target v4 packed restores ontoDeviceInbound/SharedWindow. This supersedes the earlier, softer "a textual conflict in the same file is likely". -
The new event is the neighbourhood, not #496. Three PRs opened the same evening — #498, #499 (both FujitsuPolycom drafts) and #500 — none touching
selene/ordocs/prefix-cache-offload.md, so no new same-file competitor and no new charter evidence. #496 is now one of four open PRs from the same author, two of them drafts opened ~2h after it. -
The review gap is now conspicuous. #477 has an autobot Changes Requested review (2026-11-24 17:53) with three blockers; #486 and #492 were halted by Auto-Review as "low value or does not align with the project charter". #496 remains the only Selene disk PR with no automated review, no labels and no CI checks at head.
Change (angle: what moved)
Nothing on #496. pr_comments = "No comments"; single commit f9c91915; files unchanged at docs/prefix-cache-offload.md (+5/−1, re-verified this run: the section-2.4 Staged paragraph only, docs/prefix-cache-offload.md diff hunk @@ -335,7 +335,11 @@) and selene/src/disk_store.rs (+2803/−913). read_item 496 still reports the same description, benchmark table, and "Not covered" list.
Adjacent new items:
- #498 "Flush PCIe D2H tails before completion in Heliopause export downloader" (FujitsuPolycom, draft, opened 2026-11-24 20:09, head
08f5c8a, +259/−16, one fileheliopause/src/export/capture.rs(not opened)). AddsDownloader::fence+flush_d2h_tail(same-stream HtoD read of ≤64 trailing bytes) before sync/event on all four D2H paths. Claims 63/400,000 corruptions without the fence vs 0/400,000 with it, 51.1 vs 51.6 GB/s. Limitations: lib +--ignoredCUDA tests not yet run at08f5c8a; noNVreg_EnablePCIERelaxedOrderingMode=0control; onlyheliopause/src/export/capture.rs(not opened), withhelios/src/execution/transport.rs(not opened) andhelios/src/offload/transfer.rs(not opened) D2H left untested under RO=1. - #499 "recipe-declared row-sharded prefill planning and PCIe DMA / RoCE row-shard collectives" (FujitsuPolycom, draft, 20:10, head
2dab6ba, +1546/−191, 18 files).Recipe.row_shard_prefill_world_sizes, default-off--row-shard-prefill,RebuildManifest.row_shard_prefill = 28,PreparedReduceScatter/PreparedGatherShards/ConcurrentReduceScatterinignition/components/collectives.py(not opened). Touchesdocs/TODO.txtanddocs/cli-design.md(not opened) — notdocs/prefix-cache-offload.md, notselene/. Declares its own end-to-end qualification still pending. - #500 "ERNIE 5.5 XML tool/think parsers and dependency-bearing fused-addend all_reduce" (voipmonitor, 20:22, head
974db22, +193/−209, 9 files).ToolParserKind::ErnieXml = 9,ReasoningParserKind::ErnieThink = 7,flare::pcie_all_reduce_addend_dep. Unrelated to #496.
Claims and evidence (angle: what is asserted vs shown)
Unchanged from the previous report: benchmarks taken before the demand-index and close-count edits; 474 selene tests at c0c4f798; 7 coalescing tests on Windows IOCP; helios 121 passed / 8 GPU ignored; disclosed regression 61.3K: 8/9 on main vs 7/9 on this PR; not covered: helios FLARE_RUN_CUDA_TESTS=1, discrete PCIe GPUs, Windows serving, live CompositeStore/PooledStore GPU serving, repeated post-edit runs.
Amendment to the evidence reading: the description's merge-order sentence ("Merge this PR first, then rebase #497 so Staged::pump_all runs host_inbound and pump_device_inbound ahead of writes and maintenance") is the only place inbound-first ordering is described, and it describes post-rebase #497 state, not #496's shipped pump_all (finding 2 above, pr/496 disk_store.rs:2268-2289). A reviewer reading the description could reasonably think #496 already prioritises restores over maintenance; it does not.
Related work and merge order (angle: what else changes the same code)
- #497 (open, same author, same day, +1163/−67, 16 files): independent edit, not stacked. Its
pump_allrewrite (pr/497:1206-1227), itsdisk.rs(not opened) single-read open and paged hash pool, and itsintake_slots(layout, 1)bound all rebase onto #496's new structures. #496's burst test sizes its pool the same way (crate::offload::intake_slots(&layout, 1)atpr/496disk_store.rs:8271), so intent is complementary. - #477/#486/#492: keep
InboundRecord(:710in #477/#486,:975in #492) and, for #492,Destination::HostPacked(:893, :1112, :1206). Semantic port required after #496 — see Key finding 3. - New same-file competitors: none.
items_touching selene/src/disk_store.rsanditems_touching docs/prefix-cache-offload.mdstill list only #496, #497, #477, #486, #492 as open (#323 and #213 are open but older doc-only items outside this region). #498/#499/#500 do not appear on either list. - History: unchanged — #142/#168 introduced the per-restore private read path being replaced; #413/#415/#429/#455 built the ancestor/pool semantics; #416 (
425ab2d4) is the shared benchmark baseline. No issue predating #496 asks for coalescing concurrent disk restores (search_items "selene disk restore coalesce"returns only #496 and #497).
Process (angle: review state)
- #496: 0 comments, 0 reviews, no CI checks, no labels, single commit, open and described as ready for review.
- #477: autobot Changes Requested (2026-11-24 17:53), three blockers (container images stop building because
selene/native/is not shipped; multi-host ranks cannot start with compression on because the single-use decoder is bound twice; recovery deletes intact raw records). - #486 and #492: halted by Auto-Review as "low value or does not align with the project charter".
- Main has gained
c0c4f798("Remove redundant RegistryDwords EnableResizableBar check in flare doctor",flare-cli/src/doctor.rs) since #496's base425ab2d4— unrelated file, no rebase impact.
Open questions
- Whether #496's maintenance-first
pump_allis intentional. The description presents restore-first submission as #497's job, but nothing in #496's own text or tests asserts the order, so a reviewer cannot tell whether maintenance-before-inbound is a deliberate scope boundary or an oversight. It is the single most reviewable behavioural point the tests do not cover. - Whether the 7/9-vs-8/9 correctness dip at 61.3K is a coalescing bug or prompt near the model's retrieval limit. It is disclosed but not investigated in the description; with benchmarks taken before the demand-index and close-count edits, the "current" behaviour of head
f9c9191on that check is simply unknown. - Which of #477/#486/#492 the author expects to land first, given #496 removes the packed-host destination all three depend on. No coordination is stated anywhere; the only cross-reference is #496↔#497.
- Whether #496/#497/#498/#499 (four open PRs from one contributor in one evening) are intended as a single stack with a stated order. Only #496↔#497 and #499's own cross-repo order are documented.
What could not be found
- Any reviewer feedback, CI result, or label on #496 — nothing exists at head.
- Any issue, design note, or TODO in the repository that requests concurrent-restore coalescing; the motivation is the author's own benchmark.
- Any test in #496 that asserts
pump_allordering (contrast #497'sstaged_pump_all_prioritizes_inbound_ahead_of_outbound_and_maintenance), i.e. the ordering change #496 does make — maintenance first, outbound before host/device inbound — is untested and undocumented. - A post-edit benchmark, or any measurement isolating the demand-index and close-count edits the description says the unit tests cover.