Repository navigation
feat(skills): download UAT debug bundles for failure triage - #1913
Conversation
The aicr-uat-report skill classified failures from workflow step names alone, which misreads the validate step: "UAT - validate (all phases) + emit signed evidence" covers two concerns, so an evidence-emit failure with all validators passing was ranked as a top product-signal regression. Add --download-debug DIR to fetch each failing run's uat-<cloud>-debug-<run_id> artifact and print a triage digest (MANIFEST head, failing checks parsed from report.json, contents summary), plus --run/--max-downloads to scope the fetch. Reporting stays read-only; the only writes are downloaded artifacts under DIR. Document the bundle contract in SKILL.md: artifact naming and 30-day retention, the failure()/prep upload gate that makes an absent bundle a valid infra classification signal, and a triage-ordered table of what to open for which failure. Signed-off-by: Nathan Hensley <[email protected]>
📝 WalkthroughWalkthroughThe UAT report skill documentation now describes optional failure debug-bundle downloads, triage semantics, artifact limitations, and failure-mode handling. Estimated code review effort: 4 (Complex) | ~45 minutes 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: 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 @.agents/skills/aicr-uat-report/uat_report.py:
- Around line 132-147: Update the report parsing block in download_debug so a
null or otherwise non-iterable results.tests value is treated as an empty list
rather than causing TypeError during bad-check computation. Preserve the
existing per-report “unparseable” handling and ensure malformed report data
cannot abort processing of remaining runs.
- Around line 110-115: Update debug_artifacts() to exclude expired artifacts,
sort candidates newest-first with largest artifacts first as documented, and
retain only one debug artifact per failing combo before download_debug()
processes them. Align the docstring with the actual filtering and selection
behavior, preserving the existing DEBUG_ARTIFACT_HINT matching.
- Around line 181-183: Sanitize or validate the reservation value before it is
used to populate the `svc` and `gpu` fields consumed by the `dest` path
construction. Update the `run-name`/`inputs.reservation` handling so path
separators and traversal components cannot reach `os.path.join(outdir, ...)`,
while preserving the existing bounded `intent` 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: 6ae3d1b1-34b9-4fff-8100-5192871bbdf5
📒 Files selected for processing (3)
.agents/skills/aicr-uat-report/SKILL.md.agents/skills/aicr-uat-report/uat_report.pydocs/contributor/skills.md
| def debug_artifacts(repo, run_id): | ||
| """Return the run's non-expired debug artifacts, newest-largest first.""" | ||
| arts = gh_json( | ||
| ["api", f"repos/{repo}/actions/runs/{run_id}/artifacts", "--jq", ".artifacts"] | ||
| ) | ||
| return [a for a in arts if DEBUG_ARTIFACT_HINT in a.get("name", "")] |
There was a problem hiding this comment.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
printf 'Files:\n'
git ls-files .agents/skills/aicr-uat-report/uat_report.py .agents/skills/aicr-uat-report/SKILL.md
printf '\nOutline uat_report.py:\n'
ast-grep outline .agents/skills/aicr-uat-report/uat_report.py --view expanded
printf '\nRelevant slices from uat_report.py:\n'
sed -n '100,240p' .agents/skills/aicr-uat-report/uat_report.py | cat -n
printf '\nRelevant slice from SKILL.md:\n'
sed -n '1,220p' .agents/skills/aicr-uat-report/SKILL.md | cat -n
printf '\nSearch for artifact naming and debug download references:\n'
rg -n "uat-<cloud>|debug-|download_debug|debug_artifacts|triage_digest|run_id" .agents/skills/aicr-uat-reportRepository: NVIDIA/aicr
Length of output: 22698
Scope debug downloads to one artifact per failing combo. debug_artifacts() currently returns every debug artifact for the run, so download_debug() can unpack multiple bundles into the same destination and overwrite the triage digest. The docstring also overstates the behavior: it neither filters expired artifacts nor sorts them newest-first.
🤖 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 @.agents/skills/aicr-uat-report/uat_report.py around lines 110 - 115, Update
debug_artifacts() to exclude expired artifacts, sort candidates newest-first
with largest artifacts first as documented, and retain only one debug artifact
per failing combo before download_debug() processes them. Align the docstring
with the actual filtering and selection behavior, preserving the existing
DEBUG_ARTIFACT_HINT matching.
| report = os.path.join(dest, "report.json") | ||
| if os.path.isfile(report): | ||
| try: | ||
| with open(report, encoding="utf-8") as fh: | ||
| tests = json.load(fh).get("results", {}).get("tests", []) | ||
| bad = [t for t in tests if t.get("status") in ("failed", "other")] | ||
| lines.append( | ||
| f" report.json: {len(bad)}/{len(tests)} checks failing" | ||
| + ( | ||
| ": " + ", ".join(f"{t.get('name')}({t.get('status')})" for t in bad) | ||
| if bad | ||
| else "" | ||
| ) | ||
| ) | ||
| except (OSError, ValueError, AttributeError): | ||
| lines.append(" report.json present but unparseable") |
There was a problem hiding this comment.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
Uncaught TypeError from a malformed report.json can abort the whole --download-debug run.
tests = json.load(fh).get("results", {}).get("tests", []) only falls back to [] when "tests" is missing; if the key is present with value null ("tests": null), .get() returns None, and for t in tests raises TypeError, which the except (OSError, ValueError, AttributeError) clause doesn't catch. This call is made at line 221 with no surrounding try/except, so it propagates out of download_debug and crashes main() for every remaining run — directly at odds with this PR's own stated design goal that "missing, expired, or failed artifact operations are reported per run without stopping processing."
🐛 Suggested fix
- tests = json.load(fh).get("results", {}).get("tests", [])
+ tests = json.load(fh).get("results", {}).get("tests") or []📝 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.
| report = os.path.join(dest, "report.json") | |
| if os.path.isfile(report): | |
| try: | |
| with open(report, encoding="utf-8") as fh: | |
| tests = json.load(fh).get("results", {}).get("tests", []) | |
| bad = [t for t in tests if t.get("status") in ("failed", "other")] | |
| lines.append( | |
| f" report.json: {len(bad)}/{len(tests)} checks failing" | |
| + ( | |
| ": " + ", ".join(f"{t.get('name')}({t.get('status')})" for t in bad) | |
| if bad | |
| else "" | |
| ) | |
| ) | |
| except (OSError, ValueError, AttributeError): | |
| lines.append(" report.json present but unparseable") | |
| report = os.path.join(dest, "report.json") | |
| if os.path.isfile(report): | |
| try: | |
| with open(report, encoding="utf-8") as fh: | |
| tests = json.load(fh).get("results", {}).get("tests") or [] | |
| bad = [t for t in tests if t.get("status") in ("failed", "other")] | |
| lines.append( | |
| f" report.json: {len(bad)}/{len(tests)} checks failing" | |
| ( | |
| ": " + ", ".join(f"{t.get('name')}({t.get('status')})" for t in bad) | |
| if bad | |
| else "" | |
| ) | |
| ) | |
| except (OSError, ValueError, AttributeError): | |
| lines.append(" report.json present but unparseable") |
🧰 Tools
🪛 ast-grep (0.44.1)
[warning] 134-134: File path is request-/variable-derived; validate and normalize to prevent path traversal.
Context: open(report, encoding="utf-8")
Note: [CWE-22] Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal').
(open-filename-from-request)
🤖 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 @.agents/skills/aicr-uat-report/uat_report.py around lines 132 - 147, Update
the report parsing block in download_debug so a null or otherwise non-iterable
results.tests value is treated as an empty list rather than causing TypeError
during bad-check computation. Preserve the existing per-report “unparseable”
handling and ensure malformed report data cannot abort processing of remaining
runs.
| dest = os.path.join( | ||
| outdir, f"{f['svc']}-{f['gpu']}-{f['intent']}-{run_id}".lower() | ||
| ) |
There was a problem hiding this comment.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/bin/bash
set -euo pipefail
# Map the target file and the title parser locations.
git ls-files '.agents/skills/aicr-uat-report/**' | sed -n '1,120p'
printf '\n--- outline ---\n'
ast-grep outline .agents/skills/aicr-uat-report/uat_report.py --view expanded
printf '\n--- parse_title / title regex search ---\n'
rg -n "parse_title|NEW_TITLE|OLD_TITLE|displayTitle|reservation|intent|svc|gpu" .agents/skills/aicr-uat-report -n -A 3 -B 3Repository: NVIDIA/aicr
Length of output: 17513
🏁 Script executed:
#!/bin/bash
set -euo pipefail
# Inspect the workflow that produces displayTitle/run-name.
git ls-files '.github/workflows/*uat*' '.github/workflows/*run*' | sed -n '1,120p'
printf '\n--- workflow grep ---\n'
rg -n "run-name|dispatch|reservation|intent|gpu|version|workflow_dispatch|inputs" .github/workflows -A 4 -B 4Repository: NVIDIA/aicr
Length of output: 50368
🏁 Script executed:
#!/bin/bash
set -euo pipefail
# Read only the relevant parts of uat-run.yaml.
ast-grep outline .github/workflows/uat-run.yaml --view expanded
printf '\n--- run-name / inputs ---\n'
rg -n "run-name|workflow_dispatch|reservation|intent|aicr_version|version|dispatch_key|nightly" .github/workflows/uat-run.yaml -A 4 -B 4Repository: NVIDIA/aicr
Length of output: 11251
🏁 Script executed:
#!/bin/bash
set -euo pipefail
printf '%s\n' '--- reservation registry / validator ---'
rg -n "reservation|uat-broker|cluster-config-path|test-config-dir|name =" tools infra .github -g '!**/*.md' -A 3 -B 3
printf '\n%s\n' '--- title parsing / downstream path usage ---'
sed -n '55,90p' .agents/skills/aicr-uat-report/uat_report.py
sed -n '170,190p' .agents/skills/aicr-uat-report/uat_report.pyRepository: NVIDIA/aicr
Length of output: 50368
🏁 Script executed:
#!/bin/bash
set -euo pipefail
# Inspect the file reads under the computed dest.
sed -n '110,150p' .agents/skills/aicr-uat-report/uat_report.py
sed -n '150,220p' .agents/skills/aicr-uat-report/uat_report.py
# Probe the title regexes against a few malicious-looking inputs.
python3 - <<'PY'
import re
NEW_TITLE = re.compile(r"^UAT (\S+) (training|inference) @ (\S+)")
OLD_TITLE = re.compile(r"^UAT (\S+) @ (\S+?)(?:\s+#\S+-(\d+))?$")
tests = [
"UAT aws-h100 training @ main",
"UAT aws/h100 training @ main",
"UAT aws-h100/../../x training @ main",
"UAT aws-h100 @ v1.2.3",
"UAT aws-h100 @ v1.2.3 `#123`",
]
for t in tests:
m = NEW_TITLE.match(t) or OLD_TITLE.match(t)
print(t, "=>", None if not m else m.groups())
PYRepository: NVIDIA/aicr
Length of output: 5434
Sanitize the path components before joining
NEW_TITLE/OLD_TITLE only block whitespace; they still accept arbitrary reservation tokens, and run-name uses inputs.reservation directly. That lets a crafted reservation like ../../tmp/x flow into svc/gpu, so os.path.join(outdir, ...) can escape outdir when downloading debug bundles. intent is already bounded; the unsafe input here is reservation.
🤖 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 @.agents/skills/aicr-uat-report/uat_report.py around lines 181 - 183,
Sanitize or validate the reservation value before it is used to populate the
`svc` and `gpu` fields consumed by the `dest` path construction. Update the
`run-name`/`inputs.reservation` handling so path separators and traversal
components cannot reach `os.path.join(outdir, ...)`, while preserving the
existing bounded `intent` behavior.
Source: Linters/SAST tools
…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
…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
Summary
Adds
--download-debugto theaicr-uat-reportskill so it can fetch and triage the cluster debug bundle attached to a failing UAT run, and documents the bundle contract inSKILL.md.Motivation / Context
The skill classified each failure from its workflow step name alone. That misreads the validate step:
UAT - validate (all phases) + emit signed evidencecovers two unrelated concerns, so an evidence-emit failure with every validator passing was classified as a product-signal regression and ranked at the top of the RC validation list.Dogfooding this on the last 3 days of runs, that is exactly what happened to EKS/GB200/training (run 30025401058): the bundle shows
report.jsonat 14/14 passed with noevidence/directory, so the failure is in the evidence leg, not the product. Under the previous skill it would have led the RC list.The bundles were already being produced and uploaded by every per-cloud workflow — nothing consumed them.
Fixes: N/A
Related: N/A
Type of Change
Component(s) Affected
cmd/aicr,pkg/cli)cmd/aicrd,pkg/server)pkg/recipe)pkg/bundler,pkg/component/*)pkg/collector,pkg/snapshotter)pkg/validator)pkg/errors,pkg/k8s)docs/,examples/).agents/skills/aicr-uat-report/)Implementation Notes
Script.
--download-debug DIRlists a run's artifacts viagh api repos/{repo}/actions/runs/{id}/artifacts, picksuat-<cloud>[-<intent>]-debug-<run_id>, downloads it toDIR/<service>-<gpu>-<intent>-<run_id>/, and prints a triage digest: MANIFEST head, failing checks parsed fromreport.json, and a one-line contents summary.--run <id>(repeatable) scopes the fetch;--max-downloadscaps it at 5 by default and logs what it skipped rather than truncating silently. Reporting behaviour is byte-for-byte unchanged, and the only writes are downloaded artifacts underDIR.Three non-download outcomes are reported as signal rather than errors:
failure() && steps.prep.outcome != 'skipped', so a bring-up/image-build failure, or a downstream evidence-ingest failure where the cluster job passed, has no bundle by construction. Absence corroborates the infra classification.--daysexceeds it.Docs.
SKILL.mdgains the bundle contract (artifact naming, retention, the upload gate) and a triage-ordered table of what to open for which failure. The Step 2 classification table now carries the caveat that produced the misread above, at the point where the mistake is actually made.Testing
# Dogfooded end to end against live runs python3 .agents/skills/aicr-uat-report/uat_report.py --days 3 python3 .agents/skills/aicr-uat-report/uat_report.py --days 3 \ --download-debug /tmp/uat-debug --run 29937818785 --run 30025401058 \ --run 29892803570 --run 30069360925 --run 29981094336Five bundles fetched across all four clouds (AWS, Azure, GCP, Kind), 0.1–0.6 MB each. The digest alone resolved two failures without opening a file — AKS
nccl-all-reduce-bw(launcher pod failed) and EKSinference-perf([TIMEOUT] job completion timeout) — both read straight out ofMANIFEST.yaml'sfailingChecks. The "no artifact" path fired correctly on a GKE image-push failure. Also exercised: unknown--runid, the--max-downloadstruncation notice, and bundles with noreport.json.make qualifywas not run: this PR changes no Go, YAML, or build inputs. Verified instead withpython3 -m py_compileand the live runs above.Risk Assessment
Rollout notes: Agent tooling only; nothing ships in a release artifact. The new flag is opt-in and the default code path is unchanged, so reverting is a clean file revert.
Checklist
make testwith-race) — N/A, no Go changes; see Testingmake lint) — N/A, no Go/YAML changes;py_compilecleanSKILL.md,docs/contributor/skills.md)git commit -S)