[release-4.22] OCPBUGS-114725: display operators in catalog when Tech Preview enabled - #17103
[release-4.22] OCPBUGS-114725: display operators in catalog when Tech Preview enabled#17103sdodson wants to merge 2 commits into
Conversation
useCatalogItems returned `loading = true` (in progress) as the second element of its tuple, but CatalogExtensionHookResolver treats the second element as `loaded = true` (ready). This caused the catalog to call onValueResolved immediately with an empty array, then never again once real items arrived from /api/olm/catalog-items/. Rename `loading` to `loaded` and invert the initial state (false → true on completion) in both useCatalogItems and useCatalogCategories. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The OLMv0 console.catalog/item-type for "operator" had no flag guard, causing it to remain active alongside the OLMv1 item-type when OLMV1_ENABLED=true. This produced a duplicate "Operators" entry in the catalog type selector. Add the same disallowed: [OLMV1_ENABLED] flag that already gates the OLMv0 item-provider, so only the OLMv1 item-type is active when OLMv1 is enabled. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: sdodson The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
/assign @simkam |
|
@sdodson: Jira Issue OCPBUGS-85646 has been cloned as Jira Issue OCPBUGS-114725. Will retitle bug to link to clone. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
/retitle [release-4.22] OCPBUGS-114388: display operators in catalog when Tech Preview enabled |
|
/retitle [release-4.22] OCPBUGS-114725: display operators in catalog when Tech Preview enabled |
|
@sdodson: This pull request references Jira Issue OCPBUGS-114725, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
@sdodson: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
This is an automated cherry-pick of #16976
Backports OLMv1 catalog fix commits to release-4.22:
Note: The Playwright test commit (9906290) was skipped due to conflicts — those test files were removed in the 4.22 branch.