← Back to Pull requests

[ENHANCEMENT] document and test high availability conversion webhook #530

Merged
jgbernalp merged 35 files (12559 lines) on Nov 11, 2026 14:01 UTC
View on GitHub
jgbernalp jgbernalp commented on Nov 09, 2026 13:49 UTC
Author

Description

Test and document adding 2 replicas, pod disruption budget and pod affinity so the conversion webhook present in the controller is highly available. This is opt-in via a kustomization patch.

Type of change

<!-- What type of changes does your code introduce? Put an x in the box that applies. -->

  • FEATURE (non-breaking change which adds functionality)

  • ENHANCEMENT (non-breaking change which improves existing functionality)

  • BUGFIX (non-breaking change which fixes an issue)

  • BREAKINGCHANGE (fix or feature that would cause existing functionality to not work as expected)

  • DOC (documentation only)

  • IGNORE (tooling, build system, CI, etc.)
  • Verification

    <!-- How did you test it? How do you know it works? -->

  • Unit tests added/updated

  • Integration tests added/updated

  • E2E tests added/updated

  • Manual testing performed
  • Checklist

  • Pull request has a descriptive title and context useful to a reviewer

  • Code follows project conventions and passes linting

  • All commits have DCO signoffs
  • Diff: 12559 lines (+12543 / -16) across 35 files Reviewer: dougkirkley Review duration: 2892m
    All Vouch review confidence checks passed
    Residual risk 0.38 = Change Risk (0.72) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.72 · 12559 lines diff across 35 files
    0.72
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.03 · 1 substantive comment(s)
    0.03
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    47%
    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.400
    Shallow Review Depth shallow_review_depth
    0.339
    Mass File Touch mass_file_touch
    0.080
    Real PR Conversation Timeline
    1 comments
    "Review active on #530"
    general weight: 0.35
    Reviewers
    Assignees
    jgbernalp jgbernalp
    Labels
    risk: medium confidence: 47.3% 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: 71.5% (HIGH) · Higher = larger blast radius
    71.5%
    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: 47.3% · Lower = rushed or shallow review
    47.3%
    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: 37.7% · Moderate risk
    37.7%