Skip to content

chore(e2e): remove remaining migrated plugin tests and CI infrastructure#4898

Merged
openshift-merge-bot[bot] merged 4 commits into
redhat-developer:mainfrom
teknaS47:e2e-cleanup-remaining
Jun 8, 2026
Merged

chore(e2e): remove remaining migrated plugin tests and CI infrastructure#4898
openshift-merge-bot[bot] merged 4 commits into
redhat-developer:mainfrom
teknaS47:e2e-cleanup-remaining

Conversation

@teknaS47

Copy link
Copy Markdown
Member

Summary

  • Remove E2E tests for remaining migrated plugins (Bulk Import, Orchestrator, Extensions) from the rhdh-plugin-export-overlays repository (Phase 3 — RHIDP-8841)
  • Removes 13 spec files, their exclusive page objects/utils/test data, all Orchestrator CI infrastructure (scripts, operators, SonataFlow setup), and plugin entries from Helm values files, ConfigMaps, and RBAC policies
  • 44 files changed, ~6,398 lines removed

Jira: RHIDP-13952

Tests Removed

Test Files Deleted Config Removed
Orchestrator (9 specs) failswitch-workflow.spec.ts, greeting-workflow.spec.ts, orchestrator-rbac.spec.ts, orchestrator-entity-rbac.spec.ts, orchestrator-entity-workflows.spec.ts, retry-workflow.spec.ts, token-propagation-workflow.spec.ts, ui-props-test-workflow.spec.ts, workflow-all-runs-validations.spec.ts, orchestrator.ts (page object), orchestrator-rbac-helper.ts (API helper) 4 OCI plugin entries from values_showcase.yaml + values_showcase-rbac.yaml; orchestrator: SonataFlow config sections; entity-workflow templates from app-config-rhdh.yaml + app-config-rhdh-rbac.yaml; - orchestrator from pluginsWithPermission; full "Orchestrator Entity-Workflow RBAC" section from rbac-policy.csv; testIgnore entries from 6 Playwright projects; orchestrator disable overrides from 6 diff-values_showcase*.yaml files
Bulk Import bulk-import.spec.ts, bulk-import.ts (page object), bulk-import.ts (test data) 2 wrapper plugin entries from values_showcase.yaml + values_showcase-rbac.yaml; bulkImport: config + catalog URL from app-config-rhdh-rbac.yaml; bulk_import role from rbac-policy.csv, rbac-constants.ts, and authentication-providers/yamls/rbac-policy.csv; testIgnore entries from Playwright config
Extensions extensions.spec.ts, extensions.ts (page object) 3 wrapper plugin entries from values_showcase.yaml + values_showcase-rbac.yaml; extensions: config from app-config-rhdh.yaml; extension role from rbac-policy.csv + rbac-constants.ts; extensions-catalog volume mount + volume from values_showcase-rbac.yaml + 6 diff-values_showcase-rbac_*.yaml files

CI Infrastructure Removed

  • .ci/pipelines/lib/orchestrator.sh — entire file deleted (SonataFlow deployment, workflow management, plugin enablement functions)
  • .ci/pipelines/lib/operators.sh — removed operator::install_serverless_logic() and operator::install_serverless() (SonataFlow/Knative operator installs)
  • .ci/pipelines/utils.sh — removed all orchestrator delegation functions (should_skip_orchestrator, deploy_orchestrator_workflows, enable_orchestrator_plugins_op, install_orchestrator_infra_chart, disable_orchestrator_plugins_in_values); simplified base_deployment(), rbac_deployment(), cluster_setup_ocp_helm(), cluster_setup_ocp_operator() by removing orchestrator conditional logic; removed serverless operator installs from cluster_setup_ocp_operator()
  • .ci/pipelines/jobs/upgrade.sh — removed deploy_orchestrator_workflows call
  • .ci/pipelines/jobs/ocp-operator.sh — removed commented-out orchestrator deployment calls and "(orchestrator disabled)" log messages
  • .ci/pipelines/jobs/ocp-nightly.sh — removed "(orchestrator disabled)" log messages
  • diff-values_showcase_PR.yaml, diff-values_showcase-rbac_PR.yaml, diff-values_showcase_upgrade.yaml, diff-values_showcase_OSD-GCP.yaml, diff-values_showcase-rbac_OSD-GCP.yaml — cleared orchestrator override content
  • diff-values_showcase-sanity-plugins.yaml — removed orchestrator: enabled section
  • diff-values_showcase_{AKS,EKS,GKE}.yaml — removed orchestrator plugin disable entries and orchestrator: null
  • diff-values_showcase-rbac_{AKS,EKS,GKE}.yaml — removed orchestrator plugin disable entries, extensions-catalog volume mounts/volumes, and orchestrator: null

Documentation Updated

  • docs/e2e-tests/CI-medic-guide.md — removed 5 stale references to orchestrator infrastructure, orchestrator.sh, and orchestrator workflow steps
  • .ci/pipelines/lib/README.md — removed orchestrator.sh module section and stale serverless function references

Shared Dependencies Preserved

  • Keycloak catalog backend (backstage-community-plugin-catalog-backend-module-keycloak-dynamic) kept — still required by remaining tests
  • catalog.providers.keycloakOrg kept in both app-config files
  • KEYCLOAK_AUTH_* env vars kept — used by OIDC auth provider
  • RBAC support files (rbac-api.ts, rbac.ts, rbac-constants.ts, rhdh-auth-api-hack.ts) kept — still used by auditor-rbac.spec.ts and other remaining tests
  • home-page-customization.spec.ts retained with Quick Access verification

Test plan

  • OCP Helm PR job (showcase + showcase-rbac) — validates deployment with removed plugins and remaining tests pass
  • OCP Helm Nightly job — validates showcase-sanity-plugins, localization, and runtime
  • OCP Operator job — validates showcase-operator + showcase-operator-rbac

@github-actions

Copy link
Copy Markdown
Contributor

The container image build workflow finished with status: cancelled.

@teknaS47

Copy link
Copy Markdown
Member Author

/test e2e-ocp-helm-nightly
/test e2e-ocp-operator-nightly

@teknaS47

Copy link
Copy Markdown
Member Author

/hold till redhat-developer/rhdh-plugin-export-overlays#1972 is merged

@codecov

codecov Bot commented May 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 55.25%. Comparing base (701f52a) to head (37bfd7e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4898      +/-   ##
==========================================
- Coverage   55.82%   55.25%   -0.58%     
==========================================
  Files         121      109      -12     
  Lines        2350     2132     -218     
  Branches      563      536      -27     
==========================================
- Hits         1312     1178     -134     
+ Misses       1033      953      -80     
+ Partials        5        1       -4     
Flag Coverage Δ
rhdh 55.25% <ø> (-0.58%) ⬇️

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 701f52a...37bfd7e. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

Copy link
Copy Markdown
Contributor

Image was built and published successfully. It is available at:

@teknaS47

Copy link
Copy Markdown
Member Author

/test e2e-ocp-helm-nightly
/test e2e-ocp-operator-nightly

@github-actions

Copy link
Copy Markdown
Contributor

The container image build and publish workflows were skipped (either due to [skip-build] tag or no relevant changes with existing image).

@teknaS47

teknaS47 commented Jun 5, 2026

Copy link
Copy Markdown
Member Author

The bulk import tests have been migrated successfully redhat-developer/rhdh-plugin-export-overlays#2500
/unhold

@openshift-ci

openshift-ci Bot commented Jun 5, 2026

Copy link
Copy Markdown

@teknaS47: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-ocp-operator-nightly 9d29a6f link false /test e2e-ocp-operator-nightly
ci/prow/e2e-ocp-helm-nightly 9d29a6f link false /test e2e-ocp-helm-nightly

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.

@sonarqubecloud

sonarqubecloud Bot commented Jun 5, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Jun 5, 2026

Copy link
Copy Markdown
Contributor

Image was built and published successfully. It is available at:

@teknaS47

teknaS47 commented Jun 8, 2026

Copy link
Copy Markdown
Member Author

/retest

@openshift-ci openshift-ci Bot added the lgtm label Jun 8, 2026
@openshift-merge-bot openshift-merge-bot Bot merged commit f81f3f0 into redhat-developer:main Jun 8, 2026
23 checks passed
@teknaS47

Copy link
Copy Markdown
Member Author

/cherrypick release-1.10

@openshift-cherrypick-robot

Copy link
Copy Markdown
Contributor

@teknaS47: #4898 failed to apply on top of branch "release-1.10":

Applying: e2e cleanup remaining plugins
Using index info to reconstruct a base tree...
M	e2e-tests/playwright/e2e/extensions.spec.ts
M	e2e-tests/playwright/e2e/plugins/bulk-import.spec.ts
M	e2e-tests/playwright/e2e/plugins/orchestrator/failswitch-workflow.spec.ts
M	e2e-tests/playwright/e2e/plugins/orchestrator/greeting-workflow.spec.ts
M	e2e-tests/playwright/e2e/plugins/orchestrator/orchestrator-entity-rbac.spec.ts
M	e2e-tests/playwright/e2e/plugins/orchestrator/orchestrator-entity-workflows.spec.ts
M	e2e-tests/playwright/e2e/plugins/orchestrator/orchestrator-rbac.spec.ts
M	e2e-tests/playwright/e2e/plugins/orchestrator/token-propagation-workflow.spec.ts
M	e2e-tests/playwright/e2e/plugins/orchestrator/workflow-all-runs-validations.spec.ts
Falling back to patching base and 3-way merge...
CONFLICT (modify/delete): e2e-tests/playwright/e2e/extensions.spec.ts deleted in e2e cleanup remaining plugins and modified in HEAD.  Version HEAD of e2e-tests/playwright/e2e/extensions.spec.ts left in tree.
CONFLICT (modify/delete): e2e-tests/playwright/e2e/plugins/bulk-import.spec.ts deleted in e2e cleanup remaining plugins and modified in HEAD.  Version HEAD of e2e-tests/playwright/e2e/plugins/bulk-import.spec.ts left in tree.
CONFLICT (modify/delete): e2e-tests/playwright/e2e/plugins/orchestrator/failswitch-workflow.spec.ts deleted in e2e cleanup remaining plugins and modified in HEAD.  Version HEAD of e2e-tests/playwright/e2e/plugins/orchestrator/failswitch-workflow.spec.ts left in tree.
CONFLICT (modify/delete): e2e-tests/playwright/e2e/plugins/orchestrator/greeting-workflow.spec.ts deleted in e2e cleanup remaining plugins and modified in HEAD.  Version HEAD of e2e-tests/playwright/e2e/plugins/orchestrator/greeting-workflow.spec.ts left in tree.
CONFLICT (modify/delete): e2e-tests/playwright/e2e/plugins/orchestrator/orchestrator-entity-rbac.spec.ts deleted in e2e cleanup remaining plugins and modified in HEAD.  Version HEAD of e2e-tests/playwright/e2e/plugins/orchestrator/orchestrator-entity-rbac.spec.ts left in tree.
CONFLICT (modify/delete): e2e-tests/playwright/e2e/plugins/orchestrator/orchestrator-entity-workflows.spec.ts deleted in e2e cleanup remaining plugins and modified in HEAD.  Version HEAD of e2e-tests/playwright/e2e/plugins/orchestrator/orchestrator-entity-workflows.spec.ts left in tree.
CONFLICT (modify/delete): e2e-tests/playwright/e2e/plugins/orchestrator/orchestrator-rbac.spec.ts deleted in e2e cleanup remaining plugins and modified in HEAD.  Version HEAD of e2e-tests/playwright/e2e/plugins/orchestrator/orchestrator-rbac.spec.ts left in tree.
CONFLICT (modify/delete): e2e-tests/playwright/e2e/plugins/orchestrator/token-propagation-workflow.spec.ts deleted in e2e cleanup remaining plugins and modified in HEAD.  Version HEAD of e2e-tests/playwright/e2e/plugins/orchestrator/token-propagation-workflow.spec.ts left in tree.
CONFLICT (modify/delete): e2e-tests/playwright/e2e/plugins/orchestrator/workflow-all-runs-validations.spec.ts deleted in e2e cleanup remaining plugins and modified in HEAD.  Version HEAD of e2e-tests/playwright/e2e/plugins/orchestrator/workflow-all-runs-validations.spec.ts left in tree.
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
hint: When you have resolved this problem, run "git am --continue".
hint: If you prefer to skip this patch, run "git am --skip" instead.
hint: To restore the original branch and stop patching, run "git am --abort".
hint: Disable this message with "git config set advice.mergeConflict false"
Patch failed at 0001 e2e cleanup remaining plugins

Details

In response to this:

/cherrypick release-1.10

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.

openshift-merge-bot Bot pushed a commit that referenced this pull request Jun 19, 2026
…ure (#4898) (#4975)

* e2e cleanup remaining plugins

* removed empty diff-values files

* restore extensions-catalog volume required by chart init container
openshift-merge-bot Bot pushed a commit that referenced this pull request Jun 23, 2026
The orchestrator E2E tests and their page objects were migrated out of this
repo (PR #4898) to redhat-developer/rhdh-plugin-export-overlays. This 3-line
"Workflows" table page object was left behind and is imported by no spec or
support file. Remove the dead code.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants