feat(image-updater): render run summary artifacts (AROSLSRE-2916) #8306
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 388 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.357
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #8306"
general
weight: 0.35
raelga
Jira: AROSLSRE-2916
What
image-updater summaryturns the artifacts of a completed run into a self-contained HTML page, a JSON artifact and the pull request body.| Artifact | Flag | Content |
|---|---|---|
| HTML card |
--output| revision, base commit, branch, templatize source, generated time, run link, created pull request link, changed count, per-component old and new digests with tag and status || JSON |
--json-output| the same report for later comparison || Pull request body |
--body-output| markdown table with the changed components only; the page and JSON keep the full set |--updatesis the JSON output ofupdate --output-format json.--receiptis the receiptpublishprints and supplies the created pull request link.--receiptis optional, so the body can be prepared before publishing.--pull-request-urllinks an existing pull request when no receipt exists yet, and--job-urllinks the run.--output,--json-outputor--body-outputis required.--revisionis required by the page and the JSON report, and by nothing else: a body-only run takes just--updatesand--body-output.html/template, and a receipt without a pull request URL is refused.Why
At
VERBOSITY=0a completed run left only the updater result line and the Slack webhook response, so a four-minute run that changed eight files looked like a no-op. The step wiring in openshift/release consumes these artifacts under${ARTIFACT_DIR}, and the card must link the digest pull request the run published.Command lifecycle
RawSummaryOptionsholds the input paths, report metadata and destinations (internal/options/summary.go).Validaterejects missing inputs and destinations before any file is read.Completereads and parses the update results and, when given, the publish receipt.Runrenders and writes the requested artifacts.cmd/summary.goorchestrates Validate, Complete, Run; construction fails on a binding error.Testing
go test -C tooling/image-updater ./...Components changed: 9and linked the pull request.https://prow.ci.openshift.org/view/gs/test-platform-results-public/pr-logs/pull/openshift_release/89576/rehearse-89576-periodic-ci-Azure-ARO-HCP-main-image-updater-image-updater-tooling/2126380818661117952
!image