Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update KEP template with comment wrt to enablement/disablement tests in PRR section #3206

Merged
merged 1 commit into from
Feb 24, 2022

Conversation

wojtek-t
Copy link
Member

@wojtek-t wojtek-t commented Feb 2, 2022

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 2, 2022
@k8s-ci-robot k8s-ci-robot added the kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory label Feb 2, 2022

Additionally, for features that are introducing a new API field, unit tests that
are exercising the `switch` of feature gate itself (what happens if I disable a
feature gate after having objects written with the new field) is also critical.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
feature gate after having objects written with the new field) is also critical.
feature gate after having objects written with the new field) are also critical.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed.

are exercising the `switch` of feature gate itself (what happens if I disable a
feature gate after having objects written with the new field) is also critical.
You can take a look at one potential example of such test in:
https://github.com/kubernetes/kubernetes/pull/97058/files#diff-7826f7adbc1996a05ab52e3f5f02429e94b68ce6bce0dc534d1be636154fded3R246-R282
Copy link
Member

Choose a reason for hiding this comment

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

Not sure if we need the example? Or maybe we should add an example to the first comment block too?

Copy link
Member Author

Choose a reason for hiding this comment

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

Multiple people were telling me that they have no idea how to do that - after I was giving them a link it seems that it's actually happening. So I think it's useful.

Regarding the first block, we're much less prescriptive there - I'm fine with updating that, but maybe we can do that in a separate PR?

@kikisdeliveryservice
Copy link
Member

Adding a hold - I don't think the KEP template should be changing before the enhancements collection period ends.

/hold

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 3, 2022
@kikisdeliveryservice kikisdeliveryservice added area/enhancements Issues or PRs related to the Enhancements subproject and removed kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory labels Feb 3, 2022
@wojtek-t wojtek-t force-pushed the update_kep_template branch from e10afc8 to 628974b Compare February 3, 2022 14:14
@k8s-ci-robot k8s-ci-robot added the kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory label Feb 3, 2022
@wojtek-t
Copy link
Member Author

wojtek-t commented Feb 3, 2022

Adding a hold - I don't think the KEP template should be changing before the enhancements collection period ends.

Sure - this can (and should) absolutely wait until then (given it's more-or-less almost now).

@johnbelamaric
Copy link
Member

looks good

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: johnbelamaric, wojtek-t

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 23, 2022
@johnbelamaric
Copy link
Member

/lgtm

I'll leave it to another reviewer to remove the hold

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 23, 2022
@deads2k
Copy link
Contributor

deads2k commented Feb 24, 2022

I think change will help people.

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 24, 2022
@k8s-ci-robot k8s-ci-robot merged commit 2bee05c into kubernetes:master Feb 24, 2022
@k8s-ci-robot k8s-ci-robot added this to the v1.24 milestone Feb 24, 2022
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. area/enhancements Issues or PRs related to the Enhancements subproject cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants