Skip to content

fix(bom): extract nested operator images - #1960

Merged
yuanchen8911 merged 1 commit into
NVIDIA:mainfrom
yuanchen8911:fix/bom-nested-operator-images
Jul 30, 2026
Merged

yuanchen8911 merged 1 commit into
NVIDIA:mainfrom
yuanchen8911:fix/bom-nested-operator-images

Conversation

@yuanchen8911

@yuanchen8911 yuanchen8911 commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Extend BOM and mirror image discovery to recognize operator-style image: {name, repository, tag} mappings and KAI’s scalingPodImage descriptor. Fail closed on invalid recognized descriptors so BOM and mirror output cannot succeed while omitting a runtime-defaulted image.

Motivation / Context

KAI Scheduler declares operator-managed operand images as mapping-valued descriptors, while the shared extractor recognized only scalar image: values. The committed BOM therefore listed only the operator and CRD upgrader, and air-gap outputs omitted binder, scheduler, podgrouper, admission, scalingpod, and the other rendered operands.

The KAI operator defaults a missing binder image name at runtime. A binder.image.name=null override previously caused AICR to omit binder silently even though the deployment still pulled it.

This is separate from the incomplete chart-reference report in #1954. It supersedes the scheduler downgrade proposed by draft #1958, which would not fix that integration. Unsupported descriptor shapes discovered during review are tracked separately in #1961.

Fixes: N/A
Related: #1954, #1961

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)
  • Build/CI/tooling

Component(s) Affected

  • CLI (cmd/aicr, pkg/cli)
  • API server (cmd/aicrd, pkg/server)
  • Recipe engine / data (pkg/recipe)
  • Bundlers (pkg/bundler, pkg/component/*)
  • Collectors / snapshotter (pkg/collector, pkg/snapshotter)
  • Validator (pkg/validator)
  • Core libraries (pkg/errors, pkg/k8s)
  • Docs/examples (docs/, examples/)
  • Other: BOM and mirror image discovery

Implementation Notes

  • Recognize allowlisted mapping-valued image and scalingPodImage nodes using name, repository, and tag fields.
  • Preserve repository-only descriptors only when name is absent. A present null, empty, or non-scalar recognized member returns a structured invalid-request error.
  • Make invalid structured descriptors fatal for mirror list and the BOM generator, including non-strict scheduled generation, instead of publishing a known-incomplete image set.
  • Preserve cancellation while scanning manifest lists and between individual reads.
  • Reuse existing image-reference combination and validation paths so scalar and mapping descriptors share filtering and deduplication behavior.
  • Reject a present registry or digest member in a recognized descriptor instead of silently dropping it, so a partially-combined reference cannot resolve against the wrong registry or lose a digest pin. fix(bom): handle unsupported structured image descriptor shapes safely #1961 remains open for actually combining these members.
  • Treat a null or empty tag (the Helm appVersion idiom) like an absent tag instead of failing the survey; a non-scalar tag still fails closed.
  • Trim a trailing repository slash in the name-absent fallback, matching the name-present path.
  • Blank out directive-only Helm lines instead of deleting them so descriptor-error line numbers index the original file.
  • Use an override-aware KAI test renderer so the autoscaling and null-name assertions are causally tied to their --set values.
  • Regenerate docs/user/container-images.md; the KAI inventory expands from 2 to 11 images and the repository-wide unique count from 87 to 96.

Testing

make bom-docs
make bom-check
GOFLAGS="-mod=vendor" go test ./pkg/bom ./pkg/mirror ./tools/bom
GOFLAGS="-mod=vendor" go test -race ./pkg/bom/... ./pkg/mirror/... ./tools/bom/...
golangci-lint run -c .golangci.yaml ./pkg/bom/... ./pkg/mirror/... ./tools/bom/...
GOFLAGS="-mod=vendor" go test -coverprofile=<current> ./pkg/bom/...
GOFLAGS="-mod=vendor" go test -coverprofile=<current> ./pkg/mirror/...
GOFLAGS="-mod=vendor" go test -coverprofile=<current> ./tools/bom/...
GOFLAGS="-mod=vendor" go test -coverprofile=<baseline> ./pkg/bom/...
GOFLAGS="-mod=vendor" go test -coverprofile=<baseline> ./pkg/mirror/...
GOFLAGS="-mod=vendor" go test -coverprofile=<baseline> ./tools/bom/...
go run ./cmd/aicr mirror list --service eks --accelerator h100 --intent training --os ubuntu --set kaischeduler:global.clusterAutoscaling=true --format json
go run ./cmd/aicr mirror list --service eks --accelerator h100 --intent training --os ubuntu --set kaischeduler:binder.image.name=null --format json

All focused gates passed. Coverage changed as follows:

  • pkg/bom: 95.8% → 96.1%
  • pkg/mirror: 80.7% → 81.6% (rebased baseline; feat(recipe): implement the ADR-015 profile core #1933 rewrote the mirror override machinery, so TestSetNestedValue/splitPath were dropped with the removed helper and the manifest-only test refs use Helm type per the new component-ref coherence rules)
  • tools/bom: 83.0% → 83.1%

The autoscaling reproduction includes scalingpod:v0.14.1. The null-name reproduction exits 2, identifies kai-scheduler and the invalid name field, and writes no mirror output.

Full make qualify was run locally: test-coverage (with -race, 80.8% vs the 80% floor), lint, tuning-check, e2e, scan, and license-check all passed. The only local failures were tests/releasepolicy script-deadline timeouts that reproduce only under full-suite parallel load on the dev machine, pass in isolation on both this branch and origin/main, and touch a tree with zero diff from main that imports none of this PR's packages.

Risk Assessment

  • Low — Isolated change, well-tested, easy to revert
  • Medium — Touches multiple components or has broader impact
  • High — Breaking change, affects critical paths, or complex rollout

Rollout notes: Regenerate mirror manifests or bundles to include the newly discovered KAI operand images. Invalid mapping-valued image overrides now fail instead of producing an incomplete mirror list; no configuration migration is required for valid descriptors.

Checklist

  • Tests pass locally (make test with -race)
  • Linter passes (make lint)
  • I did not skip/disable tests to make CI green
  • I added/updated tests for new functionality
  • I updated docs if user-facing behavior changed
  • Changes follow existing patterns in the codebase
  • Commits are cryptographically signed (git commit -S) — GPG signing info

@yuanchen8911 yuanchen8911 added the theme/supply-chain SLSA, SBOM, Sigstore, and provenance verification label Jul 29, 2026
@coderabbitai

coderabbitai Bot commented Jul 29, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It 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 reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

ExtractImagesFromYAML now resolves structured operator image mappings alongside scalar values, validates malformed descriptors, and returns deduplicated image references. Mirror discovery and BOM surveying propagate invalid-descriptor and cancellation errors through Helm and manifest paths. Tests and documentation cover the new behavior, and the container image inventory reflects nine additional unique images.

Estimated code review effort: 4 (Complex) | ~45 minutes

Suggested reviewers: lockwobr

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title matches the main change: extracting nested operator and related images from structured descriptors.
Description check ✅ Passed The description is clearly aligned with the PR, covering operator-style descriptors, fail-closed behavior, docs, and testing.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
pkg/bom/extract.go (1)

114-140: 🩺 Stability & Availability | 🟠 Major | 🏗️ Heavy lift

Propagate cancellation through structured-image traversal.

Discover has a cancellable context, but these new loops cannot observe it, so canceled discovery can continue scanning large rendered manifests. Thread context.Context through extraction and check ctx.Done() during document, mapping, and recursive traversal.

  • pkg/bom/extract.go#L114-L140: check cancellation while scanning mapping entries and before recursive descent.
  • pkg/bom/extract.go#L191-L216: check cancellation while parsing descriptor fields.

As per coding guidelines, “Always check ctx.Done() in loops and long-running operations in Go code.”

🤖 Prompt for 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.

In `@pkg/bom/extract.go` around lines 114 - 140, Thread the cancellable context
from Discover through the extraction helpers and structured-image traversal. In
pkg/bom/extract.go lines 114-140, check ctx.Done() while scanning mapping
entries and before recursive descent; in lines 191-216, check cancellation while
parsing descriptor fields. Preserve existing extraction behavior, returning or
propagating the cancellation result promptly when the context is canceled at
both affected sites.

Source: Coding guidelines

🤖 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.

Outside diff comments:
In `@pkg/bom/extract.go`:
- Around line 114-140: Thread the cancellable context from Discover through the
extraction helpers and structured-image traversal. In pkg/bom/extract.go lines
114-140, check ctx.Done() while scanning mapping entries and before recursive
descent; in lines 191-216, check cancellation while parsing descriptor fields.
Preserve existing extraction behavior, returning or propagating the cancellation
result promptly when the context is canceled at both affected sites.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Enterprise

Run ID: 68bed652-b2af-49d5-9978-c41c6df2ff44

📥 Commits

Reviewing files that changed from the base of the PR and between 905bec6 and fea59a3.

📒 Files selected for processing (5)
  • docs/user/container-images.md
  • pkg/bom/doc.go
  • pkg/bom/extract.go
  • pkg/bom/extract_test.go
  • pkg/mirror/discover_test.go

@yuanchen8911
yuanchen8911 force-pushed the fix/bom-nested-operator-images branch from fea59a3 to 267102a Compare July 29, 2026 22:54

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 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 `@pkg/bom/extract.go`:
- Around line 117-145: Make YAML traversal cancellable by threading the caller’s
context through ExtractImagesFromYAML and walkForImages, updating all callers
accordingly. Check for cancellation and return ctx.Err() before document,
mapping, and sequence iterations, including the loops shown, and propagate the
error through the traversal unchanged.
- Around line 201-232: The structured image-mapping parser around
nonNullImageMappingScalar must track whether repository and tag keys are
present, rejecting mappings with an explicit name unless both are provided;
preserve the existing omitted-name fallback to repository. Add invalid test
cases in pkg/bom/extract_test.go at lines 305-357 for name without repository
and name/repository without tag.
🪄 Autofix (Beta)

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: 25bdff5e-6fb9-4302-afa8-93093629a54f

📥 Commits

Reviewing files that changed from the base of the PR and between fea59a3 and 267102a.

📒 Files selected for processing (6)
  • docs/user/container-images.md
  • pkg/bom/doc.go
  • pkg/bom/extract.go
  • pkg/bom/extract_test.go
  • pkg/mirror/discover_test.go
  • tools/bom/README.md

Comment thread pkg/bom/extract.go Resolved
Comment thread pkg/bom/extract.go Resolved
@github-actions github-actions Bot added size/L and removed size/M labels Jul 29, 2026
@yuanchen8911
yuanchen8911 force-pushed the fix/bom-nested-operator-images branch from 267102a to c9b73ca Compare July 29, 2026 23:51
@github-actions github-actions Bot added size/XL and removed size/L labels Jul 29, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 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 `@pkg/bom/extract.go`:
- Around line 207-248: Deduplicate the recognized-key handling in
imageReferenceFromMapping by replacing the filtering switch and subsequent
dispatch switch with one switch that validates each supported field and assigns
name, repository, or tag within its case. Preserve the existing scalar
validation errors, unknown-key skipping, and fallback behavior.

In `@pkg/mirror/discover_test.go`:
- Around line 291-296: Protect the kaiConfigRenderer.inputs append in Render
with a mutex, adding a mutex field to kaiConfigRenderer and locking around the
slice update. Keep the existing Render behavior and input recording unchanged
while making concurrent Discover errgroup calls safe under -race.

In `@pkg/mirror/discover.go`:
- Around line 319-336: The non-fatal error path in the manifest image extraction
flow should also emit a warning log before returning. Update the `extractErr`
handling in the `ExtractImagesFromYAML` caller to log the manifest path and
extraction error at warning level, while preserving the existing
invalid-descriptor error return and `ci.Warnings` append behavior.
🪄 Autofix (Beta)

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: ec284bc3-0253-43eb-98b2-9410e1e4a5b6

📥 Commits

Reviewing files that changed from the base of the PR and between 267102a and c9b73ca.

📒 Files selected for processing (9)
  • docs/user/air-gap-mirror.md
  • docs/user/cli-reference.md
  • docs/user/container-images.md
  • pkg/bom/doc.go
  • pkg/bom/extract.go
  • pkg/bom/extract_test.go
  • pkg/mirror/discover.go
  • pkg/mirror/discover_test.go
  • tools/bom/README.md

Comment thread pkg/bom/extract.go Resolved
Comment thread pkg/mirror/discover_test.go Resolved
Comment thread pkg/mirror/discover.go Resolved
@yuanchen8911 yuanchen8911 changed the title fix(bom): extract nested operator images WIP: fix(bom): extract nested operator images Jul 30, 2026
@yuanchen8911
yuanchen8911 force-pushed the fix/bom-nested-operator-images branch from c9b73ca to 45543ee Compare July 30, 2026 00:41

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 `@tools/bom/main.go`:
- Around line 340-346: Update wrapInvalidDescriptorSurveyError and its call site
in the invalid structured image descriptor path to accept and include the pinned
version alongside the component and manifest context. Pass the parsed version
for variant failures such as [email protected], and add a regression
test covering this path and verifying the version appears in the resulting
error.
🪄 Autofix (Beta)

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: 4693c466-f9f1-4c4e-a9da-a1cb6bab245c

📥 Commits

Reviewing files that changed from the base of the PR and between c9b73ca and 45543ee.

📒 Files selected for processing (13)
  • docs/user/air-gap-mirror.md
  • docs/user/cli-reference.md
  • docs/user/container-images.md
  • pkg/bom/doc.go
  • pkg/bom/extract.go
  • pkg/bom/extract_test.go
  • pkg/mirror/discover.go
  • pkg/mirror/discover_test.go
  • tools/bom/README.md
  • tools/bom/main.go
  • tools/bom/main_test.go
  • tools/bom/variants.go
  • tools/bom/variants_test.go

Comment thread tools/bom/main.go Resolved
@yuanchen8911 yuanchen8911 changed the title WIP: fix(bom): extract nested operator images fix(bom): extract nested operator images Jul 30, 2026
@yuanchen8911
yuanchen8911 marked this pull request as ready for review July 30, 2026 03:09
@yuanchen8911
yuanchen8911 requested a review from a team as a code owner July 30, 2026 03:09

@ArangoGutierrez ArangoGutierrez left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Four issues, all in the new structured-descriptor path. The first two are blockers: each emits a wrong image reference where the pre-PR code emitted nothing, and that reference lands in both the air-gap mirror seed and the CycloneDX BOM. Checked by running the extractor against the PR head and against the merge base.

  1. The allowlist drops every other member, so {registry: nvcr.io, repository: nvidia/foo, tag: v1} yields nvidia/foo:v1, which ParseImageRef resolves to docker.io — an air-gap mirror seeds from Docker Hub instead of NGC, and a sibling digest: is dropped the same way so a pinned reference becomes floating. Before this PR both shapes emitted nothing, so this trades a visible gap for a silently wrong entry; failing closed on a present registry or digest member would match the null-member handling just below. (pkg/bom/extract.go:213)
  2. With name absent, repository moves into name and repository is cleared, so the strings.TrimRight(repository, "/") inside combineCRDTriplet never runs — {repository: ghcr.io/kai-scheduler/kai-scheduler/, tag: v0.14.1} produces ghcr.io/kai-scheduler/kai-scheduler/:v0.14.1. ParseImageRef keeps that trailing slash in Repository, so the malformed reference reaches the mirror list and the CycloneDX PURL; trimming before the fallback assignment fixes it. (pkg/bom/extract.go:241)
  3. An empty member is fatal but an absent one is not, so {repository: ghcr.io/foo/bar, tag: ""} aborts the whole run while {repository: ghcr.io/foo/bar} is accepted and emits an untagged reference that resolves to :latest. tag: "" is the standard Helm idiom for "use appVersion" and there is no override flag, so a single chart bump that renders it turns make bom-docs and aicr mirror list into hard failures — treating empty and absent alike keeps the fail-closed intent without that cliff. (pkg/bom/extract.go:258)
  4. stripHelmTemplates deletes directive-only lines before parsing, so value.Line is a position in the stripped buffer rather than in the file. A manifest with two {{- ... }} lines above a bad tag reports line 6 for a descriptor that sits on line 8, which points the operator at the wrong place in exactly the templated manifests under recipes/components/*/manifests/ that this path exists to survey. (pkg/bom/extract.go:225)

Comment thread pkg/bom/extract.go Outdated
for i := 0; i+1 < len(n.Content); i += 2 {
key, value := n.Content[i], n.Content[i+1]
switch key.Value {
case "name", imageRepositoryKey, "tag":

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The allowlist drops every other member, so {registry: nvcr.io, repository: nvidia/foo, tag: v1} yields nvidia/foo:v1, which ParseImageRef resolves to docker.io — an air-gap mirror seeds from Docker Hub instead of NGC, and a sibling digest: is dropped the same way so a pinned reference becomes floating. Before this PR both shapes emitted nothing, so this trades a visible gap for a silently wrong entry; failing closed on a present registry or digest member would match the null-member handling just below.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in ef9d8ee. A present registry or digest member in a recognized descriptor now fails closed with a structured descriptor error instead of emitting a partially-combined reference, so {registry, repository, tag} can no longer seed the mirror from docker.io and a sibling digest can no longer be silently dropped. Actually combining these members into the reference stays tracked in #1961. Added tests for both members.

Comment thread pkg/bom/extract.go Outdated
}
}
if !namePresent {
name = repository

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With name absent, repository moves into name and repository is cleared, so the strings.TrimRight(repository, "/") inside combineCRDTriplet never runs — {repository: ghcr.io/kai-scheduler/kai-scheduler/, tag: v0.14.1} produces ghcr.io/kai-scheduler/kai-scheduler/:v0.14.1. ParseImageRef keeps that trailing slash in Repository, so the malformed reference reaches the mirror list and the CycloneDX PURL; trimming before the fallback assignment fixes it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in ef9d8ee. The name-absent fallback now trims the trailing slash before repository becomes the name, matching what combineCRDTriplet already does on the name-present path, so {repository: ghcr.io/kai-scheduler/kai-scheduler/, tag: v0.14.1} yields ghcr.io/kai-scheduler/kai-scheduler:v0.14.1. Added a test covering this shape.

Comment thread pkg/bom/extract.go
return "", false
}
value := strings.TrimSpace(n.Value)
return value, value != ""

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An empty member is fatal but an absent one is not, so {repository: ghcr.io/foo/bar, tag: ""} aborts the whole run while {repository: ghcr.io/foo/bar} is accepted and emits an untagged reference that resolves to :latest. tag: "" is the standard Helm idiom for "use appVersion" and there is no override flag, so a single chart bump that renders it turns make bom-docs and aicr mirror list into hard failures — treating empty and absent alike keeps the fail-closed intent without that cliff.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in ef9d8ee. A null or empty tag is now treated like an absent tag — the Helm use-appVersion idiom — so tag: "" emits the same untagged reference as an omitted tag instead of failing the whole survey. A non-scalar tag still fails closed, and name/repository keep the strict null/empty rejection. Added tests for both tag: "" and a bare tag: null.

Comment thread pkg/bom/extract.go
"invalid image descriptor member",
&invalidStructuredImageDescriptorError{
field: key.Value,
line: value.Line,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stripHelmTemplates deletes directive-only lines before parsing, so value.Line is a position in the stripped buffer rather than in the file. A manifest with two {{- ... }} lines above a bad tag reports line 6 for a descriptor that sits on line 8, which points the operator at the wrong place in exactly the templated manifests under recipes/components/*/manifests/ that this path exists to survey.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in ef9d8ee. stripHelmTemplates now blanks directive-only lines out instead of deleting them, so yaml.Node positions — and the line/column reported in descriptor errors — index the original file. Added a test asserting the reported line matches the file position when directive-only lines precede the bad descriptor.

@yuanchen8911
yuanchen8911 force-pushed the fix/bom-nested-operator-images branch 2 times, most recently from 82bcdbd to ef9d8ee Compare July 30, 2026 16:07

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 5

🤖 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 `@pkg/bom/extract_test.go`:
- Around line 275-352: Add a table-driven test case in the image-mapping tests
for a structured scalingPodImage entry, using a valid repository and tag and
asserting the expected image reference is extracted. Ensure the case exercises
the isStructuredImageKey allowlist path for scalingPodImage rather than only the
existing image keys.

In `@tools/bom/main.go`:
- Around line 385-391: Return walkErr directly in tools/bom/main.go lines
385-391 within the survey component manifest path, removing the
errors.PropagateOrWrap call. Also return the existing surveyComponent error
directly in tools/bom/variants.go lines 372-378 within the survey variant images
path; both errors already carry ErrCodeInvalidRequest and the required context.
- Around line 240-246: Update deriveVariants to replace its inline
name-to-component map construction with a call to indexComponentsByName, reusing
the existing helper and preserving the current map contents and behavior.

In `@tools/bom/README.md`:
- Around line 75-81: Update the structured-image acceptance documentation in
tools/bom/README.md lines 75-81 and docs/user/cli-reference.md lines 2633-2635
to allow null or empty tag values as Helm appVersion defaults, while rejecting
invalid name or repository values and non-scalar fields. Explicitly state that
registry and digest members are rejected in both documents.

In `@tools/bom/variants.go`:
- Around line 372-378: Remove the redundant errors.PropagateOrWrap call in the
survey variant image handling and return the existing error directly when
surveyComponent fails. Preserve the ErrCodeInvalidRequest code and let run
provide the expected variant name/version context through its existing wrapping.
🪄 Autofix (Beta)

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: fe1c231a-076d-4ad0-bff4-a58a42cf5db0

📥 Commits

Reviewing files that changed from the base of the PR and between 45543ee and ef9d8ee.

📒 Files selected for processing (13)
  • docs/user/air-gap-mirror.md
  • docs/user/cli-reference.md
  • docs/user/container-images.md
  • pkg/bom/doc.go
  • pkg/bom/extract.go
  • pkg/bom/extract_test.go
  • pkg/mirror/discover.go
  • pkg/mirror/discover_test.go
  • tools/bom/README.md
  • tools/bom/main.go
  • tools/bom/main_test.go
  • tools/bom/variants.go
  • tools/bom/variants_test.go

Comment thread pkg/bom/extract_test.go
Comment on lines +275 to +352
{
name: "operator image mappings with name repository and tag",
in: `apiVersion: kai.scheduler/v1
kind: Config
metadata:
name: kai-config
spec:
binder:
service:
image:
name: binder
repository: ghcr.io/kai-scheduler/kai-scheduler
tag: &kaiTag v0.14.1
pullPolicy: IfNotPresent
scheduler:
service:
image:
name: scheduler
repository: ghcr.io/kai-scheduler/kai-scheduler/
tag: *kaiTag
operator:
image:
repository: ghcr.io/kai-scheduler/kai-scheduler/operator
tag: v0.14.1
`,
want: []string{
"ghcr.io/kai-scheduler/kai-scheduler/binder:v0.14.1",
"ghcr.io/kai-scheduler/kai-scheduler/operator:v0.14.1",
"ghcr.io/kai-scheduler/kai-scheduler/scheduler:v0.14.1",
},
},
{
name: "operator image mapping skips unresolved templates and incomplete descriptors",
in: `spec:
templated:
image:
name: "{{ .Values.image.name }}"
repository: ghcr.io/example
tag: v1.0.0
missing:
image:
tag: v1.0.0
`,
want: []string{},
},
{
// A trailing slash on repository must be trimmed in the
// name-absent fallback too, not only when repository is
// prepended to a separate name.
name: "operator image mapping trims trailing repository slash in name fallback",
in: `spec:
operator:
image:
repository: ghcr.io/kai-scheduler/kai-scheduler/
tag: v0.14.1
`,
want: []string{"ghcr.io/kai-scheduler/kai-scheduler:v0.14.1"},
},
{
// tag: "" and tag: null are the Helm "use appVersion" idiom —
// treated like an absent tag, emitting an untagged reference
// rather than failing the survey.
name: "operator image mapping treats empty and null tag as absent",
in: `spec:
empty:
image:
repository: ghcr.io/example/empty-tag
tag: ""
nulltag:
image:
repository: ghcr.io/example/null-tag
tag:
`,
want: []string{
"ghcr.io/example/empty-tag",
"ghcr.io/example/null-tag",
},
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Add a scalingPodImage case to this table. isStructuredImageKey allowlists two keys, but every structured case here uses image:; the scalingPodImage: branch is only covered indirectly through pkg/mirror discovery tests, so a regression in the allowlist would not fail this package's unit tests.

♻️ Suggested additional case
 		{
+			name: "operator scalingPodImage descriptor",
+			in: `spec:
+  nodeScaleAdjuster:
+    args:
+      scalingPodImage:
+        name: scalingpod
+        repository: ghcr.io/kai-scheduler/kai-scheduler
+        tag: v0.14.1
+`,
+			want: []string{"ghcr.io/kai-scheduler/kai-scheduler/scalingpod:v0.14.1"},
+		},
+		{
 			name: "operator image mapping trims trailing repository slash in name fallback",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
{
name: "operator image mappings with name repository and tag",
in: `apiVersion: kai.scheduler/v1
kind: Config
metadata:
name: kai-config
spec:
binder:
service:
image:
name: binder
repository: ghcr.io/kai-scheduler/kai-scheduler
tag: &kaiTag v0.14.1
pullPolicy: IfNotPresent
scheduler:
service:
image:
name: scheduler
repository: ghcr.io/kai-scheduler/kai-scheduler/
tag: *kaiTag
operator:
image:
repository: ghcr.io/kai-scheduler/kai-scheduler/operator
tag: v0.14.1
`,
want: []string{
"ghcr.io/kai-scheduler/kai-scheduler/binder:v0.14.1",
"ghcr.io/kai-scheduler/kai-scheduler/operator:v0.14.1",
"ghcr.io/kai-scheduler/kai-scheduler/scheduler:v0.14.1",
},
},
{
name: "operator image mapping skips unresolved templates and incomplete descriptors",
in: `spec:
templated:
image:
name: "{{ .Values.image.name }}"
repository: ghcr.io/example
tag: v1.0.0
missing:
image:
tag: v1.0.0
`,
want: []string{},
},
{
// A trailing slash on repository must be trimmed in the
// name-absent fallback too, not only when repository is
// prepended to a separate name.
name: "operator image mapping trims trailing repository slash in name fallback",
in: `spec:
operator:
image:
repository: ghcr.io/kai-scheduler/kai-scheduler/
tag: v0.14.1
`,
want: []string{"ghcr.io/kai-scheduler/kai-scheduler:v0.14.1"},
},
{
// tag: "" and tag: null are the Helm "use appVersion" idiom —
// treated like an absent tag, emitting an untagged reference
// rather than failing the survey.
name: "operator image mapping treats empty and null tag as absent",
in: `spec:
empty:
image:
repository: ghcr.io/example/empty-tag
tag: ""
nulltag:
image:
repository: ghcr.io/example/null-tag
tag:
`,
want: []string{
"ghcr.io/example/empty-tag",
"ghcr.io/example/null-tag",
},
},
{
name: "operator image mappings with name repository and tag",
in: `apiVersion: kai.scheduler/v1
kind: Config
metadata:
name: kai-config
spec:
binder:
service:
image:
name: binder
repository: ghcr.io/kai-scheduler/kai-scheduler
tag: &kaiTag v0.14.1
pullPolicy: IfNotPresent
scheduler:
service:
image:
name: scheduler
repository: ghcr.io/kai-scheduler/kai-scheduler/
tag: *kaiTag
operator:
image:
repository: ghcr.io/kai-scheduler/kai-scheduler/operator
tag: v0.14.1
`,
want: []string{
"ghcr.io/kai-scheduler/kai-scheduler/binder:v0.14.1",
"ghcr.io/kai-scheduler/kai-scheduler/operator:v0.14.1",
"ghcr.io/kai-scheduler/kai-scheduler/scheduler:v0.14.1",
},
},
{
name: "operator image mapping skips unresolved templates and incomplete descriptors",
in: `spec:
templated:
image:
name: "{{ .Values.image.name }}"
repository: ghcr.io/example
tag: v1.0.0
missing:
image:
tag: v1.0.0
`,
want: []string{},
},
{
name: "operator scalingPodImage descriptor",
in: `spec:
nodeScaleAdjuster:
args:
scalingPodImage:
name: scalingpod
repository: ghcr.io/kai-scheduler/kai-scheduler
tag: v0.14.1
`,
want: []string{"ghcr.io/kai-scheduler/kai-scheduler/scalingpod:v0.14.1"},
},
{
// A trailing slash on repository must be trimmed in the
// name-absent fallback too, not only when repository is
// prepended to a separate name.
name: "operator image mapping trims trailing repository slash in name fallback",
in: `spec:
operator:
image:
repository: ghcr.io/kai-scheduler/kai-scheduler/
tag: v0.14.1
`,
want: []string{"ghcr.io/kai-scheduler/kai-scheduler:v0.14.1"},
},
{
// tag: "" and tag: null are the Helm "use appVersion" idiom —
// treated like an absent tag, emitting an untagged reference
// rather than failing the survey.
name: "operator image mapping treats empty and null tag as absent",
in: `spec:
empty:
image:
repository: ghcr.io/example/empty-tag
tag: ""
nulltag:
image:
repository: ghcr.io/example/null-tag
tag:
`,
want: []string{
"ghcr.io/example/empty-tag",
"ghcr.io/example/null-tag",
},
},
🤖 Prompt for 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.

In `@pkg/bom/extract_test.go` around lines 275 - 352, Add a table-driven test case
in the image-mapping tests for a structured scalingPodImage entry, using a valid
repository and tag and asserting the expected image reference is extracted.
Ensure the case exercises the isStructuredImageKey allowlist path for
scalingPodImage rather than only the existing image keys.

Comment thread tools/bom/main.go Resolved
Comment thread tools/bom/main.go
Comment on lines +385 to +391
if bom.IsInvalidStructuredImageDescriptor(walkErr) {
return res, errors.PropagateOrWrap(
walkErr,
errors.ErrCodeInvalidRequest,
fmt.Sprintf("survey component %q manifests", c.Name),
)
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Both survey paths re-wrap an error that already carries ErrCodeInvalidRequest. wrapInvalidDescriptorSurveyError sets the code and the component/manifest context, so errors.PropagateOrWrap propagates the error verbatim at both sites and the supplied messages are silently discarded.

  • tools/bom/main.go#L385-L391: return walkErr directly instead of re-wrapping with "survey component %q manifests".
  • tools/bom/variants.go#L372-L378: return the surveyComponent error directly instead of re-wrapping with "survey variant images"; variant name/version context is already added by run.

Based on learnings, errors already created with pkg/errors and the correct structured code should be propagated as-is rather than re-wrapped.

📍 Affects 2 files
  • tools/bom/main.go#L385-L391 (this comment)
  • tools/bom/variants.go#L372-L378
🤖 Prompt for 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.

In `@tools/bom/main.go` around lines 385 - 391, Return walkErr directly in
tools/bom/main.go lines 385-391 within the survey component manifest path,
removing the errors.PropagateOrWrap call. Also return the existing
surveyComponent error directly in tools/bom/variants.go lines 372-378 within the
survey variant images path; both errors already carry ErrCodeInvalidRequest and
the required context.

Source: Learnings

Comment thread tools/bom/README.md Resolved
Comment thread tools/bom/variants.go
Comment on lines +372 to +378
if err != nil {
return v, errors.PropagateOrWrap(
err,
errors.ErrCodeInvalidRequest,
"survey variant images",
)
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Redundant re-wrap of an already-coded error. surveyComponent returns ErrCodeInvalidRequest from wrapInvalidDescriptorSurveyError, so PropagateOrWrap propagates it verbatim and "survey variant images" never reaches the message — the variant name/version context the caller expects comes from run's wrap instead. Same root cause as tools/bom/main.go Lines 385-391.

🤖 Prompt for 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.

In `@tools/bom/variants.go` around lines 372 - 378, Remove the redundant
errors.PropagateOrWrap call in the survey variant image handling and return the
existing error directly when surveyComponent fails. Preserve the
ErrCodeInvalidRequest code and let run provide the expected variant name/version
context through its existing wrapping.

Source: Learnings

@yuanchen8911
yuanchen8911 force-pushed the fix/bom-nested-operator-images branch from ef9d8ee to fae165e Compare July 30, 2026 16:18
@yuanchen8911
yuanchen8911 force-pushed the fix/bom-nested-operator-images branch from fae165e to 37145f9 Compare July 30, 2026 16:51

@njhensley njhensley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving. Reviewed via a multi-persona panel (correctness, supply-chain, operability, test-coverage) plus an adversarial meta-reviewer, then re-reviewed the delta after the revision.

The substantive change — recognizing operator-style image: {name, repository, tag} / scalingPodImage descriptors, expanding the KAI inventory 2 → 11 images (repo total 87 → 96) — is correct and well-tested, and the revision resolves every issue @ArangoGutierrez raised:

  • registry/digest members now fail closed (ErrCodeInvalidRequest) instead of silently emitting a wrong-registry / un-pinned reference — consistent with the PR's own fail-closed principle, and tracked for real support in #1961.
  • empty/null tag is now treated as absent (the Helm appVersion idiom) rather than aborting the whole mirror list / BOM run; name/repository present-empty stay fatal (correct).
  • name-absent + trailing-slash repository now trims the slash, so no more repo/:tag / empty-name PURL.
  • descriptor-error line/column now index the original file (stripHelmTemplates blanks directive-only lines instead of deleting them).

Each fix ships with a targeted test. pkg/bom and tools/bom pass at this head; BOM regenerates cleanly at 96 images (no current component trips the new fail-closed path). Verified the error wrap chain preserves IsInvalidStructuredImageDescriptor through PropagateOrWrap/WrapWithContext, so mirror list exits nonzero with an actionable component + manifest + field message.

Only residual is an optional nitpick — no test pins numeric/unquoted tag behavior (tag: 1.28); non-blocking. Nice work, and credit to @ArangoGutierrez for the sharp catches.

@yuanchen8911
yuanchen8911 merged commit 93328af into NVIDIA:main Jul 30, 2026
38 checks passed
mohityadav8 added a commit to mohityadav8/aicr that referenced this pull request Jul 31, 2026
…alth checks

Closes NVIDIA#1246.

- kueue: resourceflavors/clusterqueues/localqueues.kueue.x-k8s.io (verified via in-tree manifests)
- kubeflow-trainer: trainjobs.trainer.kubeflow.org (verified via tests/chainsaw/ai-conformance/kind-training-kubeflow/assert-crds.yaml)
- network-operator: nicclusterpolicies.mellanox.com (verified via components/network-operator/manifests/nic-cluster-policy-aks.yaml)
- k8s-nim-operator: nimservices/nimcaches/nimpipelines.apps.nvidia.com (verified via docs/conformance/cncf/v1.35/nim-eks/evidence/robust-operator.md)
- gatekeeper: constrainttemplates.templates.gatekeeper.sh + configs.config.gatekeeper.sh (needs live-cluster confirmation against chart 3.22.2, flagged inline)
- slinky-slurm-operator: negative finding documented - crds.enabled: false, CRDs owned entirely by sibling slinky-slurm-operator-crds chart

Signed-off-by: Mohit Yadav <[email protected]>

docs: restore slinky-slurm-operator health check, add comment-only negative finding

Signed-off-by: Mohit Yadav <[email protected]>

fix: address review comments on NVIDIA#1246 CRD backfill

fix: sync kubeflow-trainer CRD docs with asserted trainingruntimes (coderabbitai)

address review: soften gatekeeper verification wording, fix volatile line refs, rename CRD step for consistency

chore: pausing scans

chore: skills cleanup

chore(deps): Update python Docker tag to v3.14 (NVIDIA#1906)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mark Chmarny <[email protected]>

revert(validators): pin aiperf-bench base back to python:3.13-slim (NVIDIA#1909)

Signed-off-by: Nathan Hensley <[email protected]>

fix(rekor-monitor): correlate identity via release-workflow run history (NVIDIA#1903)

Signed-off-by: Brian Lockwood <[email protected]>
Co-authored-by: Mark Chmarny <[email protected]>

fix(validators): multi-stage aiperf-bench build; bump aiperf to 0.11.0 (NVIDIA#1912)

Signed-off-by: Nathan Hensley <[email protected]>

feat(skills): download UAT debug bundles for failure triage (NVIDIA#1913)

Signed-off-by: Nathan Hensley <[email protected]>

chore: deps: bump renovatebot/github-action from 46.1.20 to 46.1.21 (NVIDIA#1923)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

feat(skills): add aicr-triage skill for project board triage (NVIDIA#1911)

chore(deps): regenerate stale THIRD_PARTY_NOTICES.md (NVIDIA#1926)

Signed-off-by: Nathan Hensley <[email protected]>

feat(server): non-interactive bundle attestation for /v1/bundle (NVIDIA#1891)

chore(deps): Update dependency awscli to v1.45.52 (NVIDIA#1905)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mark Chmarny <[email protected]>
Co-authored-by: Nathan Hensley <[email protected]>

ci(stale): drop phantom priority/critical exempt label (NVIDIA#1925)

Signed-off-by: Yuan Chen <[email protected]>

chore(deps): Update dependency sigstore/cosign to v3.1.2 (NVIDIA#1924)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Lalit Adithya <[email protected]>
Co-authored-by: Brian Lockwood <[email protected]>

feat(skills): add aicr-cross-review skill for multi-agent PR review (NVIDIA#1915)

Signed-off-by: Yuan Chen <[email protected]>

chore: deps: bump github.com/prometheus/client_golang from 1.24.0 to 1.24.1 (NVIDIA#1922)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lalit Adithya <[email protected]>
Co-authored-by: Brian Lockwood <[email protected]>

fix: resolve goconst and errorlint warnings across OCI, coverage, validators (NVIDIA#1916)

Signed-off-by: Andrew White <[email protected]>

chore(deps): Update testing-tools (NVIDIA#1934)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

fix(skills): harden UAT debug-bundle triage against malformed input (NVIDIA#1914)

Signed-off-by: Nathan Hensley <[email protected]>

chore: deps: bump actions/stale from 10.4.0 to 11.0.0 (NVIDIA#1931)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lalit Adithya <[email protected]>

fix(ci): sync coverage docs to 80% and fail closed on bad threshold (NVIDIA#1937)

docs: correct issue/PR lifecycle table, fix reminder dedupe (NVIDIA#1921)

Signed-off-by: Yuan Chen <[email protected]>
Co-authored-by: Nathan Hensley <[email protected]>

chore: deps: bump actions/checkout from 7.0.0 to 7.0.1 (NVIDIA#1930)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nathan Hensley <[email protected]>
Co-authored-by: Brian Lockwood <[email protected]>

fix(recipe,client): reject duplicate ComponentRef names, omit disable… (NVIDIA#1917)

Co-authored-by: Nathan Hensley <[email protected]>

fix(validators): pass aiperf model via --model flag (NVIDIA#1939)

Signed-off-by: Nathan Hensley <[email protected]>

fix(skills): recover cross-review lanes, harden consensus/fallback (NVIDIA#1932)

Signed-off-by: Yuan Chen <[email protected]>

feat(rekor-monitor): resumable identity scan to catch up large backlogs (NVIDIA#1929)

Signed-off-by: Brian Lockwood <[email protected]>

fix(bundler): create argocd-helm static/ only when populated (NVIDIA#1944)

Signed-off-by: Yuan Chen <[email protected]>

chore: deps: update hashicorp/azurerm requirement from ~> 4.0 to ~> 5.0 in /infra/uat-azure-account (NVIDIA#1945)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

fix(ci): run validators/ unit tests in make test, exclude from coverage gate (NVIDIA#1918)

Signed-off-by: Mohit Yadav <[email protected]>
Co-authored-by: Nathan Hensley <[email protected]>

feat(corroborate): improve evidence dashboard UX (NVIDIA#1935)

Signed-off-by: Nathan Hensley <[email protected]>

fix(api): accept versionless legacy bundle recipes (NVIDIA#1943)

Signed-off-by: Yuan Chen <[email protected]>

test(bundler): cover argocd-helm OCP bundling and pin its error contract (NVIDIA#1950)

Signed-off-by: Yuan Chen <[email protected]>

chore: remove stray MOFED debug artifacts from repo root (NVIDIA#1955)

Signed-off-by: Nathan Hensley <[email protected]>

fix(deps): bump network-operator default to v26.4.1 (NVIDIA#1938)

Signed-off-by: Atif Mahmood <[email protected]>
Co-authored-by: Atif Mahmood <[email protected]>

chore: deps: bump renovatebot/github-action from 46.1.21 to 46.2.0 (NVIDIA#1964)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

chore(deps): Update ministackorg/ministack Docker tag to v1.4.7 (NVIDIA#1965)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Lalit Adithya <[email protected]>

feat(recipe): implement the ADR-015 profile core (NVIDIA#1933)

Signed-off-by: Yuan Chen <[email protected]>

fix(bom): extract nested operator images (NVIDIA#1960)

Signed-off-by: Yuan Chen <[email protected]>

address yuanchen8911 review: bump network-operator to 26.4.1 with nicnodepolicies exclusion, close gatekeeper TODO with verification
mohityadav8 added a commit to mohityadav8/aicr that referenced this pull request Jul 31, 2026
…alth checks

Closes NVIDIA#1246.

- kueue: resourceflavors/clusterqueues/localqueues.kueue.x-k8s.io (verified via in-tree manifests)
- kubeflow-trainer: trainjobs.trainer.kubeflow.org (verified via tests/chainsaw/ai-conformance/kind-training-kubeflow/assert-crds.yaml)
- network-operator: nicclusterpolicies.mellanox.com (verified via components/network-operator/manifests/nic-cluster-policy-aks.yaml)
- k8s-nim-operator: nimservices/nimcaches/nimpipelines.apps.nvidia.com (verified via docs/conformance/cncf/v1.35/nim-eks/evidence/robust-operator.md)
- gatekeeper: constrainttemplates.templates.gatekeeper.sh + configs.config.gatekeeper.sh (needs live-cluster confirmation against chart 3.22.2, flagged inline)
- slinky-slurm-operator: negative finding documented - crds.enabled: false, CRDs owned entirely by sibling slinky-slurm-operator-crds chart

Signed-off-by: Mohit Yadav <[email protected]>

docs: restore slinky-slurm-operator health check, add comment-only negative finding

Signed-off-by: Mohit Yadav <[email protected]>

fix: address review comments on NVIDIA#1246 CRD backfill

fix: sync kubeflow-trainer CRD docs with asserted trainingruntimes (coderabbitai)

address review: soften gatekeeper verification wording, fix volatile line refs, rename CRD step for consistency

chore: pausing scans

chore: skills cleanup

chore(deps): Update python Docker tag to v3.14 (NVIDIA#1906)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mark Chmarny <[email protected]>

revert(validators): pin aiperf-bench base back to python:3.13-slim (NVIDIA#1909)

Signed-off-by: Nathan Hensley <[email protected]>

fix(rekor-monitor): correlate identity via release-workflow run history (NVIDIA#1903)

Signed-off-by: Brian Lockwood <[email protected]>
Co-authored-by: Mark Chmarny <[email protected]>

fix(validators): multi-stage aiperf-bench build; bump aiperf to 0.11.0 (NVIDIA#1912)

Signed-off-by: Nathan Hensley <[email protected]>

feat(skills): download UAT debug bundles for failure triage (NVIDIA#1913)

Signed-off-by: Nathan Hensley <[email protected]>

chore: deps: bump renovatebot/github-action from 46.1.20 to 46.1.21 (NVIDIA#1923)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

feat(skills): add aicr-triage skill for project board triage (NVIDIA#1911)

chore(deps): regenerate stale THIRD_PARTY_NOTICES.md (NVIDIA#1926)

Signed-off-by: Nathan Hensley <[email protected]>

feat(server): non-interactive bundle attestation for /v1/bundle (NVIDIA#1891)

chore(deps): Update dependency awscli to v1.45.52 (NVIDIA#1905)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Mark Chmarny <[email protected]>
Co-authored-by: Nathan Hensley <[email protected]>

ci(stale): drop phantom priority/critical exempt label (NVIDIA#1925)

Signed-off-by: Yuan Chen <[email protected]>

chore(deps): Update dependency sigstore/cosign to v3.1.2 (NVIDIA#1924)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Lalit Adithya <[email protected]>
Co-authored-by: Brian Lockwood <[email protected]>

feat(skills): add aicr-cross-review skill for multi-agent PR review (NVIDIA#1915)

Signed-off-by: Yuan Chen <[email protected]>

chore: deps: bump github.com/prometheus/client_golang from 1.24.0 to 1.24.1 (NVIDIA#1922)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lalit Adithya <[email protected]>
Co-authored-by: Brian Lockwood <[email protected]>

fix: resolve goconst and errorlint warnings across OCI, coverage, validators (NVIDIA#1916)

Signed-off-by: Andrew White <[email protected]>

chore(deps): Update testing-tools (NVIDIA#1934)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

fix(skills): harden UAT debug-bundle triage against malformed input (NVIDIA#1914)

Signed-off-by: Nathan Hensley <[email protected]>

chore: deps: bump actions/stale from 10.4.0 to 11.0.0 (NVIDIA#1931)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Lalit Adithya <[email protected]>

fix(ci): sync coverage docs to 80% and fail closed on bad threshold (NVIDIA#1937)

docs: correct issue/PR lifecycle table, fix reminder dedupe (NVIDIA#1921)

Signed-off-by: Yuan Chen <[email protected]>
Co-authored-by: Nathan Hensley <[email protected]>

chore: deps: bump actions/checkout from 7.0.0 to 7.0.1 (NVIDIA#1930)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nathan Hensley <[email protected]>
Co-authored-by: Brian Lockwood <[email protected]>

fix(recipe,client): reject duplicate ComponentRef names, omit disable… (NVIDIA#1917)

Co-authored-by: Nathan Hensley <[email protected]>

fix(validators): pass aiperf model via --model flag (NVIDIA#1939)

Signed-off-by: Nathan Hensley <[email protected]>

fix(skills): recover cross-review lanes, harden consensus/fallback (NVIDIA#1932)

Signed-off-by: Yuan Chen <[email protected]>

feat(rekor-monitor): resumable identity scan to catch up large backlogs (NVIDIA#1929)

Signed-off-by: Brian Lockwood <[email protected]>

fix(bundler): create argocd-helm static/ only when populated (NVIDIA#1944)

Signed-off-by: Yuan Chen <[email protected]>

chore: deps: update hashicorp/azurerm requirement from ~> 4.0 to ~> 5.0 in /infra/uat-azure-account (NVIDIA#1945)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

fix(ci): run validators/ unit tests in make test, exclude from coverage gate (NVIDIA#1918)

Signed-off-by: Mohit Yadav <[email protected]>
Co-authored-by: Nathan Hensley <[email protected]>

feat(corroborate): improve evidence dashboard UX (NVIDIA#1935)

Signed-off-by: Nathan Hensley <[email protected]>

fix(api): accept versionless legacy bundle recipes (NVIDIA#1943)

Signed-off-by: Yuan Chen <[email protected]>

test(bundler): cover argocd-helm OCP bundling and pin its error contract (NVIDIA#1950)

Signed-off-by: Yuan Chen <[email protected]>

chore: remove stray MOFED debug artifacts from repo root (NVIDIA#1955)

Signed-off-by: Nathan Hensley <[email protected]>

fix(deps): bump network-operator default to v26.4.1 (NVIDIA#1938)

Signed-off-by: Atif Mahmood <[email protected]>
Co-authored-by: Atif Mahmood <[email protected]>

chore: deps: bump renovatebot/github-action from 46.1.21 to 46.2.0 (NVIDIA#1964)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

chore(deps): Update ministackorg/ministack Docker tag to v1.4.7 (NVIDIA#1965)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Lalit Adithya <[email protected]>

feat(recipe): implement the ADR-015 profile core (NVIDIA#1933)

Signed-off-by: Yuan Chen <[email protected]>

fix(bom): extract nested operator images (NVIDIA#1960)

Signed-off-by: Yuan Chen <[email protected]>

address yuanchen8911 review: bump network-operator to 26.4.1 with nicnodepolicies exclusion, close gatekeeper TODO with verification
@yuanchen8911
yuanchen8911 deleted the fix/bom-nested-operator-images branch August 19, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs size/XL theme/supply-chain SLSA, SBOM, Sigstore, and provenance verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants