Skip to content

chore: deprecate generic fast OLM channel, default to fast-X.Y - #3822

Merged
openshift-merge-bot[bot] merged 7 commits into
redhat-developer:mainfrom
rm3l:RHIDP-17820--remove-fast-channel-and-default-to-fast-2-y-for-each-release-reduce-skiprange-to-force-incremental-y-updates
Oct 15, 2026
Merged

openshift-merge-bot[bot] merged 7 commits into
redhat-developer:mainfrom
rm3l:RHIDP-17820--remove-fast-channel-and-default-to-fast-2-y-for-each-release-reduce-skiprange-to-force-incremental-y-updates

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.2) 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 >=2.1.0 <2.2.0 to enforce incremental minor version upgrades (cross-minor lower bound allows upgrading from the previous minor).

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.2) 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.2.3 → fast-2.2)
  2. Run airgap e2e test — it should create a Subscription with channel: fast-2.2 instead of fast
  3. Test install-rhdh-catalog-source.sh with CI_X_VERSION=2 CI_Y_VERSION=2 — should default to fast-2.2
  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-X.Y
  • 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.2) 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 >=2.1.0 to enforce incremental
minor version updates rather than allowing jumps from 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
@rm3l rm3l changed the title fix(ci): remove generic fast OLM channel, default to fast-X.Y fix!: remove generic fast OLM channel, default to fast-X.Y Oct 12, 2026
@rm3l rm3l changed the title fix!: remove generic fast OLM channel, default to fast-X.Y chore!: remove generic fast OLM channel, default to fast-X.Y Oct 12, 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.2.0-pr-3822-52aec7b quay.io/rhdh-community/operator:2.2.0-pr-3822
Bundle quay.io/rhdh-community/operator-bundle:2.2.0-pr-3822-52aec7b quay.io/rhdh-community/operator-bundle:2.2.0-pr-3822
Catalog quay.io/rhdh-community/operator-catalog:2.2.0-pr-3822-52aec7b quay.io/rhdh-community/operator-catalog:2.2.0-pr-3822

@rm3l rm3l changed the title chore!: remove generic fast OLM channel, default to fast-X.Y chore!: remove generic fast OLM channel, default to fast-X.Y Oct 12, 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.2.0-pr-3822-84edaf2 quay.io/rhdh-community/operator:2.2.0-pr-3822
Bundle quay.io/rhdh-community/operator-bundle:2.2.0-pr-3822-84edaf2 quay.io/rhdh-community/operator-bundle:2.2.0-pr-3822
Catalog quay.io/rhdh-community/operator-catalog:2.2.0-pr-3822-84edaf2 quay.io/rhdh-community/operator-catalog:2.2.0-pr-3822

@rm3l rm3l changed the title chore!: remove generic fast OLM channel, default to fast-X.Y 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:35
@rm3l
rm3l requested a review from a team as a code owner October 13, 2026 14:35
@rhdh-qodo-merge

Copy link
Copy Markdown

PR Summary by Qodo

Default RHDH installations to versioned OLM channels

✨ Enhancement ⚙️ Configuration changes 🧪 Tests 🕐 40+ Minutes

Grey Divider

AI Description

• Publish new RHDH bundles only to versioned fast-X.Y channels and make them the default.
• Narrow skipRange and align CI, restricted-install manifests, and e2e subscriptions with versioned
 channels.
• Existing fast subscribers need a manual channel switch; catalog deprecation is not included in
 this diff.
Diagram

graph TD
  V["Release version"] --> B["Bundle build"] --> M["Bundle metadata"] --> C[("OLM catalog")] --> S["OLM subscription"]
  V --> CI["PR push CI"] --> M
  V --> I["Install scripts"] --> S
  C --> I
Loading
High-Level Assessment

The following are alternative approaches to this PR:

1. Coordinate catalog deprecation with publication
  • ➕ Makes the promised warning available when new bundles stop entering fast.
  • ➕ Keeps legacy subscriptions resolvable.
  • ➖ Requires a change in the separately managed catalog or midstream release process.

Recommendation: Keep the versioned-only bundle publication and retain the existing fast catalog channel rather than deleting it. Before rollout, confirm that the separate catalog process publishes olm.deprecations: this diff contains no deprecation entry, so it cannot itself surface the promised warning.

Files changed (10) +48 / -21

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

Default catalog installation to the CI versioned channel

• Selects fast-X.Y when both CI version components are available; otherwise retains an explicit OLM_CHANNEL override or the fast fallback. Updates the catalog-name example.

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

prepare-restricted-environment.shUse versioned channels for restricted installations +11/-5

Use versioned channels for restricted installations

• Removes generic fast from filtered catalog rendering and mirror configuration. Selects a channel from filtered versions or CI version components for generated OLM v0 and v1 resources, retaining a fallback when neither is available.

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

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

Use versioned channels in airgap setup and cleanup

• Derives the airgap Subscription channel from the operator version. For non-airgap cleanup, derives the catalog source name from OLM_CHANNEL or CI version components, with fast as a fallback.

tests/e2e/e2e_suite_test.go

Other (7) +12 / -11
pr-container-push.yamlDerive the CI default channel from the base version +2/-1

Derive the CI default channel from the base version

• Replaces the fixed fast channel with fast-X.Y computed from the validated BASE_VERSION for PR bundle publication.

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

MakefilePublish RHDH bundles only to fast-X.Y by default +2/-2

Publish RHDH bundles only to fast-X.Y by default

• Sets both the default channel and channel list for the RHDH profile to the major.minor versioned channel.

Makefile

backstage-operator.clusterserviceversion.yamlRefresh the community bundle generation timestamp +1/-1

Refresh the community bundle generation timestamp

• Updates only the generated CSV createdAt annotation.

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

bundle.DockerfileLabel the RHDH bundle with its versioned channel +2/-2

Label the RHDH bundle with its versioned channel

• Removes fast from the bundle channel label and makes fast-X.Y the bundle's default channel.

bundle/rhdh/bundle.Dockerfile

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

Restrict the generated RHDH CSV skipRange

• Changes skipRange from versions since 1.0.0 to versions starting at 2.1.0 and refreshes the generation timestamp.

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

annotations.yamlDeclare fast-X.Y as the sole bundle channel +2/-2

Declare fast-X.Y as the sole bundle channel

• Removes generic fast from bundle metadata and sets the versioned channel as its default.

bundle/rhdh/metadata/annotations.yaml

backstage-operator.clusterserviceversion.yamlNarrow the source CSV upgrade skipRange +1/-1

Narrow the source CSV upgrade skipRange

• Raises the skipRange lower bound to 2.1.0, matching the generated RHDH bundle CSV.

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.2.0-pr-3822-84edaf2 quay.io/rhdh-community/operator:2.2.0-pr-3822
Bundle quay.io/rhdh-community/operator-bundle:2.2.0-pr-3822-84edaf2 quay.io/rhdh-community/operator-bundle:2.2.0-pr-3822
Catalog quay.io/rhdh-community/operator-catalog:2.2.0-pr-3822-84edaf2 quay.io/rhdh-community/operator-catalog:2.2.0-pr-3822

@rhdh-qodo-merge

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

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (1)



View medium (1)
🟠 **Medium**
1. Explicit channel installs evade cleanup 🐞 Bug
Description
install-rhdh-catalog-source.sh replaces an explicitly supplied OLM_CHANNEL whenever both CI
version variables are set. Under that condition, the installer names its catalog source from the
CI-derived channel, but e2e teardown prefers the explicit environment value and deletes a different
catalog source.
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 choose different channels when `OLM_CHANNEL` and both CI version variables are set.
## Fix Focus Areas
- .rhdh/scripts/install-rhdh-catalog-source.sh[14-17]
- tests/e2e/e2e_suite_test.go[361-372]
## Recommended Fix
Give an explicitly set `OLM_CHANNEL` precedence in the installer, deriving `fast-X.Y` from CI variables only when no channel was supplied. Keep teardown's selection order aligned with installation.

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

Dismiss ↗ | View ↗



Resolved findings
1. Main branch installs miss new operators ✓ Resolved
Description
OLM_CHANNEL_NAME defaults to fast when no version filter or CI version variables are supplied,
although new bundles are published only to versioned fast-X.Y channels. RHDH main-branch CI
invokes the installer with --next and no channel override, so the generated Subscription cannot
receive the new bundle and may resolve an older one; ordinary unfiltered invocations also write
fast into generated Subscriptions or ClusterExtensions.
Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
RHDH main-branch CI uses `--next` without a channel override, and ordinary unfiltered installations likewise default to `fast` when CI version variables are absent. New bundles are published to versioned channels instead, so generated installation manifests can select a channel that receives no new bundles.

## Fix Focus Areas
- bundle/rhdh/metadata/annotations.yaml[7-8]
- .rhdh/scripts/install-rhdh-catalog-source.sh[14-17]
- /cross_repos/rhdh/.ci/pipelines/install-methods/operator.sh[80-88]
- .rhdh/scripts/prepare-restricted-environment.sh[1958-1965]
- .rhdh/scripts/prepare-restricted-environment.sh[2107-2113]
- .rhdh/scripts/prepare-restricted-environment.sh[2129-2138]

## Recommended Fix
Ensure RHDH’s `--next` installation selects a versioned channel present in the next catalog, coordinating the change with the RHDH repository if needed. For callers that supply no channel, derive a concrete default from the selected catalog’s available versioned channels, or require them to specify a versioned channel; use the resulting channel in both generated manifest types.

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


2. Published bundles use a placeholder channel ✗ Dismissed
Description
DEFAULT_CHANNEL and CHANNELS escape the CI version variables, so make bundle emits literal
${CI_X_VERSION} and ${CI_Y_VERSION} text instead of a versioned channel. The PR and next build
workflows invoke bundle generation without supplying those variables, and the checked-in bundle
metadata already contains the placeholders while the PR catalog computes a concrete channel
separately.
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 Makefile's escaped CI-variable references produce literal channel placeholders in generated bundle metadata, inconsistent with the concrete channel used by catalog publishing.
## Fix Focus Areas
- Makefile[47-48]
- bundle/rhdh/metadata/annotations.yaml[7-8]
- bundle/rhdh/bundle.Dockerfile[8-9]
## Recommended Fix
Derive the major and minor channel from `VERSION` in Make, use that value for both channel settings, and regenerate the checked-in bundle metadata. Verify both the PR and next build paths produce matching concrete bundle and catalog channels.

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


3. Mirrored catalogs drop existing subscribers ✗ Dismissed
Description
render_index no longer retains the generic fast channel when filtering versions, and the
oc-mirror configuration likewise stops requesting it. When a filtered catalog replaces one used by a
subscription still on fast, that subscription's channel is absent despite the upstream catalog
retaining it for compatibility.
Agent prompt
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution

## Issue description
Both filtered mirroring paths remove the deprecated channel from mirrored catalogs, breaking the intended compatibility for subscriptions that still select it.
## Fix Focus Areas
- .rhdh/scripts/prepare-restricted-environment.sh[918-925]
- .rhdh/scripts/prepare-restricted-environment.sh[1543-1552]
## Recommended Fix
Keep the existing `fast` channel in filtered catalog output and request it in the oc-mirror channel list alongside selected versioned channels. Check a filtered mirror against an existing `fast` subscription.

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



Comment thread Makefile Resolved
Comment thread bundle/rhdh/metadata/annotations.yaml Resolved
@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

rm3l added 2 commits October 13, 2026 16:59
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
@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.2.0-pr-3822-5f1747e quay.io/rhdh-community/operator:2.2.0-pr-3822
Bundle quay.io/rhdh-community/operator-bundle:2.2.0-pr-3822-5f1747e quay.io/rhdh-community/operator-bundle:2.2.0-pr-3822
Catalog quay.io/rhdh-community/operator-catalog:2.2.0-pr-3822-5f1747e quay.io/rhdh-community/operator-catalog:2.2.0-pr-3822

…-fast-channel-and-default-to-fast-2-y-for-each-release-reduce-skiprange-to-force-incremental-y-updates
@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.2.0-pr-3822-37c797e quay.io/rhdh-community/operator:2.2.0-pr-3822
Bundle quay.io/rhdh-community/operator-bundle:2.2.0-pr-3822-37c797e quay.io/rhdh-community/operator-bundle:2.2.0-pr-3822
Catalog quay.io/rhdh-community/operator-catalog:2.2.0-pr-3822-37c797e quay.io/rhdh-community/operator-catalog:2.2.0-pr-3822

…-fast-channel-and-default-to-fast-2-y-for-each-release-reduce-skiprange-to-force-incremental-y-updates
@rm3l rm3l changed the title chore!: deprecate generic fast OLM channel, default to fast-X.Y chore: deprecate generic fast OLM channel, default to fast-X.Y Oct 14, 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.2.0-pr-3822-9371200 quay.io/rhdh-community/operator:2.2.0-pr-3822
Bundle quay.io/rhdh-community/operator-bundle:2.2.0-pr-3822-9371200 quay.io/rhdh-community/operator-bundle:2.2.0-pr-3822
Catalog quay.io/rhdh-community/operator-catalog:2.2.0-pr-3822-9371200 quay.io/rhdh-community/operator-catalog:2.2.0-pr-3822

…-fast-channel-and-default-to-fast-2-y-for-each-release-reduce-skiprange-to-force-incremental-y-updates
@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.2.0-pr-3822-1d68472 quay.io/rhdh-community/operator:2.2.0-pr-3822
Bundle quay.io/rhdh-community/operator-bundle:2.2.0-pr-3822-1d68472 quay.io/rhdh-community/operator-bundle:2.2.0-pr-3822
Catalog quay.io/rhdh-community/operator-catalog:2.2.0-pr-3822-1d68472 quay.io/rhdh-community/operator-catalog:2.2.0-pr-3822

@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
@openshift-merge-bot
openshift-merge-bot Bot merged commit cbca5b9 into redhat-developer:main Oct 15, 2026
13 of 14 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 branch October 15, 2026 11:46
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