← Back to Pull requests

GCP-1503: Document operator RoleBinding recovery path #187

Open
unknown opened this pull request with 236 lines diff across 2 files
View on GitHub
unknown unknown commented on Dec 01, 2026 16:04 UTC
Author

Summary


  • Align with the revised GCP-1503 plan: document the new regional PAM-gated delete-gecko-rolebinding workflow with project_namespace and binding_name inputs, not an extension to generic delete.

  • Preserve generic delete, native Kubernetes namespace protections and activate-project unchanged.

  • Explain arbitrary Gecko binding-name scope, returned-result inspection, remaining grants and asynchronous replication.

  • Explicitly document the competing-activation residual risk: no established per-project lock and no guaranteed ownership transfer.

  • Infra changes are implemented separately; this describes intended behavior, not verified deployment.
  • Jira: https://redhat.atlassian.net/browse/GCP-1503

    Validation


  • Revised implementation plan and current Jira acceptance criteria checked.

  • Architect review of revised diff: no blockers.

  • git diff --check passed; JSON input contract parsed and relative links verified.

  • No repository documentation lint target/configuration found.

  • No deployment or live workflow/PAM tests performed; those remain separate infra work.
  • <!-- This is an auto-generated comment: release notes by coderabbit.ai -->
    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    Documentation
    Added an operator guide for deleting a specific Gecko RoleBinding through the regional, approval-gated workflow. It covers confirming the workflow and access controls are available, obtaining time-limited approval, identifying the exact binding and region, and verifying the result and effective access.
    * Documented the workflow’s scope, input constraints, and audit retention, along with limitations: other access grants may remain, deletion does not prevent reactivation, and cross-region revocation may be delayed.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 236 lines (+177 / -59) across 2 files Reviewer: gbarabasz Review duration: 5437m
    All Vouch review confidence checks passed
    Residual risk 0.20 = Change Risk (0.37) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 236 lines diff across 2 files
    0.37
    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.327
    Real PR Conversation Timeline
    1 comments
    "Review active on #187"
    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.2% (MEDIUM) · Higher = larger blast radius
    37.2%
    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: 19.8% · Safe to merge
    19.8%