← Back to Pull requests

feat(e2e): test delayed role assignments on nodePool disk encryption set #8176

Open
unknown opened this pull request with 284 lines diff across 3 files
View on GitHub
unknown unknown commented on Nov 18, 2026 15:59 UTC
Author

<!-- Link to Jira issue -->

https://redhat.atlassian.net/browse/ARO-30680

What

  • Test that when role assignments on nodepool disk encryption set are not present at creation time, the user gets an actionable error, and can rectify the create if they add role assignments.
  • <!-- Briefly describe what this PR does -->

    Why

  • Before functionality is exposed to customers via removal of the AFEC and tag requirement of the backend controller, it needs to be e2e tested in all environments.
  • <!-- Briefly explain why this change is needed -->

    Testing

    Testing is required for feature completion and tests should be part of the pull
    request along with the feature changes.

    Describe the testing provided. If you did not add tests, provide a clear
    justification.

  • Unit tests

  • Integration tests

  • E2E tests
  • Special notes for your reviewer

    <!-- optional -->

    PR Checklist

  • Understand Code Review Process managed by OpenShift CI bot

  • PR is scoped to a single task (no mixed concerns)

  • Title follows Conventional Commits format

  • Summary explains the "Why" behind the change

  • Linked to relevant ticket/issue

  • Screenshots included (if dashboards or other UI changes)

  • Self-reviewed the diff

  • CI/CD checks are passing (ignore Tide)

  • Draft PR used for WIP (if applicable)

  • Commit history is clean (rebased/squashed)

  • Tricky code blocks are commented

  • Specific reviewers tagged via /assign command

  • All comment threads resolved before merge
  • If E2E tests are included:

  • E2E tests follow Principles of Good E2E Test Case Design

  • If new E2E use case is covered (via a new test or new check/verifier),

  • demonstrate that the test is able to detect a defect/error and fail with
    proper error message and logs which communicates nature of the problem.

    Diff: 284 lines (+213 / -71) across 3 files Reviewer: tmstff Review duration: 18856m
    All Vouch review confidence checks passed
    Residual risk 0.34 = Change Risk (0.63) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.63 · 284 lines diff across 3 files
    0.63
    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.338
    Sensitive Paths sensitive_paths
    0.063
    Real PR Conversation Timeline
    1 comments
    "Review active on #8176"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% 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: 62.9% (MEDIUM) · Higher = larger blast radius
    62.9%
    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: 33.5% · Safe to merge
    33.5%
    Repository