Skip to content

🌱 Skip deploying unused default catalog in e2e tests#2623

Merged
openshift-merge-bot[bot] merged 1 commit intooperator-framework:mainfrom
pedjak:skip-default-catalog-e2e
Apr 1, 2026
Merged

🌱 Skip deploying unused default catalog in e2e tests#2623
openshift-merge-bot[bot] merged 1 commit intooperator-framework:mainfrom
pedjak:skip-default-catalog-e2e

Conversation

@pedjak
Copy link
Copy Markdown
Contributor

@pedjak pedjak commented Apr 1, 2026

Description

The operatorhubio default catalog is deployed during e2e test setup but is never
used by any test scenario — all tests create their own isolated catalogs from templates.

This PR sets INSTALL_DEFAULT_CATALOGS := false for test-e2e and
test-experimental-e2e targets, matching the existing pattern in
test-extension-developer-e2e. This saves setup time and removes an
unnecessary external dependency on quay.io/operatorhubio/catalog:latest.

Reviewer Checklist

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

Copilot AI review requested due to automatic review settings April 1, 2026 15:51
@openshift-ci openshift-ci bot requested review from camilamacedo86 and tmshort April 1, 2026 15:51
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 1, 2026

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 6ed60aa
🔍 Latest deploy log https://app.netlify.com/projects/olmv1/deploys/69cd4521ebf1cd000874fb22
😎 Deploy Preview https://deploy-preview-2623--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@openshift-ci openshift-ci bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 1, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Disables deployment of the unused operatorhubio default catalog during e2e test setup to reduce setup time and remove an unnecessary dependency on quay.io/operatorhubio/catalog:latest.

Changes:

  • Set INSTALL_DEFAULT_CATALOGS := false for test-e2e
  • Set INSTALL_DEFAULT_CATALOGS := false for test-experimental-e2e

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

test-e2e: GO_BUILD_EXTRA_FLAGS := -cover
test-e2e: COVERAGE_NAME := e2e
test-e2e: export MANIFEST := $(STANDARD_RELEASE_MANIFEST)
test-e2e: export INSTALL_DEFAULT_CATALOGS := false
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using a target-specific export ... := false hard-overrides any user-provided value for INSTALL_DEFAULT_CATALOGS (including make test-e2e INSTALL_DEFAULT_CATALOGS=true), which can make debugging and local experimentation harder. Consider switching to a conditional assignment that still defaults to false but allows callers to override (e.g., test-e2e: INSTALL_DEFAULT_CATALOGS ?= false plus test-e2e: export INSTALL_DEFAULT_CATALOGS, and same for test-experimental-e2e).

Copilot uses AI. Check for mistakes.
test-experimental-e2e: GO_BUILD_EXTRA_FLAGS := -cover
test-experimental-e2e: COVERAGE_NAME := experimental-e2e
test-experimental-e2e: export MANIFEST := $(EXPERIMENTAL_RELEASE_MANIFEST)
test-experimental-e2e: export INSTALL_DEFAULT_CATALOGS := false
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using a target-specific export ... := false hard-overrides any user-provided value for INSTALL_DEFAULT_CATALOGS (including make test-e2e INSTALL_DEFAULT_CATALOGS=true), which can make debugging and local experimentation harder. Consider switching to a conditional assignment that still defaults to false but allows callers to override (e.g., test-e2e: INSTALL_DEFAULT_CATALOGS ?= false plus test-e2e: export INSTALL_DEFAULT_CATALOGS, and same for test-experimental-e2e).

Copilot uses AI. Check for mistakes.
The operatorhubio default catalog is deployed during e2e setup but never
used by any test scenario. All tests create their own isolated catalogs.
Skip it to save time and remove the external dependency.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@pedjak pedjak force-pushed the skip-default-catalog-e2e branch from c269f30 to 6ed60aa Compare April 1, 2026 16:17
@openshift-ci openshift-ci bot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Apr 1, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.86%. Comparing base (614a5ea) to head (6ed60aa).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2623      +/-   ##
==========================================
+ Coverage   63.19%   68.86%   +5.66%     
==========================================
  Files         139      139              
  Lines        9902     9902              
==========================================
+ Hits         6258     6819     +561     
+ Misses       3147     2572     -575     
- Partials      497      511      +14     
Flag Coverage Δ
e2e 37.58% <ø> (-0.07%) ⬇️
experimental-e2e 52.15% <ø> (+41.02%) ⬆️
unit 53.53% <ø> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tmshort
Copy link
Copy Markdown
Contributor

tmshort commented Apr 1, 2026

/lgtm
/approve

@openshift-ci openshift-ci bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Apr 1, 2026
Copy link
Copy Markdown
Member

@rashmigottipati rashmigottipati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci
Copy link
Copy Markdown

openshift-ci bot commented Apr 1, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: rashmigottipati, tmshort

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

The pull request process is described 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-merge-bot openshift-merge-bot bot merged commit f0a8f5e into operator-framework:main Apr 1, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants