api icon indicating copy to clipboard operation
api copied to clipboard

API-1835: prevent empty low level condition types

Open deads2k opened this issue 1 year ago • 8 comments

we tried to prevent this and had a bug. The empty condition type is not very useful and should be prevented.

Since this is the low-level operator status, the number of writers should only be our operators (they own their own status), so tightening, while painful, is possible.

/assign @bertinatto

deads2k avatar Sep 23 '24 18:09 deads2k

Hello @deads2k! Some important instructions when contributing to openshift/api: API design plays an important part in the user experience of OpenShift and as such API PRs are subject to a high level of scrutiny to ensure they follow our best practices. If you haven't already done so, please review the OpenShift API Conventions and ensure that your proposed changes are compliant. Following these conventions will help expedite the api review process for your PR.

openshift-ci[bot] avatar Sep 23 '24 18:09 openshift-ci[bot]

@deads2k: This pull request references API-1835 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 epic to target the "4.18.0" version, but no target version was set.

In response to this:

we tried to prevent this and had a bug. The empty condition type is not very useful and should be prevented.

Since this is the low-level operator status, the number of writers should only be our operators (they own their own status), so tightening, while painful, is possible.

/assign @bertinatto

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-robot avatar Sep 23 '24 18:09 openshift-ci-robot

/retest-required

bertinatto avatar Sep 23 '24 23:09 bertinatto

/retest-required

Remaining retests: 0 against base HEAD 2669d1ebc91092ec32e77b1d3f503b11f759b855 and 2 for PR HEAD 59e7cb14d950ff4855fa435781b461e2de6a8d7b in total

openshift-ci-robot avatar Sep 24 '24 02:09 openshift-ci-robot

/retest-required

Remaining retests: 0 against base HEAD 2669d1ebc91092ec32e77b1d3f503b11f759b855 and 2 for PR HEAD 59e7cb14d950ff4855fa435781b461e2de6a8d7b in total

openshift-ci-robot avatar Sep 24 '24 13:09 openshift-ci-robot

/hold

no need to retest these until we fix lasttransition time.

deads2k avatar Sep 24 '24 15:09 deads2k

@bertinatto: This PR was included in a payload test run from openshift/gcp-pd-csi-driver-operator#127 trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-master-nightly-4.18-e2e-gcp-ovn-csi

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/2e3b9680-7b72-11ef-93fe-4a17220dd333-0

openshift-ci[bot] avatar Sep 25 '24 19:09 openshift-ci[bot]

we are intentionally tightening

/override ci/prow/verify-crd-schema

deads2k avatar Sep 25 '24 20:09 deads2k

@deads2k: Overrode contexts on behalf of deads2k: ci/prow/verify-crd-schema

In response to this:

we are intentionally tightening

/override ci/prow/verify-crd-schema

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[bot] avatar Sep 25 '24 20:09 openshift-ci[bot]

/retest

deads2k avatar Sep 25 '24 21:09 deads2k

/test all

deads2k avatar Sep 25 '24 22:09 deads2k

@bertinatto: This PR was included in a payload test run from openshift/gcp-pd-csi-driver-operator#127 trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

* periodic-ci-openshift-release-master-nightly-4.18-e2e-gcp-ovn-csi

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/2e3b9680-7b72-11ef-93fe-4a17220dd333-0

/lgtm

bertinatto avatar Sep 25 '24 23:09 bertinatto

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bertinatto, deads2k

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

The pull request process is described here

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[bot] avatar Sep 25 '24 23:09 openshift-ci[bot]

/override ci/prow/verify-crd-schema

deads2k avatar Sep 25 '24 23:09 deads2k

@deads2k: Overrode contexts on behalf of deads2k: ci/prow/verify-crd-schema

In response to this:

/override ci/prow/verify-crd-schema

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[bot] avatar Sep 25 '24 23:09 openshift-ci[bot]

/retest

deads2k avatar Sep 25 '24 23:09 deads2k

/retest-required

Remaining retests: 0 against base HEAD 3c700b6cb32b58a619428e246b4ad5040565ac13 and 2 for PR HEAD 32bea81091afe210c646e543a58c2e5a367d30ff in total

openshift-ci-robot avatar Sep 26 '24 00:09 openshift-ci-robot

@deads2k: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-azure 32bea81091afe210c646e543a58c2e5a367d30ff link false /test e2e-azure

Full PR test history. Your PR dashboard.

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.

openshift-ci[bot] avatar Sep 26 '24 03:09 openshift-ci[bot]

[ART PR BUILD NOTIFIER]

Distgit: ose-cluster-config-api This PR has been included in build ose-cluster-config-api-container-v4.18.0-202409260508.p0.g46b9486.assembly.stream.el9. All builds following this will include this PR.

openshift-bot avatar Sep 26 '24 05:09 openshift-bot