← Back to Pull requests

Refactor/aws describe/resource tagging api #89459

Open
unknown opened this pull request with 142 lines diff across 1 files
View on GitHub
unknown unknown commented on Nov 25, 2026 16:32 UTC
Author

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

Summary by CodeRabbit

This change updates the ipi/aws/describe step in the openshift/release step registry. The step writes an AWS resource inventory for each cluster.

  • Discovers regional resources with the Resource Groups Tagging API, filtered by the kubernetes.io/cluster/${INFRA_ID}=owned tag.

  • Adds EC2 networking, target groups, S3 buckets, KMS keys, IAM roles and profiles, and Route53 hosted zones to the inventory.

  • Selects classic load balancers by ownership tags and V2 load balancers by discovered ARNs.

  • Uses us-east-1 as the global region for commercial AWS, us-gov-west-1 for GovCloud, and cn-northwest-1 for China.

  • Regional and global discovery failures log warnings, and the step continues. ARN-based collections can be incomplete.

  • Redacts AWS errors and selected resource fields.

  • Raises the timeout from 5m to 10m and the memory request from 100Mi to 200Mi. Adds a 30s grace period. The CPU request is unchanged.

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

    Diff: 142 lines (+106 / -36) across 1 files Reviewer: rh-cbent Review duration: 9544m
    All Vouch review confidence checks passed
    Residual risk 0.20 = Change Risk (0.38) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.38 · 142 lines diff across 1 files
    0.38
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    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
    Shallow Review Depth shallow_review_depth
    0.344
    Diff Size diff_size
    0.297
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #89459"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% 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: 37.7% (MEDIUM) · Higher = larger blast radius
    37.7%
    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: 46.7% · Lower = rushed or shallow review
    46.7%
    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: 20.1% · Safe to merge
    20.1%