Repository navigation
fix(shipwright): avoid multiple API calls to check OpenShiftBuilds CR - #4469
Conversation
Changes: Avoid multiple API calls to check OpenShiftBuilds CR when ShipwrightBuild or SharedResources is already populated. The result of the API call is irrelevant if the struct are already populated. Signed-off-by: Sayan Biswas <sabiswas@redhat.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4469 +/- ##
=======================================
Coverage 31.84% 31.84%
=======================================
Files 530 530
Lines 25533 25534 +1
=======================================
+ Hits 8130 8131 +1
Misses 17403 17403
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jkhelil 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-v0.82.x |
|
✅ Cherry-pick to A new pull request has been created to cherry-pick this change to PR: #4470 Please review and merge the cherry-pick PR. |
Changes
Avoid multiple API calls to check OpenShiftBuilds CR when ShipwrightBuild or SharedResources is already populated. The result of the API call is irrelevant if the struct are already populated.
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make test lintbefore submitting a PRSee the contribution guide for more details.
Release Notes