Skip to content

Conversation

@gustavolira
Copy link
Member

Summary

Add CI configuration for the new /test rerun-failed-tests command for the RHDH project. This command re-executes only the tests that failed in the previous e2e-ocp-helm run, optimizing CI time and resources.

Changes

New Step Registry

  • ci-operator/step-registry/redhat-developer/rhdh/ocp/rerun-failed-tests/
    • OWNERS
    • redhat-developer-rhdh-ocp-rerun-failed-tests-ref.yaml
    • redhat-developer-rhdh-ocp-rerun-failed-tests-commands.sh

Modified CI Config

  • ci-operator/config/redhat-developer/rhdh/redhat-developer-rhdh-main.yaml
    • Added new test rerun-failed-tests (optional, manually triggered)

New Command

After this PR is merged, the following command will be available in RHDH PRs:

/test rerun-failed-tests

Dependencies

This PR depends on: redhat-developer/rhdh#4037

🤖 Generated with Claude Code

@openshift-ci openshift-ci bot requested a review from josephca January 21, 2026 13:50
@openshift-ci-robot openshift-ci-robot added the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jan 21, 2026
@openshift-ci openshift-ci bot requested a review from rm3l January 21, 2026 13:50
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 21, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: gustavolira
Once this PR has been reviewed and has the lgtm label, please assign josephca for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot removed the rehearsals-ack Signifies that rehearsal jobs have been acknowledged label Jan 21, 2026
gustavolira and others added 3 commits January 21, 2026 14:11
Add CI configuration for the new `/test rerun-failed-tests` command
that re-executes only tests that failed in the previous e2e-ocp-helm run.

New step registry:
- ci-operator/step-registry/redhat-developer/rhdh/ocp/rerun-failed-tests/

New test configuration in redhat-developer-rhdh-main.yaml:
- as: rerun-failed-tests
- optional: true (manually triggered via /test rerun-failed-tests)
- Uses cluster_claim with OCP 4.18 on AWS

This PR depends on: redhat-developer/rhdh#4037

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add the required metadata.json file for the rerun-failed-tests step.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Generated via `make jobs` - adds the prowjob configuration for the
new rerun-failed-tests test.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@gustavolira gustavolira force-pushed the feat/rhdh-rerun-failed-tests branch from e02c983 to ea34f7e Compare January 21, 2026 17:35
@openshift-ci-robot
Copy link
Contributor

[REHEARSALNOTIFIER]
@gustavolira: the pj-rehearse plugin accommodates running rehearsal tests for the changes in this PR. Expand 'Interacting with pj-rehearse' for usage details. The following rehearsable tests have been affected by this change:

Test name Repo Type Reason
pull-ci-redhat-developer-rhdh-main-rerun-failed-tests redhat-developer/rhdh presubmit Presubmit changed
Interacting with pj-rehearse

Comment: /pj-rehearse to run up to 5 rehearsals
Comment: /pj-rehearse skip to opt-out of rehearsals
Comment: /pj-rehearse {test-name}, with each test separated by a space, to run one or more specific rehearsals
Comment: /pj-rehearse more to run up to 10 rehearsals
Comment: /pj-rehearse max to run up to 25 rehearsals
Comment: /pj-rehearse auto-ack to run up to 5 rehearsals, and add the rehearsals-ack label on success
Comment: /pj-rehearse list to get an up-to-date list of affected jobs
Comment: /pj-rehearse abort to abort all active rehearsals
Comment: /pj-rehearse network-access-allowed to allow rehearsals of tests that have the restrict_network_access field set to false. This must be executed by an openshift org member who is not the PR author

Once you are satisfied with the results of the rehearsals, comment: /pj-rehearse ack to unblock merge. When the rehearsals-ack label is present on your PR, merge will no longer be blocked by rehearsals.
If you would like the rehearsals-ack label removed, comment: /pj-rehearse reject to re-block merging.

@gustavolira
Copy link
Member Author

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 21, 2026

@gustavolira: all tests passed!

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants