#1 [high] Blocking: flare crate test published_build_match_uses_all_platform_branches fails once PLATFORMS grows to 5
helios/src/core/naming.rs:15 (PR) grows PLATFORMS from 4 to 5 entries by adding "gb206".
flare/src/catalog.rs:549-569 published_build_match_uses_all_platform_branches loops for target in flare_helios::core::naming::PLATFORMS and, after the per-platform inner loops, feeds one hardcoded 4-branch fixture (ga102-tp1, gb10-tp1, gb202, gb300-tp8, catalog.rs:561-563) to apply_refs, then asserts entry.build_target_match == Some(true) (:566) and that select_revision(...) resolves to target (:567).
For target == "gb206": apply_refs (catalog.rs:315-322) builds platforms = {ga102, gb10, gb202, gb300}, so build_target_match = Some(false) -> assert at :566 fails; and select_revision (catalog.rs:292-303) finds no gb206 branch and falls back to the first branch (ga102-tp1), so branch_platform(...) == "ga102" != "gb206" -> assert at :567 fails.
This suite is a CI step: .github/workflows/native-serving.yml:77 cargo test --locked --release --manifest-path flare/Cargo.toml. The PR description only cites helios and flare-cli test runs, which is consistent with the failure being missed.
Fix: add {"name": "gb206-tp1"} (and ideally every PLATFORMS name) to the fixture at catalog.rs:561-563, as merged #300 did for ga102 and open #469 does for gb203.
Precedent: review of #469 lists exactly this fixture as a blocker.
#2 [high] Blocking: GB206 hosts report gb206 in Orbit but gb206 cores are described as needing gb202, so they never place
Change in flare-cli/src/orbit/gpu.rs:319-321 makes platform() (and therefore revision(), gpu.rs:297-307) return "gb206" for the 9 new PCI ids, and the agent publishes that string in STATUS (flare-cli/src/orbit/agent.rs:1650).
The core side is unchanged: describe() derives the required revision from the deployment's compute capability, super::gpu::capability_revision(first.architecture[0], first.architecture[1]) (controller.rs:2294), and capability_revision (gpu.rs:224-231) has no gb206 arm: (12,0) -> "gb202", (10,3) -> "gb300", else sm{major}{minor}.
plan::unfit compares exact strings: if gpu.revision != revision (plan.rs:693-696), and repository_revision also refuses mixed revisions (controller.rs:2220-2232).
Consequence: a gb206 core (signed hardware_identity: "gb206", deployment gb206-tp1, exported by heliopause/src/export/core.rs:656-664) can never be placed by Orbit on the very host that produced it: every candidate GPU is rejected as "gpu 0 ... is gb206, not gb202". Symmetrically, a GB206 host in Orbit no longer matches a gb202 core, which it did before this diff (previously platform() returned None for these ids, so revision fell through to the 12.0 capability arm "gb202" and matched).
helos load-time validation would not catch the reverse case either: the arch gate compares only compute capability (helios/src/runtime_core/mod.rs:337-346), so gb202 and gb206 cores are interchangeable at load — the label is the only discriminator, and it is now inconsistent between the two sides.
Fix: take the core's revision from the signed device identity when it is a PLATFORMS name (AuthorizedCore::identity()?.hardware, helios/src/runtime_core/model.rs:1392-1405) and keep capability_revision only for legacy cores (empty hardware, model.rs:1358-1390), i.e. exactly what open PR #469 does for gb203 (see #469 description and its orbit/gpu.rs core_revision).
#7 [high] Research summary
Reviewed both changed files in context through the correctness lens, following every consumer of PLATFORMS and platform_from_pci (flare detection, hub revision selection/naming, catalog discovery, Orbit agent/controller/plan, heliopause export, distribution naming). Six notes on the scratchpad: two blockers and two should-fix items, plus nits.
Blockers: (1) adding gb206 to PLATFORMS fails the flare crate's published_build_match_uses_all_platform_branches test (hardcoded four-platform fixture) — a CI step the PR description does not cover; (2) the Orbit agent now reports gb206 while describe() still derives a core's revision from compute capability (12,0) -> gb202, and plan::unfit compares strings exactly, so a gb206 core cannot be placed on the gb206 host that exported it and gb206 hosts stop matching gb202 cores.
Should fix: the new arm duplicates the PCI table that naming.rs declares the single source (that copy already disagrees on 0x2bbc), and detecting gb206 converts a clear "unsupported PCI ID" error into a missing-branch hub 404 with no merge-order note in the description. Nits: stale four-platform enumerations in CLI help, two doc comments and four docs; missing semicolon/spacing and no literal-id or Orbit-side test for the new ids. The ID list itself and the untested-hardware disclosure are as the description states.
#8 [high] Summary: correctness review of PR #502 (gb206), findings by severity with file:line
PR NVIDIA/hyperflare-inference#502 "feat: add gb206 platform support", head 820abdb, 2 files, +18/-1: helios/src/core/naming.rs and flare-cli/src/orbit/gpu.rs. Lens: correctness (all callers, configurations, persisted state, compat).
BLOCKING
flaretest breaks (CI step native-serving.yml:77).PLATFORMS4->5 (naming.rs:15) vs hardcoded 4-branch fixture in flare/src/catalog.rs:549-569 (fixture :561-563, asserts :566-567). Details in entry 1.- Orbit placement: agent reports
gb206(orbit/gpu.rs:319-321 via revision() :297-307, published at agent.rs:1650) whiledescribe()sets the core's revision fromcapability_revision(controller.rs:2294; gpu.rs:224-231 -> (12,0) "gb202"), andplan::unfitcompares strings (plan.rs:693-696). gb206 core never places; gb206 host stops matching gb202 cores it matched before. Load gate only checks compute capability (runtime_core/mod.rs:337-346), so nothing else catches it. Details in entry 2.
SHOULD FIX
3. Duplicated PCI table in orbit/gpu.rs:310-324 despite naming.rs:17-20 "single source ... do not duplicate"; the two copies already disagree (0x2bbc). Entry 3.
4. Behaviour/communication: gb206 detection replaces "unsupported PCI ID, specify --revision" with a gb206 (then gb206-tp1) hub 404 (hub.rs:314-317, :3110-3122); merge order and the --revision gb202 override are not stated in the description. Entry 5.
NITS
5. Stale four-platform enumerations: cli.rs:175; orbit/gpu.rs:38 and :222-223; orbit/plan.rs:38-39; docs/cli-design.md:887,890,923; docs/core-format-design.md:753-754; docs/orbit.md:321. Entry 4.
6. Style/coverage: naming.rs:54 missing ;, naming.rs:15 missing space; no literal-id assertion beside the looped test (contrast gb10 :188, gb300 :195); no orbit/gpu.rs test for any gb206 id. Entry 6.
Charter/rules cited: AGENTS.md required-PR-description scheme and "Reject weakened guarantees"/"Require focused, meaningful validation"; charter "Keep the runtime small" and "Check interactions across ... every hardware target"; docs/design-review.md principle 12 (validate the real path, disclose unrun checks) and principle 13 (core compatibility). No design-doc rule is violated by the table addition itself.
#3 [medium] Should fix: duplicated PCI table in flare-cli/src/orbit/gpu.rs contradicts naming.rs's "single source" rule
flare-cli/src/orbit/gpu.rs:310-324 now holds a second copy of the PCI table that helios/src/core/naming.rs:25-27 defines, even though naming.rs:17-20 states "This table is the single source consumed by Flare's device detection and by core export naming; do not duplicate the identifiers elsewhere."
Note that GB202_DEVICES in naming.rs:21-23 has 9 ids, and orbit/gpu.rs:316 lists 10 (it adds 0x2bbc). The two tables already disagree for gb202; the new gb206 arm replicates this drift pattern rather than inheriting platform_from_pci.
flare-cli already depends on the shared table elsewhere through flare (flare-cli/src/hardware.rs:2 re-exports flare::hardware::detect, flare/src/hardware.rs:18-21 delegates to platform_from_pci), so the duplicate in orbit/gpu.rs could call flare::hardware / flare_helios::core::naming::platform_from_pci directly.
Fix: call flare_helios::core::naming::platform_from_pci from orbit/gpu.rs and delete the private match, as #469 does ("the private copy of the table is gone").
Severity: should fix (maintainability + already-diverged table; not a new runtime defect by itself).
#4 [medium] Nit: stale four-platform enumerations in cli.rs help, orbit/gpu.rs, orbit/plan.rs, docs/cli-design.md, docs/core-format-design.md, docs/orbit.md
Docs still enumerate four platform names. After this PR the set is ga102, gb10, gb202, gb206, gb300 (helios/src/core/naming.rs:15), and detection now returns gb206 for the new ids in both flare (flare/src/hardware.rs:18-21 -> naming::platform_from_pci) and Orbit (flare-cli/src/orbit/gpu.rs:319-321).
Stale places verified in code:
- flare-cli/src/cli.rs:175:
--revisionhelp text "detects ga102, gb10, gb202, or gb300" — printed byflare run --help. - flare-cli/src/orbit/gpu.rs:38 and :222-223: doc comments list
gb10,gb202,gb300. - flare-cli/src/orbit/plan.rs:38-39: same enumeration for
Needs::revision. - docs/cli-design.md:887, :890, :923.
- docs/core-format-design.md:753-754.
- docs/orbit.md:321: "(gb10, gb202, gb300 from the PCI device id or compute capability)". The PR touches no docs. AGENTS.md requires docs to describe present qualification, and the project's own convention (#300, #469) is to update these enumerations when a platform is added. Severity: nit (text only), but it is the same list of files #469 was told to fix.
#5 [medium] Should fix: GB206 hosts silently change from a clear error to a missing gb206 branch; merge order not stated
Before this PR, a GB206 card (e.g. RTX 5060 Ti, 0x2d04) was unknown to platform_from_pci, so flare run ORG/MODEL failed early with "GPU N has unsupported PCI ID 0x...; specify --revision" (flare/src/hardware.rs:95-100) — an actionable message.
After: detect() returns "gb206" (naming.rs:53-56), so download_for_model_at builds Repo::with_revision(id, Model, "gb206") (flare/src/hub.rs:314-317, :393) and, on 404, retries gb206-tp1 (hub.rs:3110-3122). No repository publishes a gb206 branch today, so the run now fails with a hub missing-revision error instead — strictly worse as a user experience until a gb206 core is published, and gb206 hosts lose the option of silently using an existing gb202 core (nothing in the loader rejects it: helios/src/runtime_core/mod.rs:337-346 compares only compute capability, both are (12,0)).
This is the merge-order/limitation issue that open PR #469 was asked to state in its description. Here the PR description does not state it either.
Severity: should fix (description) — state that --revision gb202 remains the explicit override and that flare run ORG/MODEL requests a gb206 branch that does not exist until one is published. Do not add a silent fallback (AGENTS.md: do not silently substitute execution paths).
#9 [medium] Checked and found sound: what the change does not break (evidence for "no other findings")
Verified in code, no defect found:
- The 9 ids in GB206_DEVICES (naming.rs:25-27) and in the orbit/gpu.rs arm (:319-321) are identical and mutually disjoint from GB202_DEVICES (naming.rs:21-23), GB10_DEVICES (:30), GA102_DEVICES (:34), GB300_DEVICES (:37).
platform_from_pcivendor guard (naming.rs:40-43) still rejects non-NVIDIA ids, and the new check is placed before the gb202 fallback (:53-56) with no ordering hazard. PLATFORMSprefix matching is unambiguous with the new name:branch_platform(catalog.rs:271-280) compares equality orstrip_prefix+-, so no PLATFORMS entry is a prefix of another with a following '-' ambiguity ("gb202"/"gb206"/"gb300" all diverge within the digits).- Entry naming accepts the new platform without other changes:
candidate(naming.rs:76-84),deployment_candidate(:108-131), used by distributionroot()(flare-cli/src/distribution.rs:159-163),receiver_candidate(distribution.rs:717-727), hub acquisition (signed_hardwarehub.rs:2455-2515,acquisition_candidate:2517-2525, legacy import :2962-2968) and heliopause conversion (conversion.rs:386-417). - Export side needs no change:
current_platformalready callsplatform_from_pciand errors on unknown ids (heliopause/src/export/capture.rs:2079-2085); export of a gb206 core now yieldshardware_identity: "gb206"and deploymentgb206-tpN(core.rs:656-664). - Existing artifacts stay loadable: signed
hardware_identityof already-published cores is unaffected; no bootstrapping/format change;unknown-devicelabelling path untouched (naming.rs:91-101). - Panel/documentation claims in the PR description about the id source (pci.ids) and untested ids are consistent with AGENTS.md's disclosure requirement; the description's four-part structure is present.
- No environment variables, resource lifetimes, concurrency, or persisted-state transitions are touched by this diff; both changed functions are pure lookups.
#6 [low] Nit: style slips and thin test coverage for the new table
Verified in the diff (helios/src/core/naming.rs, flare-cli/src/orbit/gpu.rs):
- naming.rs:54
return Some("gb206")lacks the terminating;that every neighbouring arm has (:45, :48, :51). It compiles (tail-less return) but rustfmt would rewrite it; the file is otherwise rustfmt-clean. Also naming.rs:15"gb202","gb206"is missing the space after the comma. - No literal PCI id assertion beside the looped table test. naming.rs:203-209 tests
for device in GB206_DEVICES, which cannot catch a wrong id inside the constant. The #221 review asked for literal assertions, and the existing test does assert literals for gb10 (:188) and gb300 (:195). The gb206 loop withdevice << 16 | 0x10dealso cannot catch a missing vendor guard. - flare-cli/src/orbit/gpu.rs gets no test at all:
revision/platformtests (:352-367) do not cover any gb206 id, so the Orbit half of the mapping is asserted only indirectly. - Untested hardware is disclosed in the description (only 0x2d04 validated) — consistent with AGENTS.md's "disclose material limitations".