Skip to content

Conversation

@jstuever
Copy link
Contributor

This change adds the ability to get the featureGates from the cluster.
This can be built upon by new features to ensure their functionality is
protected by the desired featureGate until ready for GA.

This change also adds better error handling to the operator startup
processes in order to ensure it releases leader election when experiencing
an error.

Assisted-by: gemini-3-pro-preview

Previously, the leader election was not being released when there was an
error starting the operator. This caused a delay when the operator was
restarted while it waited for the leader election timeout. This
significantly delayed the bootstrap process if the static pod
experienced an error, sometimes causing it to fail altogether.

This change adds better error handling to the operator startup processes
in order to ensure it releases leader election when experiencing an
error.

Assisted-by: gemini-3-pro-preview
This change adds the ability to get the featureGates from the cluster.
This can be built upon by new features to ensure their functionality is
protected by the desired featureGate until ready for GA.
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 15, 2026
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jan 15, 2026

@jstuever: This pull request references CCO-805 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.22.0" version, but no target version was set.

Details

In response to this:

This change adds the ability to get the featureGates from the cluster.
This can be built upon by new features to ensure their functionality is
protected by the desired featureGate until ready for GA.

This change also adds better error handling to the operator startup
processes in order to ensure it releases leader election when experiencing
an error.

Assisted-by: gemini-3-pro-preview

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.

@openshift-ci openshift-ci bot requested review from 2uasimojo and suhanime January 15, 2026 23:53
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 15, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jstuever

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-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 15, 2026
@codecov
Copy link

codecov bot commented Jan 15, 2026

Codecov Report

❌ Patch coverage is 0% with 56 lines in your changes missing coverage. Please review.
✅ Project coverage is 46.31%. Comparing base (ec9d4a0) to head (8988f56).

Files with missing lines Patch % Lines
pkg/cmd/operator/cmd.go 0.00% 56 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #962      +/-   ##
==========================================
- Coverage   46.48%   46.31%   -0.17%     
==========================================
  Files          98       98              
  Lines       12181    12225      +44     
==========================================
  Hits         5662     5662              
- Misses       5869     5913      +44     
  Partials      650      650              
Files with missing lines Coverage Δ
pkg/cmd/operator/cmd.go 0.00% <0.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jstuever
Copy link
Contributor Author

/override ci/prow/security
Appears to be broken, not giving us a clear signal.

@jstuever
Copy link
Contributor Author

/assign @dlom

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 16, 2026

@jstuever: Overrode contexts on behalf of jstuever: ci/prow/security

Details

In response to this:

/override ci/prow/security
Appears to be broken, not giving us a clear signal.

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 kubernetes-sigs/prow repository.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 16, 2026

@jstuever: all tests passed!

Full PR test history. Your PR dashboard.

Details

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 kubernetes-sigs/prow repository. I understand the commands that are listed here.

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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants