docs(design): ADR-028 add fabric selection in recipes #3506
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3506"
general
weight: 0.35
yuanchen8911
Summary
Adds ADR-028, which records the scale-out fabric (
efa | ib | roce | tcpxo) as a recipe-time fact by extending the existinggpuStackprofile with a reservedfabricmarker. Design only; no code or overlay changes.Motivation / Context
The same accelerator ships behind different fabrics (GB300 is EFA on AWS, InfiniBand on Azure, RoCE on GKE and Spectrum-X racks). NVCRE needs AICR to say which fabric a recipe targets so it can render the NCCL certification workload correctly (cluster-readiness-engine#576). The recipe is a design-time artifact, so the answer cannot come from runtime detection. The ADR compares a new criteria dimension, a second profile, extending
gpuStack, and detection, and picks extendinggpuStackas the cheapest option. It keeps every ADR-015 invariant but one: the declaration-uniqueness rule gains a narrow case where a leaf declaration shadows an inherited one, needed so OKE can add a fabric-marked GB300 leaf without touchingoke-ol.yaml.The bottom line the ADR is built around: no existing recipe changes a byte. Fabric enters a recipe only when an overlay family gains its second fabric value, as a versioned change with refreshed evidence.
Fixes: N/A
Related: #3503
Type of Change
Component(s) Affected
docs/,examples/)Implementation Notes
gpuStackvalue may encode and by letting a leaf declaration shadow an inherited one, defined by ancestry over maximal-leaf chains on every resolver path (pre-filter, post-filter, and direct overlay load). ADR-015 itself is not edited in this PR; it receives its "Amended by ADR-028" banner at acceptance.gcp-driver-installerdoes), with the per-fabric policy manifests kept on the existingnetwork-operatorref so the live CR stays in thenetwork-operator-postrelease and no deployer migrates ownership. The RoCE side'sIPPooland network objects ride in a gated manifest-only companion component ordered afternetwork-operatorbehind the existing readiness gate, as NVKE'ssriov-ib-networksdoes, because theIPPoolCRD does not exist until the policy is reconciled. The bundler emits that gate unconditionally for compositions whose companion renders objects, from the CLI and the API, since the flag is opt-in today and the API cannot request it; the API gate image is pinned to the release tag, overridable and mirrorable, with the CLI reference updated in the same step. Helmfile, Flux and Fleet take no readiness hooks and use a staged install documented in the bundling guide for the converted family. Where the RoCE shape uses the SR-IOV Network Operator, the value also enables the chart's subchart and the companion path carries thesriovmarker the resource reader keys on; live switches between fabric values are a stated non-goal because subchart CRDs install only on a fresh release. The split-component placement is the single costed fallback, including the Helm re-label and Argo CD finalizer steps it would need; the chart-values route cannot render a policy at the pinned chart. The readiness predicates need no change under this placement; the resource reader already renders through the gate and gains a test covering the companion.FabricOffunction and never persisted, which is what keeps unchanged families byte-identical.FabricOferrors on any disagreement between a declared marker and the composition, at catalog load, again on the snapshot-filtered composition at resolution, and in the evidence verifier. OnlyselectedProfile.fabricis new on the wire, and only where a declaration carries the marker.FabricOffrom the bundle's recipe bytes and the compiled table alone; digests are checked only at catalog load, and retired rows keep deriving by path. An append-only golden of the table enforces row permanence. External--datacatalogs feed derivation nothing: an unknown path is not a signal, a same-path override keeps the embedded row's fabric (a fabric change ships a new path in a replacement overlay), and an external composition that derives unset loses only the NVCRE checks, which report not applicable; nothing fails at catalog load for it and its TrainJob checks run as today. One that inherits an embedded signal is held to that fabric's transport accept list like any embedded leaf, and a marker conflicting with an inherited signal fails load as it would anywhere.recipe-evidence/v4predicate as a top-level field, bound to the component names, manifest paths and gate values the recipe carries; no evidence artifact binds manifest content, which is why a fabric change is always a new path. v1 through v3 statements carry no claim and verify under their original rules, so committed pointers stay verifiable.aicr upgrade-checkflags a fabric change between two recipes as requiring a fresh install of the target value, since live fabric switches are a non-goal.ValidationInput.Fabricfield, asGPUAllocationPolicyis carried today; every Certification-creating NVCRE check (nccl-cre-all-reduce-bwandcre-training-goodput) reports not applicable when it is empty rather than letting NVCRE detect, creates the Certification with strict field validation against a pinned NVCRE that knowsspec.fabric, and reads the field back before trusting a result. The qualification key gains a fabric dimension for both. Thefabricvocabulary is enforced on every decode inValidateProfileContract, besideadvertiser, not only at catalog load.--profilethe declared default is selected and its distinguishing constraint evaluated, with the remediation naming the matching value; the adoption plan carriesRemediationinto the generation-path failure, which today reports only name, expected, and actual. The signals the ADR needs are not addressable today (linkTypeis a Context key the constraint catalog rejects); the adoption plan names that measurement work.gpuStackdeclaration onoke-ol.yamlcovers IB, RoCE, network-less, and accelerator-less OKE compositions, so a fabric marker cannot be added there, and moving it per accelerator would drop the accelerator-less coordinates toaicr.run/v1withoutselectedProfile. The ADR instead amends the ADR-015 uniqueness rule with one narrow case: a leaf declaration shadows an inherited one whole. The new OKE GB300 leaf declares its own markedgpuStack; every other OKE composition stays byte-identical.aicr.run/v1beta1toaicr.run/v1beta2and the resolved result fromaicr.run/v1toaicr.run/v1beta2, served on the existing/v1endpoints.v1beta2is decoded strictly, so the schema change ships at least one release before the first marked family. New evidence lands under the-gpustack-<value>coordinate while the pre-conversion pointers stay as the record of the old recipe, as the AKS conversion did; each conversion ships an upgrade test from a pre-conversion bundle and a fresh install of each value on every deployer.NCCL INFO Using networkbanner against an accept list on runtimes that log at INFO (AWS Libfabric,IB); TCPXO is guarded by the existing worker-pod watch because the GKE H100 runtime logs at WARN.main.Testing
Doc-only change, so full
make qualifywas not run: tests, e2e, and Go lint cannot regress from a new Markdown file. The MDX and shell-placeholder docs gates could not run locally (npm cache permission) and are exercised by thedocs-mdxmerge-gate job, which passes on the branch. The one relative link in the ADR (015-recipe-configuration-profiles.md) resolves.Risk Assessment
Rollout notes: N/A
Checklist
make testwith-race)make lint)git commit -s -S) — GPG signing info