Validate DeliverySpec in Channels & Subscriptions#5777
Conversation
|
The following is the coverage report on the affected files.
|
Codecov Report
@@ Coverage Diff @@
## main #5777 +/- ##
==========================================
+ Coverage 82.52% 82.54% +0.01%
==========================================
Files 203 203
Lines 6376 6382 +6
==========================================
+ Hits 5262 5268 +6
Misses 768 768
Partials 346 346
Continue to review full report at Codecov.
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: matzew, travis-minke-sap The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/cherry-pick release-0.26 |
|
/cherry-pick release-0.25 |
|
/cherry-pick release-0.24 |
|
@pierDipi: new pull request created: #5778 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 kubernetes/test-infra repository. |
|
@pierDipi: new pull request created: #5779 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 kubernetes/test-infra repository. |
|
@pierDipi: new pull request created: #5780 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 kubernetes/test-infra repository. |
|
@travis-minke-sap can you please give the CLA consent to the cherry-pick PRs created by the bot? |
|
This looks like a feature addition, rather than a failure / bug / security vulnerability. Do we have a cherrypick policy for eventing? (I don't know, just asking the question because I was surprised by the release.) |
|
Hi Evan, I don't know the cherrypick policy and would defer to Pier as to why he initiated that. Possibly because I created the initial issue as a "bug"? I would disagree that this is a feature... Aside from the inconsistent validation of the DeliverySpec, the enforcement of the experimental-feature flags was flat out broken for Channels / Subscriptions. I would agree it's not a security vulnerability and would also agree that it might be low-priority. Apologies if this change is for some reason undesirable - I meant well and would appreciate any advice on how it should have been handled differently? Thanks! |
IMHO, specifying an experimental feature that isn't enabled or invalid delivery parameters are bugs.
No, that I'm aware of. |
|
I agree that this was a bug, I was just wondering whether we thought it was worth recommendiing anyone who installed 0.26 to reinstall to correct this bug (which is what a patch-fix implies). This is obviously water under the bridge for this change, my larger question/concern was whether we had documentation so that people didn't have to guess whether a PR should be cherrypicked or not. |
Fixes #5776
Proposed Changes
DeliverySpecto Channel and Subscription.Pre-review Checklist
I don't see any mention of what is/isn't validated in the Specs and would assume that having consistent validation of the DeliverySpec would just be expected?
Release Note
Docs
n/a