Skip to content

🌱 OPRUN-4784: Prepare shared helpers for independent E2E step extractions - #3139

Closed
fao89 wants to merge 2 commits into
operator-framework:mainfrom
fao89:OPRUN-4784-pr3-shared-helpers
Closed

fao89 wants to merge 2 commits into
operator-framework:mainfrom
fao89:OPRUN-4784-pr3-shared-helpers

Conversation

@fao89

@fao89 fao89 commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Description

Extract port-forward and metrics helpers before catalogd steps move, export the common assertion helpers used by component packages, and make recording-hook registration explicit in platform and legacy entry points. Document incremental step ownership. These common prerequisites let the four component extractions build and land independently.

Serial — merge wave 2. Depends on #3138. This draft targets main because the preparation branches exist only in the fork, so its current overall diff includes that prerequisite. After shared-state is squash-merged, rebase only this branch’s own commit onto refreshed main. The four component extractions can land in parallel after this PR merges.

The focused change is ce52d8ed: 8 changed files relative to 348df94c74ddc6c6e3d431667934376a919289d1. 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
@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 ce52d8e

@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 pedjak 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

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