-
Notifications
You must be signed in to change notification settings - Fork 160
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
chore: remove generics from Reconcier and use PlatformObject as base object type #1514
chore: remove generics from Reconcier and use PlatformObject as base object type #1514
Conversation
6bd5ff2
to
39b2cb4
Compare
/retest |
2 similar comments
/retest |
/retest |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1514 +/- ##
=======================================
Coverage 19.69% 19.69%
=======================================
Files 161 161
Lines 11102 11102
=======================================
Hits 2187 2187
Misses 8683 8683
Partials 232 232 ☔ View full report in Codecov by Sentry. |
Keeps failing because |
/test all |
39b2cb4
to
3bad97b
Compare
keep failing because of
Adding some log to figure out what's going on |
It may be caused by the order of testing, is |
/test opendatahub-operator-e2e |
It looks like that when the That said, the work @grdryn is doing to get rid of FT may help to improve the e2e tests but in the meantime I'd propose to:
|
59227d1
to
3bad97b
Compare
Removed commits moved to #1522 |
/test opendatahub-operator-e2e |
…object type - remove generics from Reconciler struct as it is not needed - set PlatformObject as the base obnject that the Reconciler handles to ensure the reconciler can access to common objects fields
3bad97b
to
3a0dc16
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ykaliuta 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 |
/test opendatahub-operator-e2e |
2 similar comments
/test opendatahub-operator-e2e |
/test opendatahub-operator-e2e |
/test all |
94ac12c
into
opendatahub-io:main
…object type (opendatahub-io#1514) - remove generics from Reconciler struct as it is not needed - set PlatformObject as the base obnject that the Reconciler handles to ensure the reconciler can access to common objects fields (cherry picked from commit 94ac12c)
* Fix typo in file name: pkg/utils/test/matchers/matechers.go -> pkg/utils/test/matchers/matchers.go (#1505) (cherry picked from commit 68c6cae) * e2e: improve testOwnedNamespacesAllExist by leveragin gomega's async assertions (#1509) When the e2e test suite starts, it may take a while for some of the owned namespace to become available and in such case the related test would fail, since it does not retry. This commit replace the current synchronous test with an asynchronous one. (cherry picked from commit c35c6c1) * Improve unit tests for jq's toType and byteToType (#1506) - Refactor the toType test to handle more cases - Add additional cases to toTypes test - Add a specific test for byteToType (cherry picked from commit e1457ab) * e2e: add cleanup logic to kserve tests to ensure no KnativeServing is present in the cluster (#1517) * e2e: add cleanup logic to kserve tests to ensure no KnativeServing is present in the cluster * Fix findings * lint (cherry picked from commit 72443c5) * Revert "e2e: add cleanup logic to kserve tests to ensure no KnativeServing is present in the cluster" (#1522) * Revert "e2e: add cleanup logic to kserve tests to ensure no KnativeServing is…" This reverts commit 72443c5. * Fix after rebase (cherry picked from commit 6a762ad) * Add support for dynamic template data computation in template rendering action (#1527) (cherry picked from commit bf3c108) * chore: remove generics from Reconcier and use PlatformObject as base object type (#1514) - remove generics from Reconciler struct as it is not needed - set PlatformObject as the base obnject that the Reconciler handles to ensure the reconciler can access to common objects fields (cherry picked from commit 94ac12c) * chore: remove unused structs and functions from controlelrs/status package (#1535) (cherry picked from commit 614fea1) * chore: remove unused code (#1543) * chore: remove unused TrimToRFC1123Name function * chore: remove unused pkg/cluster/roles functions * chore: remove unused pkg/cluster/resources functions (cherry picked from commit 8c7fef2) * chore: use constants from the status package where possible (#1541) Co-authored-by: Wen Zhou <[email protected]> (cherry picked from commit d538956) * Improve Kserve's FeatureTraker handing (#1562) * Improve Kserve's FeatureTraker handing - Make it possible to set FT's OwnerReference as Controller reference so the kubernetes garbage collector can block owner deletion till the FT has been deleted - Make it possible to set FT's generated resources OwnerReference as Controller reference so the kubernetes garbage collector can block FT deletion till the resources have been deleted - Add an Kserver reconciler action to remove legacy ownership on DSCI/DSC is any and related e2e tests * Update RBACs * Update RBACs * Fix findings * Update pkg/cluster/meta.go Co-authored-by: Gerard Ryan <[email protected]> * Fix renaming * Remove unrelated methods --------- Co-authored-by: Gerard Ryan <[email protected]> (cherry picked from commit bd00c9b) --------- Co-authored-by: Luca Burgazzoli <[email protected]>
Description
ensure the reconciler can access to common objects fields
How Has This Been Tested?
Screenshot or short clip
Merge criteria
Pull Request contains a description of the solution, a link to the JIRA issue, and to any dependent or related Pull Request.Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).The developer has manually tested the changes and verified that the changes work