[cnv-4.22] Correct bot conflict resolution for clone-sourcer backport (#6820) #6821
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 337 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.348
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #6821"
general
weight: 0.35
RoniKishner
##### What this PR does / why we need it:
Corrects the AI conflict resolution in https://github.com/RedHatQE/openshift-virtualization-tests/pull/6820 for
cnv-4.22.CDI_CLONE_SOURCER_CLUSTER_ROLEto this branch's flatutilities/constants.pyand keeps the source PR's RoleBinding behavior.utilities/constants/storage.py, which belongs to main's split constants layout.latest_windows_data_sourcein the instance-type fixture. The original main PR only reformatted that fixture's signature; the bot changed its DataSource behavior.##### Which issue(s) this PR fixes:
Supporting correction for https://redhat.atlassian.net/browse/CNV-96371. The release backport remains PR #6820.
##### Special notes for reviewer:
Original main PR: https://github.com/RedHatQE/openshift-virtualization-tests/pull/6195
The complete backport diff against
cnv-4.22changes onlytests/fixtures/images/validation_os_images.pyandutilities/constants.pyonce this correction is merged into PR #6820.The applicable pre-commit hooks and gitlint passed. Cluster tests were not run because no cluster is available. PR #6820 still needs its release Jira metadata corrected by a maintainer; this account cannot edit the bot-owned PR.
##### jira-ticket:
NONE
This supporting PR targets the bot's branch. Merging it should not close CNV-96371; PR #6820 is the release PR that will eventually target
cnv-4.22.<details>
<summary>Original main PR description</summary>
##### What this PR does / why we need it:
From QE Storage lead I got comment it may be better to have more granular permissions: "view" + "cdi.kubevirt.io:clone-sourcer", as this is what we will recommend to customers. It would be good to have the same in the tests.
Granular built-in ClusterRoles that together grant the least-privilege permissions to clone
golden images across namespaces (the combination recommended to customers): read access to the
source images (`
view) plus permission to clone from the source PVCs (cdi.kubevirt.io:clone-source`).##### Which issue(s) this PR fixes:
CNV-96366
##### Special notes for reviewer:
Co-Authored: Opus 4.8 <noreply@anthropic.com>
##### jira-ticket:
NONE
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Chores
Updated validation environment access and resource lookups for Windows image testing.
* No user-facing functionality changes.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
</details>
---
_Generated by Codex · Agents: primary (/root) · Skills: backport-cnv-tests · Models: gpt-6-sol_