← Back to Pull requests

CNTRLPLANE-4579: Add test plan for Deterministic LB IP Management #4

Closed
unknown closed this pull request without merging on Oct 26, 2026 10:17 UTC
View on GitHub
unknown unknown commented on Oct 14, 2026 09:09 UTC
Author

Summary

  • IEEE 829 test plan for Deterministic LoadBalancer IP Management

  • 32 test cases across 9 sections, consolidated into 3 E2E tests + 3 unit suites

  • Covers: annotation passthrough, loadBalancerClass, sidecar zero-rollout (SIGUSR2), /kas-ip endpoint, HAProxy prerequisite, CEL validation, hash stability, Cilium provider, upgrade flow with ValidLoadBalancerIPConfiguration / ValidLoadBalancerIPSupport condition transitions

  • Added .gitignore for local tool config (.claude/settings.local.json, .serena/)
  • References

  • Enhancement: openshift/enhancements#2117

  • Epic: CNTRLPLANE-4574

  • User Story: CNTRLPLANE-4579

  • Strategy: OCPSTRAT-2653
  • CI Execution Strategy

    E2E (3 tests):

  • Presubmit (Agent/MetalLB): Full Day 1+2 lifecycle — TC-001 through TC-009, TC-016

  • Periodic (Agent/MetalLB): Upgrade flow with condition transitions — TC-029 through TC-032

  • Periodic (Cilium): Provider validation — TC-028
  • Unit/Integration (3 suites, presubmit):

  • CEL validation (TC-019–TC-024)

  • Hash stability (TC-025–TC-027)

  • /kas-ip HTTP handler (TC-012–TC-015)
  • Fixes

  • CNTRLPLANE-4579
  • Test plan

  • Review test case coverage against enhancement (openshift/enhancements#2117)

  • Verify condition names match implementation in openshift/hypershift#9913

  • Confirm CI tier assignment (presubmit vs periodic) with team
  • 🤖 Generated with Claude Code

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

    Summary by CodeRabbit

    Documentation
    Added a draft IEEE 829 test plan for deterministic LoadBalancer IP management, covering validation, integrations, compatibility, upgrades, risks, and CI coverage.
    Added an implementation plan covering feature-gated API fields, annotation handling, IP migration, routing, endpoint behavior, configuration stability, NodePool compatibility, and testing.
    Chores
    Excluded local settings and tool-generated files from version control.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 296 lines (+222 / -74) across 3 files Reviewer: sdminonne Review duration: 17347m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 296 lines diff across 3 files
    0.45
    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.341
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #4"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    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: 45.0% (MEDIUM) · Higher = larger blast radius
    45.0%
    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: 17.8% · Safe to merge
    17.8%