Repository navigation
docs: v0.19 doc sweep — fix drift, stale versions, broken commands - #2148
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughThe pull request updates documentation for qualification and maintenance workflows, tool and release versions, provenance requirements, supported environments, API and CLI options, validator behavior, deployment configuration, demos, test procedures, and operational tools. It also adds documentation navigation entries and release verification guidance. Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 12
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/actions/README.md:
- Around line 72-74: Update the README’s “Outputs” description to claim only the
outputs explicitly defined in load-versions/action.yml, removing the assertion
that every .settings.yaml pin is exposed and the broad examples that imply
omitted pins are included.
In `@demos/cuj2-inference.md`:
- Line 120: Update the GKE aicr validate command to include the
nvidia.com/gpu=present:NoSchedule toleration alongside the existing
dedicated=gpu-workload:NoSchedule option, matching the tolerations used by the
GKE bundle so validation pods can schedule on GPU pools with both taints.
In `@demos/images/e2e.md`:
- Line 25: Update the Step 2 bundle command or its accompanying artifact
description so they agree on attestation behavior: either add the --attest
option to the aicr bundle invocation, or remove the claim that the generated
artifacts include Cosign attestations.
In `@DEVELOPMENT.md`:
- Around line 221-224: Update the DEVELOPMENT.md lint documentation to clarify
that make lint invokes the mutating license target and may modify files. Change
the make license description from “License header check” to “Add/verify license
headers,” and distinguish license-check as running only through make qualify.
- Around line 57-62: Update the tool summary table in DEVELOPMENT.md to match
the tools installed by make tools-setup: either add pinned installation paths
for both kwok and cosign, including the macOS Cosign brew installation, or
remove their entries and related claims from the table.
In `@docs/index.yml`:
- Around line 129-130: Run the repository’s required full qualification checks
for YAML changes, including the applicable **/*.{go,yaml,yml} gates and make
qualify, and complete them successfully before submitting or updating the pull
request.
In `@docs/integrator/go-library.md`:
- Line 34: Run the repository-wide make qualify check before merging this
documentation change; if it cannot be run, record an approved exception as
required by the repository guidelines.
In `@docs/user/cli-reference.md`:
- Line 1417: Remove the standalone --wait-for-jobs entry from the CLI reference
and document its behavior under the --readiness-hooks option instead. Explain
that Helm uses --wait for post-install Job hooks, Argo CD uses sync waves and
built-in Job health, and the gate is emitted only for components containing
readiness.yaml.
In `@RELEASING.md`:
- Line 233: Update all seven attestation verification commands in RELEASING.md
to reference each image’s authoritative immutable digest instead of the mutable
${TAG} tag, and add --source-digest with the release commit for every command
while preserving the existing repository and signer-workflow options.
In `@SECURITY.md`:
- Around line 76-81: Update the SECURITY.md support table to treat 0.18.x as the
latest supported minor release and keep versions below 0.18 end-of-life. Do not
reference 0.19.x or mark 0.18.x end-of-life until v0.19.0 is officially
published.
In `@tests/chainsaw/README.md`:
- Around line 24-25: Create the dist/e2e directory with mkdir -p immediately
before the go build command in the test setup instructions, ensuring the
existing AICR_BIN assignment and build flow remain unchanged.
In `@tools/bom/README.md`:
- Around line 52-53: Update the make bom target to pass the -deterministic flag
to the BOM generation command, matching make bom-docs, so generated artifacts
omit run-specific metadata by default.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Enterprise
Run ID: 4b83d4f2-bf18-4e4a-bcea-51178ea38dbc
📒 Files selected for processing (35)
.claude/CLAUDE.md.github/actions/README.mdAGENTS.mdCONTRIBUTING.mdDEVELOPMENT.mdREADME.mdRELEASING.mdSECURITY.mddemos/README.mddemos/cuj1-slinky-slurm.mddemos/cuj1-training.mddemos/cuj2-inference.mddemos/images/e2e.mddemos/private-signing.mddemos/validation-acceptance.mddocs/contributor/recipe.mddocs/index.ymldocs/integrator/go-library.mddocs/integrator/index.mddocs/integrator/kubernetes-deployment.mddocs/integrator/validator-extension.mddocs/user/agent-deployment.mddocs/user/air-gap-mirror.mddocs/user/api-reference.mddocs/user/cli-config.mddocs/user/cli-reference.mddocs/user/index.mdexamples/recipes/README.mdpkg/validator/v1/README.mdrecipes/README.mdtests/chainsaw/README.mdtests/chainsaw/ai-conformance/README.mdtests/e2e/README.mdtools/bom/README.mdtools/uat-broker/README.md
💤 Files with no reviewable changes (1)
- tests/e2e/README.md
3679c06 to
d1bd105
Compare
There was a problem hiding this comment.
Actionable comments posted: 4
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/actions/README.md:
- Around line 72-75: Update the Outputs description in the README to explicitly
include the Go version loaded from .go-version, while retaining that the
remaining outputs are selected exposed values from .settings.yaml and
referencing load-versions/action.yml as the authoritative list.
In `@demos/cuj2-inference.md`:
- Around line 134-135: Update the bundle-generation instructions in the
Nodewright deployment section to pass --set nodewright-operator:enabled=false
and --set nodewright-customizations:enabled=false to aicr bundle when those
components are preinstalled, and remove the guidance to edit or skip sections in
generated deploy.sh. Keep generated files and their checksums unchanged after
bundling.
In `@demos/images/e2e.md`:
- Line 48: Run the repository’s full qualification workflow, including coverage,
linting, tuning, end-to-end, vulnerability, license, and API-diff checks, rather
than only the scoped deployment/conformance/performance validation shown in the
command. Resolve any failures before merge.
In `@DEVELOPMENT.md`:
- Line 27: Run the repository’s full qualification workflow with make qualify
before submitting the pull request, or obtain and record an approved exception
before merge.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Enterprise
Run ID: 7c4d3e1d-31e6-4e4c-b1cf-5b61524096c7
📒 Files selected for processing (5)
.github/actions/README.mdDEVELOPMENT.mddemos/cuj2-inference.mddemos/images/e2e.mddocs/user/cli-reference.md
d1bd105 to
bf0b8f7
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@RELEASING.md`:
- Line 177: Run make qualify before merging and record its result in the release
documentation or PR description, including any failures that must be resolved
before submission.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Enterprise
Run ID: 75cdab3a-e23e-4e25-b13c-b02041dfc86f
📒 Files selected for processing (2)
README.mdRELEASING.md
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@demos/cuj1-slinky-slurm.md`:
- Line 205: Replace both Nodewright override keys with nodewright-operator and
nodewright-customizations in the bundle-generation instructions at
demos/cuj1-slinky-slurm.md lines 205-205, demos/cuj1-training.md lines 140-140,
and demos/cuj2-inference.md lines 134-135; keep the enabled=false values and
surrounding guidance unchanged.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Enterprise
Run ID: 3bfb10d1-41e5-48f5-a0c6-f0a60c87c5f4
📒 Files selected for processing (5)
demos/cuj1-slinky-slurm.mddemos/cuj1-training.mddemos/cuj2-inference.mdtests/chainsaw/ai-conformance/README.mdtools/uat-broker/README.md
dd62f17 to
7768d98
Compare
mchmarny
left a comment
There was a problem hiding this comment.
One cross-file finding without a changed-line anchor: the criteria-enum sweep is incomplete. metal3 and/or gb300 are still absent from the public package GoDoc, field comments, CLI description, and bug template. Please update these remaining documented-value surfaces so they match the authoritative criteria enums.
| configuration: # typed desired-state inputs (not matched on) | ||
| slurm: | ||
| accounting: | ||
| mode: disabled # disabled | customer-managed | aicr-provided |
There was a problem hiding this comment.
This makes the complete example invalid: the same recipe sets platform: kubeflow, while any explicit Slurm accounting mode is rejected unless the platform is slurm. Reproducing this through aicr recipe returns INVALID_REQUEST (exit 2). Please move this block to a Slurm-specific example or comment it out so the complete example remains usable.
There was a problem hiding this comment.
Confirmed and fixed in 4163de2 — verified in pkg/recipe/accounting.go:108-112 that an explicit mode (even disabled) is rejected unless criteria.platform is slurm. The Complete Example now carries the block commented out with an "only valid when criteria.platform is slurm" note, and the spec.recipe field-table row states the same constraint. Thanks, Mark.
7768d98 to
4163de2
Compare
Pre-v0.19.0 documentation-only sweep. Fixes verified against the authoritative sources (Makefile, .settings.yaml, pkg/recipe/criteria.go, api/aicr/v1/server.yaml, recipes/registry.yaml, pkg/cli, pkg/validator): - Enum drift: add metal3, gb300, l40s, ol where missing from documented criteria value lists (README, api-reference, contributor/recipe, agent-deployment) - Broken commands: aicr version -> aicr --version; invalid short flags in demos/images/e2e.md; removed --deploy-agent row; wrong --system-node-selector value in validation-acceptance - Stale versions: SECURITY.md supported-versions table (0.16.x -> 0.19.x), gpu-operator/nfd pins in air-gap and provenance examples, go-library go get pin, agent image tags, ministack pin, action defaults; replace the hand-pinned tools-check sample output with a version-free skeleton - make-target drift: correct qualify/lint compositions everywhere they are described; add missing bump-rc/bump-promote, kwok, and license-check rows to DEVELOPMENT.md tables (CLAUDE.md + AGENTS.md mirror resynced) - Contradictions vs code: validator-extension warn-and-continue claim (now fail-closed per NVIDIA#2121), kubernetes-deployment 'only env vars' claim, SLSA level hedge in CONTRIBUTING (NVIDIA#1536 resolved as L3), validate phase order (deployment, conformance, performance) and the non-phase 'readiness' in three files - RELEASING.md: document the 7th released image (aicr-gate) and its attestation verify line - Reference/nav gaps: --wait-for-jobs flag row, spec.recipe.configuration in cli-config, Fern nav entries for tutorial/bundling/evidence-dashboard-publish, user index rows - Link/format fixes: broken recipes/README anchor, misaligned ASCII diagram, missing demo table rows, minor wording Signed-off-by: Yuan Chen <[email protected]>
4163de2 to
f2d60c0
Compare
Pull request was converted to draft
|
yes f2d60c0 is the PR head, no more changes, sorry |
Summary
Documentation-only sweep ahead of the v0.19.0 release: fixes verified drift against code and pinned versions, broken documented commands, stale release references, contradictions with current behavior, and navigation gaps. 35 files, no code changes.
Motivation / Context
Pre-release doc health pass for v0.19.0 (current RC: v0.19.0-rc1). Three parallel audits covered
docs/(user/integrator/contributor), root/governance docs, anddemos/+ package READMEs; every fix below was verified against its source of truth before applying.Fixes: N/A
Related: N/A
Type of Change
Component(s) Affected
docs/,examples/)demos/,.github/actions/README.md, package/test READMEs,docs/index.yml(Fern nav)Implementation Notes
Enum drift (checked against
pkg/recipe/criteria.go,pkg/recipe/oskind,api/aicr/v1/server.yaml): addedmetal3,gb300,l40s, andolwhere missing from documented criteria value lists (README dimensions table, API reference, contributor recipe doc, agent-deployment).Broken documented commands:
aicr version→aicr --version; thedemos/images/e2e.mdcommands fixed end to end (invalid short flags-a/-i/-p/-freplaced,--service eks --os ubuntuadded so the recipe criteria actually resolve to a leaf,--attestadded to match the attestation caption); removed the nonexistent--deploy-agenttest-suite row;--system-node-selectorindemos/validation-acceptance.mdpassed a taint value instead of the node label.Stale versions:
SECURITY.mdsupported-versions table bumped 0.16.x → 0.19.x (timed to this release — merge with/after v0.19.0 final, or I can hold it at 0.18.x); gpu-operator/nfd pins in air-gap and provenance examples (→ v26.3.3 / v0.19.0 perrecipes/registry.yaml);go getpin in the Go-library guide; agent image tag examples; ministack image pin (.settings.yaml); two action defaults in.github/actions/README.md. ReplacedDEVELOPMENT.md's hand-pinnedtools-checksample output with a version-free skeleton pointing at.settings.yamlso it can't re-drift.Make-target drift:
make qualify/make lintcompositions corrected everywhere they are enumerated (DEVELOPMENT.md×3,CONTRIBUTING.md,.claude/CLAUDE.md+AGENTS.mdmirror resynced viatools/check-agents-sync); added missingbump-rc,bump-promote,kwok-*, andlicense-checkrows;CONTRIBUTING.mdnow links the make-targets table instead of re-enumerating the gate (kills a recurring drift source).Contradictions with current code:
validator-extension.mdstill described the pre-#2121 warn-and-continue behavior for unknown check names (now documents the fail-closedaicr validateexit 2, explicitly distinguished from the validator-container exit-code contract);kubernetes-deployment.mdclaimed the allowlist vars are "the only environment variables the API server reads" (signing env vars exist);CONTRIBUTING.mdstill hedged the SLSA level on #1536 — now states image Build Level 3 via the reusable attestation workflow since v0.17.0, plus Build Provenance v1 for CLI binaries; validate phase order corrected to deployment → conformance → performance (pkg/validator/phases.go), and "readiness" removed as a phase inexamples/recipes/README.md.Demo/tooling guidance corrected against behavior: the "comment out sections in deploy.sh" advice for a pre-installed nodewright now points at the supported
--set nodewright:enabled=false --set nodewrightcustomizations:enabled=falsebundle-time toggles (deploy.sh deploys numbered directories generically); the uat-broker README now describesnightly-intentsas the leg-level enrollment summary/opt-out (per-cell dispatch comes from the broker schedule with per-version gates); the ai-conformance NFD row states the suite has no dedicated NFD assertion, and its overlay list is labeled as inheritance chain plus criteria-wildcard overlays (monitoring-hpa,h100-any).RELEASING.md: documented the 7th released image (
aicr-gate) in the image table and the attestation verify block (on-tag.yamlpublishes seven).Reference/nav gaps:
spec.recipe.configuration.slurm.accounting.modeadded tocli-config.md; Fern nav entries added foruser/tutorial.md,user/bundling.md,contributor/evidence-dashboard-publish.md; four missing rows in the user-guide index table; demos table now listsslinky-slurm-demo.html.Out-of-scope follow-ups (deliberately not in this PR):
fern/versions/has no v0.18.0 entry (released docs never published; nothing in CI catches it) — needs a RELEASING.md checklist itemmake serversets unprefixedLOG_LEVEL, whichpkg/loggingignores — Makefile (code) fixmake changelog-filecontradicts RELEASING.md's "changelog is not committed"tests/chainsaw/README.mdfile-structure listing has drifted ~45% (wants a generator or gate, not a manual patch)demos/images/*.mdhand-copied statistics drift every release (wants a "snapshot as of" marker or generated numbers)cli-config.mdvscli-reference.mdschema duplication; testgrid/evidence-dashboard table duplicationdemos/cuj2-inference.mdvalidates--phase allon EKS but--phase conformanceon GKE with no stated reason — needs an owner decisionTesting
Doc-only change; full
make qualifyskipped (tests/e2e/Go lint cannot regress from Markdown/nav-YAML edits). Scoped checks run instead:All cross-doc anchors touched by this PR verified against their target headings (
#make-targets-reference,#deployer-coverage-matrix,#automated-tests,#server-side-signing); all files referenced by new nav/table entries exist. The lychee link check runs in CI ondocs/**PRs.Risk Assessment
Rollout notes: The
SECURITY.mdsupported-versions bump to 0.19.x assumes v0.19.0 ships; hold the merge until the release if that matters.Checklist
make testwith-race) — N/A, doc-only; scoped checks abovemake lint) — docs-relevant subset run locally; Go lint unaffectedgit commit -S) — GPG signing info