kpa: simplify computeActiveCondition logic#14940
kpa: simplify computeActiveCondition logic#14940delphamk wants to merge 1 commit intoknative:mainfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: andrew-delph The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @andrew-delph. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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. |
|
/ok-to-test |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #14940 +/- ##
==========================================
+ Coverage 84.22% 84.23% +0.01%
==========================================
Files 213 213
Lines 16635 16641 +6
==========================================
+ Hits 14011 14018 +7
- Misses 2278 2279 +1
+ Partials 346 344 -2 ☔ View full report in Codecov by Sentry. |
df191b8 to
3c007b9
Compare
|
If this fixes a problem can you add a test (unit or e2e) that demonstrates it? |
3c007b9 to
46c0fc7
Compare
|
The failures seem legit. The original test surfaces ensures we surface image pull failure as the err message.
|
fb2440f to
7701c5a
Compare
Making changes to the pa active status has becomes difficult. This change breaks down some of the logic so that it is more readable. No changes to test cases were made as it doesn't actually change the logical cases.
7701c5a to
351d7d9
Compare
|
Hello @dprotaso , |
Making changes to the pa active status has becomes difficult. This change breaks down some of the logic so that it is more readable. No changes to test cases were made as it doesn't actually change the logical cases.
This pr is created from the comments found here: #14607 (comment)