Skip to content

🌱 OPRUN-4784: Move catalogd E2E steps and restoration into its suite - #3140

Closed
fao89 wants to merge 3 commits into
operator-framework:mainfrom
fao89:OPRUN-4784-pr3-catalogd-steps
Closed

fao89 wants to merge 3 commits into
operator-framework:mainfrom
fao89:OPRUN-4784-pr3-catalogd-steps

Conversation

@fao89

@fao89 fao89 commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Description

Move HA, proxy, and TLS step definitions into test/internal/e2e/catalogd/steps, together with catalogd-specific proxy state and deployment-restoration hooks. Register them in the catalogd and legacy entry points and remove their registrations from shared steps. Consume shared preparation without requiring another component extraction.

Parallel — merge wave 3. Depends on #3139, which follows #3138. After both preparation PRs merge, this extraction can be reviewed and merged in any order with the catalogd, platform, operator, and object sibling extractions. This draft currently targets main and includes the shared preparation; rebase only its own commit onto refreshed main after preparation lands. Shared suite registrations can still require ordinary merge-conflict resolution.

The focused change is e3e5184d: 8 changed files relative to ce52d8edd61bf2849ac2fef60e3abd55cb1f4e22. Feature contents and tag policy are preserved.

Jira: https://redhat.atlassian.net/browse/OPRUN-4784
Design: docs/designs/e2e-per-component.md

Validation

Local validation uses Go 1.26.5 and GOFLAGS=-buildvcs=false:

  • This branch's component, upgrade, and legacy entry points compile; helper tests pass.
  • All 16 subsets of the four component extractions were checked through actual Git merge trees, compilation, exact step-definition matching, and helper tests.
  • All 27 E2E/upgrade feature files remain byte-identical to main.
  • The combined result passes make verify, make lint (zero issues), and umask 022; make test-unit (55 passing packages, race detection and coverage).
  • Full live standard, experimental, and upgrade E2E runs were not repeated for this restructuring.

Reviewer Checklist

  • API Go Documentation (no API type changes)
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

Prepare the PR3 package boundary with reusable world, resource, condition, and command helpers. Keep step registration
intact and observe demo commands through an optional interface so shared steps do not depend on the demo recorder.

Refs: OPRUN-4784
Signed-off-by: Fabricio Aguiar <fabricio.aguiar@gmail.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Extract port-forward and metrics helpers before moving catalogd steps.
Make recording hooks explicit in platform and legacy suites, and document
the incremental ownership boundary. Keep cross-component object lookups
shared so component branches can build and land independently.

Refs: OPRUN-4784
Signed-off-by: Fabricio Aguiar <fabricio.aguiar@gmail.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
Move HA, proxy, and TLS assertions with catalog-specific state and
restoration hooks. Consume shared preparation without depending on
platform, operator-controller, or object-controller step extractions.

Refs: OPRUN-4784
Signed-off-by: Fabricio Aguiar <fabricio.aguiar@gmail.com>

rh-pre-commit.version: 2.3.2
rh-pre-commit.check-secrets: ENABLED
@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 10, 2026
@netlify

netlify Bot commented Nov 10, 2026

Copy link
Copy Markdown

👷 Deploy request for olmv1 pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit e3e5184

@openshift-ci

openshift-ci Bot commented Nov 10, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign tmshort 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

@coderabbitai

coderabbitai Bot commented Nov 10, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@fao89 fao89 closed this Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant