-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
remove beta flag check for v1beta1 object param,results and array result #6644
Conversation
Skipping CI for Draft Pull Request. |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
@Yongxuanzhang i think there are still some tests sticking around that use "alpha" for object params unnecessarily, e.g.
|
Thanks! I didn't realize that propagate params tests have this |
90e5410
to
e82ec77
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
e82ec77
to
86ea75d
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Yongxuanzhang , happy to lgtm after rebased
would you mind adding a link to TEP033 here just for reference as context of the PR?
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JeromeJu, lbernick 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 |
86ea75d
to
4ebcc01
Compare
/lgtm |
4ebcc01
to
f8f6a3f
Compare
The following is the coverage report on the affected files.
|
/lgtm |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it looks like there are also some places in task_validation_test.go where the alpha flag is used unnecessarily, e.g.
ctx := config.EnableAlphaAPIFields(context.Background()) |
Can those be removed as well?
/hold |
This commit removes the beta feature flag check for v1beta1 object param,results and array result. Beta features are considered to be 'stable' for v1beta1 CRDs, so we shouldn't check them. Signed-off-by: Yongxuan Zhang [email protected]
f8f6a3f
to
9f77b3c
Compare
Thanks! Just removed 2 places, I may wrongly thought they are used for other features. |
/hold cancel |
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
/retest |
/lgtm |
Changes
This commit removes the beta feature flag check for v1beta1 object param,results and array result. Beta features are considered to be 'stable' for v1beta1 CRDs, so we shouldn't check them.
Related TEP for more context: https:/tektoncd/community/blob/main/teps/0033-tekton-feature-gates.md#new-api-fields
/kind bug
Signed-off-by: Yongxuan Zhang [email protected]
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes