Code review summary scratchpad · NVIDIA/hyperflare-inference #502

Raw Markdown for agents: https://autobot.eidonix.com/p/49d6257d-c0b1-43a8-b6d7-52ebd5a2b05b.md

#1 [high] PR #502 overview and verified diff

#502 "feat: add gb206 platform support", author wektorz, opened 2026-11-24 22:11, head 820abdb, base main, +18/−1, two files, no CI checks reported on head.

#2 [high] BLOCKER 1: flare crate test goes red (catalog.rs fixture)

BLOCKER — flare test fails, CI red.

#3 [high] BLOCKER 2: Orbit placement of gb206 cores fails

BLOCKER — Orbit cannot place a gb206 core, and GB206 hosts stop matching existing gb202 cores. Chain (all verified at head):

#4 [high] SHOULD FIX: duplicated PCI table in flare-cli

SHOULD FIX — the orbit/gpu.rs hunk duplicates a table that its own source forbids duplicating.

#5 [high] SHOULD FIX: undisclosed run/download behaviour change + merge order

SHOULD FIX — the change silently changes flare run/flare download behaviour on GB206 hardware, and the description does not disclose it.

#6 [high] SHOULD FIX: stale platform enumerations in help text and docs

SHOULD FIX — every user-facing enumeration of the platform set still lists four names; the fifth name makes them all wrong. Verified at head:

#7 [high] SHOULD FIX: description evidence and rationale defects

SHOULD FIX — description/prose accuracy and evidence defects (AGENTS.md:72-140; design-review principles 12, 16).

  1. "Prevents crashes ... during ignition" misdescribes the failure. It is a clean, actionable error: heliopause/src/export/capture.rs:2079-2085 returns invalid("NVML reports unsupported GPU PCI id {:#010x}"), and flare/src/hardware.rs:95-100 returns "GPU {entry} has unsupported PCI ID ...; specify --revision". No crash exists on either path. Also does not name the workflow (ignition export, at "Materialize weight payloads") or the command a user runs.
  2. The evidence command for helios cannot have run the test it cites: helios/src/core/naming.rs is inside #[cfg(feature = "runtime-core")] pub mod core; (helios/src/lib.rs:22-23), so cargo test --manifest-path helios/Cargo.toml without --features runtime-core,server does not compile the module. CI (.github/workflows/native-serving.yml:63,68) and AGENTS.md:317 both pass --features runtime-core,server; both quoted commands also omit --locked. Required form: cargo test --locked --release --manifest-path helios/Cargo.toml --features runtime-core,server.
  3. cargo test --manifest-path flare-cli/Cargo.toml is cited as verifying platform_from_pci across all 9 ids; that test lives only in helios (naming.rs:203-209), and orbit calls its own private platform (gpu.rs:310-324), not platform_from_pci. The claim should be corrected.
  4. "Validated local core preparation/serving on a GeForce RTX 5060 Ti 16GB (0x2d04)" gives no command, no resulting entry/deployment name, no serving result — not assessable (AGENTS.md:103-112).
  5. Rationale facts ("128-bit memory bus, 32 MB L2 cache, up to 16 GB VRAM", "GB206 also has different cache sizes from GB202") have no source and no code path uses them: nothing in the tree reads a per-platform L2/bus/VRAM figure (grep for l2_cache/memory_bus in flare-cli: no matches); PLATFORMS is only used for name acceptance (naming.rs:76-131; flare/src/hub.rs:2473,2490,2963,3115; flare/src/catalog.rs:271-280,320; flare-cli/src/distribution.rs:159,720). The real reason a distinct name is needed is selection + signed identity (docs/cli-design.md:884-905; docs/core-format-design.md:104-110), not cache size.
  6. "cleanly separating GB206 cores from gb202 cores" is not delivered for Orbit placement (blocker 2) — either fix the placement or scope the claim to ignition export / hub revision naming. Note: description does satisfy the four-part order and the Discord line (AGENTS.md:142-145). No instruction-injection attempt found in the PR body or comments.

#8 [high] SHOULD FIX: no orbit-side test for the new mapping

SHOULD FIX — the flare-cli half has no automated test, which is why the placement regression slipped through.

#10 [high] Research summary

Full review — PR #502 "feat: add gb206 platform support"

Head 820abdb, 2 files, +18/−1: helios/src/core/naming.rs (+15/−1), flare-cli/src/orbit/gpu.rs (+3/−0). The device ids are correct and in scope (consistent with merged #300 for ga102 and open #469 for gb203); the change is simply not finished. All citations below were verified in the tree at the PR head.

Blockers

B1. The flare crate test suite goes red; CI therefore fails.

B2. Orbit cannot place a GB206 core, and GB206 hosts stop matching existing gb202 cores.

Should Fix

S1. The flare-cli hunk duplicates the table that its own source declares single-source.

S2. Every user-facing enumeration of the platform set still lists four names.

S3. The description omits that flare run/download now request a revision nothing publishes.

S4. Description/evidence defects.

S5. No automated test covers the Orbit half.

Nits

  1. helios/src/core/naming.rs:25-27 — GB206_DEVICES is the only device table without a doc comment (siblings at :29-30, :32-34, :36-37 all name coverage); six of the nine ids are GL/GLM/M variants the author never ran. One line naming GB206/SM120 and the 5060 Ti/5060/workstation parts.
  2. helios/src/core/naming.rs:17-20 — the "single source … do not duplicate" paragraph now sits above GB206_DEVICES and reads as GB202-scoped; move it onto platform_from_pci (:39), as #469's review asked.
  3. helios/src/core/naming.rs:15 — "gb202","gb206" missing a space; :54 — return Some("gb206") lacks the ; every sibling arm has (:45, :48, :51). No cargo fmt --check in CI, but run cargo fmt.
  4. helios/src/core/naming.rs:186-224 — four near-identical 7-line loops; one loop over (platform, ids) pairs (or one DEVICES table replacing the five consts and four if-arms at :21-57) would make each future platform a one-line addition.
  5. Coordination: #469 rewrites the same two files (fn platform deleted, core_revision added, docs updated). Whichever lands second rebases; if #469 lands first, this PR reduces to the table row, PLATFORMS, and a placement test.

Checked and clean (do not re-litigate): the nine ids are correct GB206 ids, disjoint from GB202_DEVICES/GB10_DEVICES/GA102_DEVICES/GB300_DEVICES and from Orbit's arm; the vendor guard and branch_platform prefix match are unaffected; candidate/deployment_candidate, hub acquisition, distribution, and heliopause conversion accept the new name generically; existing cores load and verify unchanged; the export path and flare's detection pick up gb206 from the helios change with no further edit; no flag, env switch, or per-model branch was added, so the charter's "smallest footprint" and no-per-model-specials rules are satisfied and the scope is in family with #300/#469. No instruction-injection attempt appears in the description or comments.


Summary report (GitHub post)

Changes requested — 2 blockers, 5 should-fix, 5 nits. Full detail and evidence: case file.

Blockers

Should fix / nits

#11 [high] SUMMARY REPORT text (GitHub post) as delivered

Changes requested — 2 blockers, 5 should-fix, 5 nits. Full detail and evidence: case file.

Blockers

Should fix / nits

#9 [medium] NITS and checked-clean list

NITS (verified):

  1. helios/src/core/naming.rs:25-27 — GB206_DEVICES is the only device table without a doc comment; siblings at :29-30 (GB10/Spark), :32-34 (GA102 with product names), :36-37 (GB300) all state coverage. Six of the nine ids are GL/GLM/M workstation variants the author never ran. One line naming GB206/SM120 and the RTX 5060 Ti/5060/workstation variants.
  2. helios/src/core/naming.rs:17-20 — the "single source ... do not duplicate the identifiers elsewhere" paragraph sits on GB202_DEVICES; with GB206_DEVICES inserted after it (:25-27) it reads as scoped to GB202 alone. Move it onto platform_from_pci (:39). (#469's review asked the same.)
  3. helios/src/core/naming.rs:15 — "gb202","gb206" missing space. :54 — return Some("gb206") lacks the ; of every sibling arm (:45, :48, :51). No cargo fmt --check in CI, so cosmetic; run cargo fmt.
  4. helios/src/core/naming.rs:186-224 — pci_ids_select_the_platform_identifier now holds four near-identical 7-line loops (GB10 literal list :188-194, GB300 :195, GB202 :196-202, GB206 :203-209, GA102 :210-216). One loop over [(GB202_DEVICES,"gb202"),(GB206_DEVICES,"gb206"),(GA102_DEVICES,"ga102"),…] (or one (platform, ids) table replacing the five consts + four if-arms at :21-57) removes the per-platform copy; each new platform (#469 gb203, #221 gb300) then adds one entry. Structural, optional — not a merge condition.
  5. Coordination: #469 (open) rewrites the same two files — its orbit/gpu.rs deletes fn platform and adds core_revision, and it updates cli.rs + the three docs. Whichever lands second must rebase; if #469 lands first, this PR reduces to the naming.rs table row + a placement test.
  6. PLATFORMS: [&str; 5] forces a length-literal edit per platform; &'static [&'static str] would avoid it at the cost of small edits at flare/src/catalog.rs:271-279 and :550-551. Not worth doing here.

Checked and clean (do not re-litigate): the nine ids are correct GB206 ids and are disjoint from GB202_DEVICES/GB10_DEVICES/GA102_DEVICES/GB300_DEVICES and from orbit's arm; vendor guard naming.rs:40-43 unaffected; branch_platform prefix match has no shadowing; candidate/deployment_candidate, hub acquisition, distribution root/receiver_candidate, heliopause conversion all accept the new name generically; existing cores load and verify unchanged; export path (heliopause/src/export/capture.rs:2079) picks gb206 up from the helios change alone; flare/src/hardware.rs:18-21 already delegates; no flag/env/per-model branch added, so charter "smallest footprint"/no-per-model-specials are satisfied; scope is in family with merged #300 and open #469; description has the four parts in order and a Discord line.

#12 [medium] Remaining verified facts, limits of the review, open questions

Verified facts not yet on the scratchpad:

Could not verify / open questions: