fix(prow): mark terraform-provider-rhcs contexts as required-if-present - #81211
Conversation
Resolve Tide conflict where branch-protection contexts were treated as both required and required-if-present for conditional presubmit jobs. Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
Warning Review limit reached
Next review available in: 21 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
WalkthroughExtends Tide context_options gating
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…nch protection All presubmit contexts are conditional (always_run: false). Keeping them in required_status_checks conflicted with Tide required-if-present policy when from-branch-protection is enabled globally. Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
|
[REHEARSALNOTIFIER] Note: If this PR includes changes to step registry files ( Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/lgtm |
|
/lgtm |
|
/approve |
|
/check-required-labels |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: amandahla, deepsm007, hector-vido, jerichokeyne The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@amandahla: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
@amandahla: Updated the following 2 configmaps:
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
…nt (openshift#81211) * fix(prow): mark terraform-provider-rhcs contexts as required-if-present Resolve Tide conflict where branch-protection contexts were treated as both required and required-if-present for conditional presubmit jobs. Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com> * fix(prow): drop conditional contexts from terraform-provider-rhcs branch protection All presubmit contexts are conditional (always_run: false). Keeping them in required_status_checks conflicted with Tide required-if-present policy when from-branch-protection is enabled globally. Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com> --------- Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
…nt (openshift#81211) * fix(prow): mark terraform-provider-rhcs contexts as required-if-present Resolve Tide conflict where branch-protection contexts were treated as both required and required-if-present for conditional presubmit jobs. Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com> * fix(prow): drop conditional contexts from terraform-provider-rhcs branch protection All presubmit contexts are conditional (always_run: false). Keeping them in required_status_checks conflicted with Tide required-if-present policy when from-branch-protection is enabled globally. Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com> --------- Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
…nt (openshift#81211) * fix(prow): mark terraform-provider-rhcs contexts as required-if-present Resolve Tide conflict where branch-protection contexts were treated as both required and required-if-present for conditional presubmit jobs. Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com> * fix(prow): drop conditional contexts from terraform-provider-rhcs branch protection All presubmit contexts are conditional (always_run: false). Keeping them in required_status_checks conflicted with Tide required-if-present policy when from-branch-protection is enabled globally. Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com> --------- Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
…nt (openshift#81211) * fix(prow): mark terraform-provider-rhcs contexts as required-if-present Resolve Tide conflict where branch-protection contexts were treated as both required and required-if-present for conditional presubmit jobs. Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com> * fix(prow): drop conditional contexts from terraform-provider-rhcs branch protection All presubmit contexts are conditional (always_run: false). Keeping them in required_status_checks conflicted with Tide required-if-present policy when from-branch-protection is enabled globally. Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com> --------- Signed-off-by: Amanda Hager Lopes de Andrade Katz <amanda.katz@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
Fix Tide configuration conflict for
terraform-redhat/terraform-provider-rhcswhere conditional presubmit contexts were treated as both required and required-if-present.Type of change
fix (prow)
Related
None
Changes
tide.context_optionsoverride in_config.yamlforterraform-redhat/terraform-provider-rhcsonmain.required-if-present-contextsso Tide only requires them when the corresponding conditional presubmit jobs run.Breaking changes
No.
Testing / validation
make prow-configcompleted successfully.make checkconfigno longer reports the supplemental config merge error fortide.context_options; local run still hits an unrelatedstat ... invalid argumentenvironment warning.Made with Cursor
Summary by CodeRabbit
This change updates Tide configuration for
terraform-redhat/terraform-provider-rhcsin the OpenShift release CI config so merge requirements match how its conditional presubmit jobs are gated.Practically, it:
tide.context_optionsoverride for theterraform-redhatorgmainbranch rule forterraform-provider-rhcsrequired-if-present-contexts, preventing Tide from treating them as unconditional required checks when the matching conditional jobs are not runThis resolves the branch-protection/Tide conflict for that repository without introducing breaking changes.