feat: backport orchestrator failswitch workflow tests to release-1.9 - #4246
Conversation
Backport of #3738 and #3996 from main, adapted to the release-1.9 CI structure (keeping utils.sh instead of lib/orchestrator.sh). Changes: - Migrate orchestrator from user-onboarding to failswitch workflow - Update workflow repo from rhdh-orchestrator-test to rhdhorchestrator - Add failswitch-workflow.spec.ts with comprehensive UI tests - Update orchestrator page object with new failswitch methods - Re-enable greeting workflow tests - Add executeCommandWithRetries to log-utils - Add orchestrator test skip logic for OSD-GCP and PR OCP helm jobs - Update sfp patch env vars in rbac_deployment Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR TypeEnhancement, Tests Description
|
| Relevant files | |||||
|---|---|---|---|---|---|
| Configuration changes |
| ||||
| Enhancement |
| ||||
| Tests |
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
|
/test ? |
|
/test e2e-ocp-helm-nightly |
|
The image is available at: |
After patching a SonataFlow CR, the operator needs time to reconcile and create the deployment. Without waiting, `oc rollout status` fails with "deployments.apps not found". Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
🚫 Image Push Skipped. The container image push was skipped because the build was skipped (either due to [skip-build] tag or no relevant changes with existing image) |
Fixes Sonar code smell violations for local variable naming convention. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
🚫 Image Push Skipped. The container image push was skipped because the build was skipped (either due to [skip-build] tag or no relevant changes with existing image) |
|
|
/test e2e-ocp-helm-nightly |
|
/test e2e-ocp-helm |
|
LGTM |
|
/approve |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: y-first 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 |



Summary
Backport of #3738 and #3996 from
maintorelease-1.9, adapted to the existing CI structure (keepingutils.shinstead of the refactoredlib/orchestrator.shmodule frommain).CI Scripts (
.ibm/pipelines/utils.sh)user-onboardingtofailswitchworkflowrhdh-orchestrator-testtorhdhorchestratorfail-switchandgreetingworkflows (applied viaoc applydirectly)deploy_orchestrator_workflows()anddeploy_orchestrator_workflows_operator()to usefailswitchinstead ofuser-onboardingwait_for_deploymentto usesonataflow-platform-data-index-service(was truncated)rbac_deployment()sfp patch with new env vars (QUARKUS_DATASOURCE_REACTIVE_POSTGRESQL_SSL_MODE)E2E Tests
failswitch-workflow.spec.tswith comprehensive UI tests (execution, abort, status validations, rerun from failure, cross-workflow linking)orchestrator.tspage object with failswitch methods and updated abort dialog handlinggreeting-workflow.spec.ts(removed.skip)executeCommandWithRetriestolog-utils.tsplaywright.config.tsfor OSD-GCP and PR OCP helm (non-nightly) jobsTest plan
deploy_orchestrator_workflowscorrectly deploys failswitch and greeting workflowsdeploy_orchestrator_workflows_operatorcorrectly deploys in operator mode🤖 Generated with Claude Code