feat(rhdh): skip gather chain on successful PR runs via allow_skip_on_success#75094
feat(rhdh): skip gather chain on successful PR runs via allow_skip_on_success#75094gustavolira wants to merge 1 commit intoopenshift:mainfrom
Conversation
| post: | ||
| - ref: redhat-developer-rhdh-send-data-router | ||
| - chain: gather | ||
| - ref: redhat-developer-rhdh-gather |
There was a problem hiding this comment.
refs in chain: gather have optional_on_success: true which means we can use allow_skip_on_success flag and it should skip this automatically
they just weren't being skipped because the test config is missing allow_skip_on_success: true, could you try this flag and see if it works in rehearse?
| - ref: redhat-developer-rhdh-gather | |
| allow_skip_on_success: true | |
| post: | |
| - ref: redhat-developer-rhdh-send-data-router | |
| - chain: gather |
There was a problem hiding this comment.
Great catch! You're absolutely right — allow_skip_on_success: true is much simpler since the gather chain refs already have optional_on_success: true. I've simplified the PR to just add that single flag. Removed the custom gather step entirely.
The PR is now a 1-line change. Let's see how rehearse goes.
…_success Add allow_skip_on_success: true to the e2e-ocp-helm test steps config. The gather chain refs already have optional_on_success: true, so this flag enables ci-operator to skip them automatically when tests pass, saving ~8 minutes on successful PR runs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
b272605 to
bfc8dd1
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: gustavolira The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@gustavolira: 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. |
Summary
allow_skip_on_success: trueto the RHDHe2e-ocp-helmPR test stepschain: gatherrefs already haveoptional_on_success: true, so this flag enables ci-operator to skip them automatically when tests passChanges
1-line config change:
allow_skip_on_success: trueadded to thee2e-ocp-helmtest steps.On test failure, the full gather chain continues to run as before.
Test plan
Related
🤖 Generated with Claude Code