← Back to Pull requests

remove cluster arch fetch in each retry and clean up wait times #10198

Closed
unknown closed this pull request without merging on Oct 14, 2026 14:45 UTC
View on GitHub
unknown unknown commented on Oct 12, 2026 18:14 UTC
Author

<!-- OPTIONAL — uncomment when there is a tracker: -->
<!-- Fixes: https://issues.redhat.com/browse/RHOAIENG-123456 -->

Problem


The e2e tests can take well over 1.5 hours and time out the CI.

The inference service retry check had an extra OC architecture check command. It added several extra seconds
<img width="915" height="1070" alt="Screenshot 2026-10-12 at 2 09 30 PM" src="https://github.com/user-attachments/assets/37fab9af-2574-49bf-94a8-bb8d71c0ae3c" />

As a result the retry check took 18 seconds instead of 8 seconds

Solution


Move the getArchitecture check outside of the retry loop. Do it only once. Also 50 seconds of waiting is way to large sicne that would be 80 minutes of waiting, this is down to 8. This also declutters the logs

I also moved the check to be every 10 seconds instead of 8 seconds. Less log clutter and easier to do math in your head

Lastly I targeted a runtime of 4 minutes for small models. the 8 minutes remains if it's a large (language) model

Evidence

See CI runs, tbd
<!-- OPTIONAL — uncomment when needed: -->
<!-- ## Justifications -->

<!-- Instructions

This description is the sole source of truth for review of this PR.
Review and lander gates read only this description — not chat or comment threads.
A linked Jira ticket may still be checked for product-ask alignment.

Source of truth — this PR description

  • Restate what matters for this head here. If you depart from the ticket ask, say

  • so in this description and why.
  • If a thread changes the ask or a rebuttal, fold that change into this description

  • (do not leave the durable claim only in a comment).
  • Tracker (optional): uncomment the Fixes: line at the top; do not bury the ticket

  • only in Problem/Solution.

    Hygiene

  • Present-tense, current with the head. No TBD/placeholders.

  • PR title = user-visible change (unless a workflow requires a specific title format — that format wins).

  • Allow maintainer edits: on.
  • Problem (required)


  • Broken workflow or gap — not the code-level cause.

  • Enough to check against the diff and any linked ticket ACs.
  • Solution (required)


  • What changed and why. Skip file lists.

  • Note security/RBAC, API/contract, migrations, breaking changes when relevant.
  • Evidence (required)


  • How you validated: commands, tests, CI links, cluster checks; steps, not only outcome.

  • What automation covers this (new or existing), or why new tests aren't appropriate.

  • Screenshots, GIFs, and/or video for UI or flow changes; logs when useful. Fullsend does not read CI for you.

  • Redact tokens, passwords, and cluster credentials.

  • Cluster check with the PR image when permission/backend/hard-to-mock matters.

  • Long output: short summary up top; fold details:
  • <details>
    <summary>build log output</summary>

    ...

    </details>

    Justifications (optional)


  • Only if the approach fights repo guidance/norms and review would keep flagging it.

  • Which norm, why this PR is still correct, what proof. Update this description when

  • that rationale changes; comment threads alone are not enough.
    -->

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

    Summary by CodeRabbit

    Tests
    Updated automated deployment checks to account for large models when verifying inference-service readiness.
    GPU-cluster checks now use the large-model readiness criteria; non-GPU checks remain unchanged.
    Readiness checks poll at intervals based on model size and cluster architecture, with a shorter maximum number of attempts.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 448 lines (+336 / -112) across 5 files Reviewer: andyatmiami Review duration: 2670m
    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 · 448 lines diff across 5 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.365
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #10198"
    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.4% (MEDIUM) · Higher = larger blast radius
    45.4%
    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.9% · Safe to merge
    17.9%