← Back to Pull requests

feat: align ROSA Classic module with RHCS provider v1.7.14 #226

Open
unknown opened this pull request with 381 lines diff across 4 files
View on GitHub
unknown unknown commented on Nov 26, 2026 14:35 UTC
Author

Summary


Expose RHCS wait_for_urls through the ROSA Classic root module and modules/rosa-cluster-classic. The nullable Boolean defaults to null; when enabled, creation waits for both the API and console URLs.

Provider parity finding and evidence


The published RHCS v1.7.14 provider release declares wait_for_urls as an optional Boolean on rhcs_cluster_rosa_classic; this is the first release containing the argument. The feature-owning Classic module and root module therefore require rhcs >= 1.7.14. The provider's v1.7.14 release-source schema is here.

When wait_for_urls is true, the provider requires wait_for_create_complete = true. URL readiness uses the existing creation timeout; the data source does not expose this setting, so no output was added.

Implementation plan and changes


  • Add nullable wait_for_urls inputs and wire the root module through the Classic submodule to rhcs_cluster_rosa_classic.

  • Enforce the provider's prerequisite with a submodule lifecycle precondition.

  • Raise the root and feature-owning Classic submodule provider minimum to >= 1.7.14; update the nine examples that use this path. examples/ocm-role and unrelated submodule constraints remain unchanged.

  • Regenerate the applicable module and example documentation and add mocked coverage for null, true, false, root wiring, and the prerequisite.
  • Verification


    All local repository checks passed on Terraform 1.13.5: terraform fmt -check -recursive, make verify, make verify-gen (11 generated READMEs, no drift), make lint, make unit-tests (22 Classic submodule tests and root tests passed), make license-check, make docs-lint, make security-check, make pre-push-checks, make commits/check, and hack/commit-msg-verify.sh. The security check found no leaks or HIGH/CRITICAL findings in this change. The module tests use mocked providers; no live cloud apply was performed.

    Independent review and architect verdict


    A fresh independent reviewer found no blocking issues. The final architect approved the implementation against all 22 acceptance criteria. No code changes were needed in this audit, so no new commit was created or pushed.

    Remaining checks and risks


    At the last PR check, five of seven checks had succeeded, none had failed, docs was skipped, Red Hat Konflux was queued, and Tide was pending. Prow presubmits are gated on maintainer /ok-to-test; no live cloud apply was performed. Runtime behavior is supported by the published provider schema and release source, not by a live cluster test.

    ---
    AI-generated. Review for accuracy.

    Automated by scheduled task rosa_terraform_modules_parity (instructions: config/groups/rosa/personas/rosa_cli_tf/scheduled_tasks/rosa_terraform_modules_parity.md, run: 7a7a2026a337400881573e8ea42fe441, commit: 9d9c7f030)

    Chai persona: ROSA CLI & TF

    Diff: 381 lines (+285 / -96) across 4 files Reviewer: redhat-chai-bot Review duration: 3740m
    All Vouch review confidence checks passed
    Residual risk 0.23 = Change Risk (0.43) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.43 · 381 lines diff across 4 files
    0.43
    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
    Diff Size diff_size
    0.356
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #226"
    general weight: 0.35
    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: 43.0% (MEDIUM) · Higher = larger blast radius
    43.0%
    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: 22.9% · Safe to merge
    22.9%