← Back to Pull requests

Fix false MAC collisions after decentralized migration cleanup #717

Closed
unknown closed this pull request without merging on Nov 25, 2026 07:37 UTC
View on GitHub
unknown unknown commented on Nov 23, 2026 08:30 UTC
Author

What this PR does / why we need it:

KubeVirt 1.10.0 target cleanup clears the nested migration states. KubeMacPool (that use these to filter migrating source-taget partners from being signaled as duplicate MACs) then loses the connection between migration partners and can report a false MAC collision while the source VMI is still Running.

Include the retained top-level migration UID when matching partners. Add regression coverage, strengthen the migration test to check both VMIs after cleanup, and bump test KubeVirt to v1.10.0.

Fixes k8snetworkplumbingwg/kubemacpool#716.

Special notes for your reviewer:

Unit tests pass and the functional suite compiles. Live migration E2E remains unrun because the local test cluster is unavailable.

Release note:

``release-note
Fix false MAC collision reports after successful decentralized migration cleanup with KubeVirt 1.10.0.
``

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

<!-- coderabbit-ai-generated:v1 -->

Summary by CodeRabbit

Bug Fixes
Improved MAC collision detection during VM migrations. Source and target VMs that share migration identifiers are no longer incorrectly reported as colliding after migration cleanup, while unrelated VMs with conflicting MAC addresses continue to be detected.
Updates
Cluster setup now uses KubeVirt v1.10.0.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Diff: 190 lines (+142 / -48) across 2 files Reviewer: qinqon Review duration: 2827m
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.59) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.59 · 190 lines diff across 2 files
0.59
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
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.314
Shallow Review Depth shallow_review_depth
0.289
Sensitive Paths sensitive_paths
0.059
Real PR Conversation Timeline
1 comments
"Review active on #717"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed sensitive_module
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 59.1% (MEDIUM) · Higher = larger blast radius
59.1%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 23.3% · Safe to merge
23.3%