Fix the costTxnReq ignores nested RequestTxn issue#22134
Conversation
…RequestTxn Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
Signed-off-by: Benjamin Wang <benjamin.ahrtr@gmail.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files
... and 27 files with indirect coverage changes @@ Coverage Diff @@
## main #22134 +/- ##
==========================================
- Coverage 69.66% 69.64% -0.03%
==========================================
Files 449 449
Lines 38177 38178 +1
==========================================
- Hits 26597 26589 -8
- Misses 10148 10155 +7
- Partials 1432 1434 +2 Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
ivanvc
left a comment
There was a problem hiding this comment.
Verified that the first commit breaks the tests. Thanks for the fix.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahrtr, fuweid, ivanvc 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-3.7 |
|
/cherry-pick release-3.6 |
|
@ahrtr: new pull request created: #22139 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-sigs/prow repository. |
|
@ahrtr: new pull request created: #22140 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-sigs/prow repository. |
|
/cherry-pick release-3.5 |
|
@ahrtr: new pull request created: #22162 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-sigs/prow repository. |
The
costTxnReqignores nestedRequestTxn, so it may bypass backend quota check.cc @fuweid @ivanvc @serathius
Without the second commit, the unit test reproduces the issue. After applying the patch (second commit), the test passes.