Skip to content

[release-2.1] chore: deprecate generic fast OLM channel, default to fast-X.Y - #3821

Merged
nickboldt merged 6 commits into
redhat-developer:release-2.1from
rm3l:RHIDP-17820--remove-fast-channel-and-default-to-fast-2-y-for-each-release-reduce-skiprange-to-force-incremental-y-updates--release-2.1
Oct 15, 2026
Merged

nickboldt merged 6 commits into
redhat-developer:release-2.1from
rm3l:RHIDP-17820--remove-fast-channel-and-default-to-fast-2-y-for-each-release-reduce-skiprange-to-force-incremental-y-updates--release-2.1

Conversation

@rm3l

@rm3l rm3l commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Description

Deprecate the generic fast OLM channel using olm.deprecations and make the versioned fast-X.Y channel (e.g., fast-2.1) the default for new installations. The fast channel remains in the catalog so existing subscriptions are not broken, but new bundles are only published to versioned fast-X.Y channels. Users on fast will see a deprecation warning and should switch to the appropriate versioned channel.

Also narrow skipRange to >=1.10.0 <2.1.0 to enforce incremental minor version upgrades and allow cross-minor upgrades from 1.10.x (there was no 2.0.z release — we went directly from 1.10 to 2.1).

Note: Users currently subscribed to the fast channel will continue to run without errors, but will no longer receive new versions. They should switch their Subscription or ClusterExtension to the appropriate fast-X.Y channel (e.g., fast-2.1) to receive future updates. The deprecation message is surfaced via OLM's olm.deprecations schema in the catalog (midstream change).

Changes:

  • Makefile: default channel and channels list now use fast-$CI_X_VERSION.$CI_Y_VERSION
  • Bundle metadata/CSV: channels and skipRange updated
  • CI workflow: DEFAULT_CHANNEL computed dynamically from BASE_VERSION
  • e2e tests: airgap test derives OLM channel from operator version; cleanup uses env-based channel
  • install-rhdh-catalog-source.sh: defaults to fast-X.Y when CI_X_VERSION/CI_Y_VERSION are set; when channel cannot be determined, omits the channel field entirely so OLM uses the catalog's defaultChannel
  • prepare-restricted-environment.sh: removed fast from opm render filter and imageset-config; OLMv0/v1 manifests conditionally include the channel — when undetermined, the field is omitted and a warning is logged

Which issue(s) does this PR fix or relate to

PR acceptance criteria

  • Tests — e2e test updated to use versioned channel
  • Documentation — release notes should document the channel deprecation for users on fast channel

How to test changes / Special notes to the reviewer

  1. Verify the CI workflow computes DEFAULT_CHANNEL correctly from BASE_VERSION (e.g., 2.1.3 → fast-2.1)
  2. Run airgap e2e test — it should create a Subscription with channel: fast-2.1 instead of fast
  3. Test install-rhdh-catalog-source.sh with CI_X_VERSION=2 CI_Y_VERSION=1 — should default to fast-2.1
  4. Test install-rhdh-catalog-source.sh without CI_X_VERSION/CI_Y_VERSION — should omit the channel field and log a warning
  5. Test prepare-restricted-environment.sh — generated manifests should reference fast-X.Y channel when determinable, or omit it when not

Tested on live OCP clusters

  • Verified that removing fast channel causes ResolutionFailed (namespace-wide impact) — hence deprecation approach instead
  • Verified that deprecating via olm.deprecations keeps subscriptions healthy while surfacing a warning
  • Verified skipRange enforcement: users on 1.9 cannot skip to 2.1 directly, must go 1.9 → 1.10 → 2.1
  • Verified channel switch (CLI) upgrades cleanly from fast to fast-2.1
  • Verified on regular OCP 4.22 cluster that the PackageManifest shows all channels (fast, fast-1.10, fast-2.1) and that channel switching works from the OCP console UI

Container Images

Container images are built and pushed to Quay automatically when relevant files change.
Image links will be posted in a PR comment once the push completes.

Assisted-by: Claude

Remove the generic "fast" OLM channel and make the versioned "fast-X.Y"
channel (e.g., fast-2.1) the default for new installations. This forces
users to explicitly choose their upgrade path via versioned channels.

Also reduce skipRange from >=1.0.0 to >=1.10.0 to enforce incremental
minor version updates rather than allowing jumps from early 1.x.

BREAKING CHANGE: Users currently subscribed to the "fast" channel will
need to manually switch their Subscription or ClusterExtension to use
the appropriate "fast-X.Y" channel to receive future updates.

Ref: RHIDP-17820

Assisted-by: Claude
@github-actions

Copy link
Copy Markdown
Contributor

✅ PR images built and pushed successfully!

Images are available for testing (expires in 7 days):

Image Full tag PR tag
Operator quay.io/rhdh-community/operator:2.1.0-pr-3821-eaf2b45 quay.io/rhdh-community/operator:2.1.0-pr-3821
Bundle quay.io/rhdh-community/operator-bundle:2.1.0-pr-3821-eaf2b45 quay.io/rhdh-community/operator-bundle:2.1.0-pr-3821
Catalog quay.io/rhdh-community/operator-catalog:2.1.0-pr-3821-eaf2b45 quay.io/rhdh-community/operator-catalog:2.1.0-pr-3821

@github-actions

Copy link
Copy Markdown
Contributor

✅ PR images built and pushed successfully!

Images are available for testing (expires in 7 days):

Image Full tag PR tag
Operator quay.io/rhdh-community/operator:2.1.0-pr-3821-772b71a quay.io/rhdh-community/operator:2.1.0-pr-3821
Bundle quay.io/rhdh-community/operator-bundle:2.1.0-pr-3821-772b71a quay.io/rhdh-community/operator-bundle:2.1.0-pr-3821
Catalog quay.io/rhdh-community/operator-catalog:2.1.0-pr-3821-772b71a quay.io/rhdh-community/operator-catalog:2.1.0-pr-3821

@rm3l rm3l changed the title fix(ci): remove generic fast OLM channel, default to fast-X.Y [release-2.1] fix!: remove generic fast OLM channel, default to fast-X.Y Oct 12, 2026
@rm3l rm3l changed the title [release-2.1] fix!: remove generic fast OLM channel, default to fast-X.Y [release-2.1] chore!: remove generic fast OLM channel, default to fast-X.Y Oct 12, 2026
@rm3l rm3l changed the title [release-2.1] chore!: remove generic fast OLM channel, default to fast-X.Y [release-2.1] chore!: remove generic fast OLM channel, default to fast-X.Y Oct 12, 2026
@rm3l rm3l changed the title [release-2.1] chore!: remove generic fast OLM channel, default to fast-X.Y [release-2.1] chore!: deprecate generic fast OLM channel, default to fast-X.Y Oct 13, 2026
@rm3l rm3l changed the title [release-2.1] chore!: deprecate generic fast OLM channel, default to fast-X.Y [release-2.1] chore: deprecate generic fast OLM channel, default to fast-X.Y Oct 13, 2026
@rm3l
rm3l marked this pull request as ready for review October 13, 2026 14:34
@rm3l
rm3l requested a review from a team as a code owner October 13, 2026 14:34
@rhdh-qodo-merge

Copy link
Copy Markdown

PR Summary by Qodo

Default RHDH OLM installs to versioned fast channels

⚙️ Configuration changes ✨ Enhancement 🕐 40+ Minutes

Grey Divider

AI Description

• Publish new RHDH bundles only to versioned fast-X.Y channels, leaving existing fast subscriptions
 intact.
• Narrow the 2.1 upgrade skipRange to start at 1.10.0.
• Align CI, disconnected-install manifests, and e2e subscriptions with versioned channels.
Diagram

graph TD
  Version["Release Version"] --> Makefile["Bundle Settings"] --> Bundle["Versioned Bundle"] --> Catalog["OLM Catalog"] --> Scripts["Install Scripts"] --> Tests["E2E Tests"]
  Version --> CI["PR Workflow"] --> Catalog
Loading
High-Level Assessment

Publishing new bundles only to fast-X.Y while retaining the existing fast catalog channel is preferable to deleting fast, which would disrupt current subscriptions. The diff does not add an olm.deprecations entry; the warning described in the PR depends on the stated midstream catalog change.

Files changed (10) +47 / -21

Enhancement (2) +17 / -7
install-rhdh-catalog-source.shDefault catalog-source installs to the CI versioned channel +6/-2

Default catalog-source installs to the CI versioned channel

• Uses CI_X_VERSION and CI_Y_VERSION to select fast-X.Y when both are present; otherwise retains an OLM_CHANNEL override or the fast fallback. Updates the resource-name example.

.rhdh/scripts/install-rhdh-catalog-source.sh

prepare-restricted-environment.shSelect versioned channels for restricted installs +11/-5

Select versioned channels for restricted installs

• Stops explicitly including fast in filtered catalog output and image-set configuration. Computes a channel from filtered versions or CI version variables for generated OLM v0 and v1 manifests, with a fallback when neither is available.

.rhdh/scripts/prepare-restricted-environment.sh

Tests (1) +19 / -3
e2e_suite_test.goUse versioned channels in airgap installation and cleanup +19/-3

Use versioned channels in airgap installation and cleanup

• Derives the airgap Subscription channel from the operator version. Uses OLM_CHANNEL or CI version variables to determine the non-airgap catalog-source name during cleanup, retaining a fast fallback.

tests/e2e/e2e_suite_test.go

Other (7) +11 / -11
pr-container-push.yamlDerive the PR catalog default channel from BASE_VERSION +1/-1

Derive the PR catalog default channel from BASE_VERSION

• Removes the fixed fast channel and writes fast-X.Y to the workflow environment after validating the base version.

.github/workflows/pr-container-push.yaml

MakefileSet RHDH bundle channels to fast-X.Y +2/-2

Set RHDH bundle channels to fast-X.Y

• Changes both the RHDH default channel and published channel list from generic fast to the CI major.minor versioned channel.

Makefile

backstage-operator.clusterserviceversion.yamlRefresh generated Backstage CSV timestamp +1/-1

Refresh generated Backstage CSV timestamp

• Updates the generated createdAt annotation without changing the Backstage operator's channel behavior.

bundle/backstage.io/manifests/backstage-operator.clusterserviceversion.yaml

bundle.DockerfileLabel the RHDH bundle with only fast-X.Y +2/-2

Label the RHDH bundle with only fast-X.Y

• Sets the bundle image's channel list and default-channel labels to the CI major.minor versioned channel.

bundle/rhdh/bundle.Dockerfile

backstage-operator.clusterserviceversion.yamlNarrow the generated RHDH CSV skipRange +2/-2

Narrow the generated RHDH CSV skipRange

• Changes the 2.1 bundle's skipRange lower bound from 1.0.0 to 1.10.0 and refreshes its generated timestamp.

bundle/rhdh/manifests/backstage-operator.clusterserviceversion.yaml

annotations.yamlAdvertise only fast-X.Y in bundle annotations +2/-2

Advertise only fast-X.Y in bundle annotations

• Makes the versioned channel the sole listed channel and the default in RHDH bundle metadata.

bundle/rhdh/metadata/annotations.yaml

backstage-operator.clusterserviceversion.yamlSet the source CSV skipRange lower bound to 1.10.0 +1/-1

Set the source CSV skipRange lower bound to 1.10.0

• Aligns the source RHDH CSV skipRange with the generated 2.1 bundle.

config/manifests/rhdh/bases/backstage-operator.clusterserviceversion.yaml

@github-actions

Copy link
Copy Markdown
Contributor

✅ PR images built and pushed successfully!

Images are available for testing (expires in 7 days):

Image Full tag PR tag
Operator quay.io/rhdh-community/operator:2.1.0-pr-3821-772b71a quay.io/rhdh-community/operator:2.1.0-pr-3821
Bundle quay.io/rhdh-community/operator-bundle:2.1.0-pr-3821-772b71a quay.io/rhdh-community/operator-bundle:2.1.0-pr-3821
Catalog quay.io/rhdh-community/operator-catalog:2.1.0-pr-3821-772b71a quay.io/rhdh-community/operator-catalog:2.1.0-pr-3821

@rhdh-qodo-merge

rhdh-qodo-merge Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (3)



View medium (3)
🟠 **Medium**
1. Channel overrides leave the wrong catalog 🐞 Bug
Description
install-rhdh-catalog-source.sh chooses the CI-derived channel before checking an explicitly
supplied OLM_CHANNEL. With both CI version variables set, an e2e run specifying
OLM_CHANNEL=stable installs rhdh-fast-X.Y, while the changed teardown prioritizes the override
and tries to delete rhdh-stable.
Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The installer and e2e teardown disagree about which channel an explicit override selects.
## Fix Focus Areas
- .rhdh/scripts/install-rhdh-catalog-source.sh[14-18]
- tests/e2e/e2e_suite_test.go[361-372]
## Recommended Fix
Prefer a nonempty OLM_CHANNEL over the CI-derived default in the installer, and keep teardown channel precedence identical to installation.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Dismiss ↗ | View ↗


2. Older filtered catalogs lose their default 🐞 Bug
Description
render_index retains the olm.package record but no longer retains its fast channel when
filtering versions. When an older source index names fast as its package default, the filtered
catalog keeps that reference without the channel it names, even if a requested versioned channel is
present.
Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
Filtered older indexes can retain package metadata pointing to a removed default channel.
## Fix Focus Areas
- .rhdh/scripts/prepare-restricted-environment.sh[900-926]
## Recommended Fix
When filtering an index, either retain the channel named by the package default or update the filtered package record to a channel retained in the output. Validate the resulting catalog.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Dismiss ↗ | View ↗


3. Local catalog builds use an invalid default 🐞 Bug
Description
The RHDH DEFAULT_CHANNEL is now an escaped CI-variable placeholder, which catalog-build passes
directly to opm init and writes into its channel entry rather than deriving from VERSION.
Running that target without CI version variables, as its standalone Makefile target permits, does
not produce a concrete fast-X.Y catalog default.
Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
The catalog-build recipe consumes a bundle placeholder as its catalog channel.
## Fix Focus Areas
- Makefile[47-48]
- Makefile[378-385]
## Recommended Fix
Keep placeholders where bundle generation requires them, but compute a concrete major.minor channel from VERSION for catalog-build, or require and resolve the CI version inputs before invoking opm.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

Dismiss ↗ | View ↗



Resolved findings
1. Imported catalogs select a missing channel ✓ Resolved
Description
OLM_CHANNEL_NAME falls back to fast when the import invocation omits --filter-versions, even
if the saved export configuration selected only versioned channels. Exporting with
--filter-versions 2.1 and later importing with --from-dir without that option reuses the
filtered catalog but generates a Subscription or ClusterExtension requesting fast.
Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
A disk import can generate installation manifests for a channel excluded during export.
## Fix Focus Areas
- .rhdh/scripts/prepare-restricted-environment.sh[1958-1965]
- .rhdh/scripts/prepare-restricted-environment.sh[1543-1549]
- .rhdh/scripts/prepare-restricted-environment.sh[1623-1627]
## Recommended Fix
Persist the selected channel alongside the export configuration and load it on import, or derive it from the saved configuration before generating either OLM manifest.

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools



@rhdh-qodo-merge

Copy link
Copy Markdown

Important

The /generate_labels command by Qodo was deprecated on the 1st of October 2026 and is no longer available. We recommend switching to the latest Qodo review capabilities. Learn more

@nickboldt nickboldt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

as long as we're ok with falling back to the fast channel, which won't have 2.1 in it (and might cause some confusion/chaos?), then +1

rm3l added 2 commits October 13, 2026 17:11
Instead of silently falling back to the deprecated 'fast' channel,
fail with a clear error message when neither --filter-versions nor
CI_X_VERSION/CI_Y_VERSION are set.

Assisted-by: Claude
…el apply

Instead of erroring out or falling back to the generic 'fast' channel
when the OLM channel cannot be determined, omit the channel field from
OLMv0 Subscription and OLMv1 ClusterExtension manifests entirely.
OLM will then use the catalog's defaultChannel automatically.

This is safer than hardcoding 'fast' (which won't contain newer
releases) and more user-friendly than erroring out.

Assisted-by: Claude
@openshift-ci openshift-ci Bot removed the lgtm label Oct 13, 2026
@github-actions

Copy link
Copy Markdown
Contributor

✅ PR images built and pushed successfully!

Images are available for testing (expires in 7 days):

Image Full tag PR tag
Operator quay.io/rhdh-community/operator:2.1.0-pr-3821-bdf6faf quay.io/rhdh-community/operator:2.1.0-pr-3821
Bundle quay.io/rhdh-community/operator-bundle:2.1.0-pr-3821-bdf6faf quay.io/rhdh-community/operator-bundle:2.1.0-pr-3821
Catalog quay.io/rhdh-community/operator-catalog:2.1.0-pr-3821-bdf6faf quay.io/rhdh-community/operator-catalog:2.1.0-pr-3821

…-remove-fast-channel-and-default-to-fast-2-y-for-each-release-reduce-skiprange-to-force-incremental-y-updates--release-2.1
@github-actions

Copy link
Copy Markdown
Contributor

✅ PR images built and pushed successfully!

Images are available for testing (expires in 7 days):

Image Full tag PR tag
Operator quay.io/rhdh-community/operator:2.1.0-pr-3821-3a6af96 quay.io/rhdh-community/operator:2.1.0-pr-3821
Bundle quay.io/rhdh-community/operator-bundle:2.1.0-pr-3821-3a6af96 quay.io/rhdh-community/operator-bundle:2.1.0-pr-3821
Catalog quay.io/rhdh-community/operator-catalog:2.1.0-pr-3821-3a6af96 quay.io/rhdh-community/operator-catalog:2.1.0-pr-3821

@rm3l
rm3l requested a review from nickboldt October 13, 2026 16:07
…-remove-fast-channel-and-default-to-fast-2-y-for-each-release-reduce-skiprange-to-force-incremental-y-updates--release-2.1
@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown
Contributor

✅ PR images built and pushed successfully!

Images are available for testing (expires in 7 days):

Image Full tag PR tag
Operator quay.io/rhdh-community/operator:2.1.0-pr-3821-3d2b8d0 quay.io/rhdh-community/operator:2.1.0-pr-3821
Bundle quay.io/rhdh-community/operator-bundle:2.1.0-pr-3821-3d2b8d0 quay.io/rhdh-community/operator-bundle:2.1.0-pr-3821
Catalog quay.io/rhdh-community/operator-catalog:2.1.0-pr-3821-3d2b8d0 quay.io/rhdh-community/operator-catalog:2.1.0-pr-3821

@nickboldt nickboldt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

let's merge and see what breaks!

@openshift-ci openshift-ci Bot added the lgtm label Oct 15, 2026
@nickboldt
nickboldt merged commit df2b51a into redhat-developer:release-2.1 Oct 15, 2026
10 of 11 checks passed
@rm3l
rm3l deleted the RHIDP-17820--remove-fast-channel-and-default-to-fast-2-y-for-each-release-reduce-skiprange-to-force-incremental-y-updates--release-2.1 branch October 15, 2026 11:34
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.

2 participants