automation: security-only Renovate policy and generated PR hygiene #711
All Vouch review confidence checks passed
Residual risk 0.29 = Change Risk (0.73) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.73 · 614 lines diff across 7 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.384
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.073
Real PR Conversation Timeline
1 comments
"Review active on #711"
general
weight: 0.35
RamLavi
What this PR does / why we need it:
Follow-up to #705/#706/#707 based on the first fully successful Renovate run (run 42890552941): the run itself worked end to end, but it opened routine update PRs (#709/#710), created a dependency dashboard (#708) full of dependencies this automation never touches, and its debug log exposed two config and output-hygiene defects. This PR makes the automation security-only and fixes the generated output.
92121610) — the workflow passedrenovate.jsonthrough the action'sconfigurationFileinput while Renovate also discovered the same file as repository config. Renovate merges both sources and concatenates array options such asextends, so:gitSignOffwas applied twice and every generated commit carried a duplicated sign-off trailer. The input is dropped; repository autodiscovery now applies the file exactly once.31489209) — the opener usedgh pr create --fill-first, which copies the candidate commit's full message into the PR body; Renovate commit bodies carry little besides sign-off trailers, so generated descriptions were bare trailer blocks. The CVSS summary was then appended in a separate edit that could duplicate itself on every re-push. The opener now builds the body explicitly: commit subject as title, commit body without sign-off trailers, a note about the validation that ran, and the CVSS summary for security updates in the same step. For existing PRs the summary is appended only when its content changed.4efb7eb2) — routine dependency bumps are out of scope for this automation. A blanket package rule now disables every routine update; OSV vulnerability alerts still flow because Renovate injects them with forcedvulnerabilityAlertssettings that override the rule, so everyrenovate/security/branch remains alert-driven and passes the CVSS gate before a PR can open. The grouping rules and the scopedk8s.iodisable rule are subsumed and removed.5dea531e) — the dashboard listed every detected dependency, including the ones this automation deliberately never updates, so most of its content was noise under a security-only policy.:dependencyDashboardis removed; Renovate closes #708 automatically on its next run.a379a30c) — a security update can pass the CVSS gate and still fail automated validation, for example when a major bump changes an API and vendoring breaks. The branch was then deleted silently like any false alarm, and because the gate ran after the vendoring check its approval was not even recorded. The gate now runs first and captures its verdict as a workflow output, and a newsecurity-intervention-trackerjob opens one deduplicated[renovate-security-intervention] <branch>issue per branch whose update passed the gate but failed validation — created with the failing run and resolution instructions, refreshed on every evaluation, respecting a human closure, and closed automatically once validation passes. The branch is still cleaned up so it cannot go stale; the issue is the durable record asking for human intervention.Special notes for your reviewer:
otlptracegrpcsecurity branch stuck in limbo since run 2 (branch existed with a red check, so Renovate neither pushed nor opened the PR) was deleted manually; the next Renovate run recreates it and the fixed opener should finally open its PR — the gate already approved that exact bump.renovate/security/branches; the validation steps themselves are unchanged.docs/renovate-automation.md) are updated within each commit.Release note:
``
release-note
``NONE
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Automation
New and existing pull requests include the latest security summary and validation details; existing summaries are refreshed rather than duplicated.
Security checks run before vendoring and Go version validation. Scan failures and validation failures can be tracked in issues, which close after validation and pull request creation succeed.
Routine dependency updates are disabled; vulnerability-alert updates remain enabled.
Documentation
Updated guidance covers pull request content, security checks and issue tracking, and Renovate configuration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->