Promote scanned build images with scoped kernel-header findings #241
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 246 lines diff across 3 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.330
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #241"
general
weight: 0.35
griwes
ECR Basic Scanning completes on the Debian 13 build images but attributes 136 runtime-kernel CVEs to the installed userspace header package
linux-libc-dev. Two other critical findings come from Debian stable’s curl package.Install curl 8.21 from Trixie backports and verify every installed curl-source package meets that version floor. Verify
linux-libc-devis the only installed binary from Debian’slinuxsource both after package installation and in the final unpruned and pruned images. Keep incremental image seeds on the configured Debian release.Promotion still requires complete scans and matching summary/list counts. It reports the runtime-kernel header findings and refuses every other critical finding, including unknown packages or malformed records.
Validated package installation in a Trixie container, compatibility checks against Trixie and unstable images, local CI policy/image tests, and a live fail-closed probe against the current ECR scan: 136 header-only Linux findings were recognized, while the two remaining curl findings blocked promotion. The full rebuilt image and its new ECR scan remain to be validated by CI.
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Build Environment
Build images now use Debian Trixie and verify required Linux and curl packages, including minimum curl versions.
Reused build images are selected only when their Debian release matches the configured base.
Bug Fixes
Image promotion now rejects incomplete or inconsistent vulnerability scan reports and blocks non-exempt critical findings. Eligible Linux kernel findings are reported separately.
AWS runner workflows validate repository details before constructing image locations.
Tests
Expanded checks cover package verification, scan report validation, and AWS image repository handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->