Skip to content
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

[Sync] changes from main branch #1606

Open
wants to merge 11 commits into
base: rhoai
Choose a base branch
from

Conversation

zdtsw
Copy link
Member

@zdtsw zdtsw commented Feb 3, 2025

Description

How Has This Been Tested?

Screenshot or short clip

Merge criteria

  • You have read the contributors guide.
  • Commit messages are meaningful - have a clear and concise summary and detailed explanation of what was changed and why.
  • 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

…assertions (opendatahub-io#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)
- 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)
… present in the cluster (opendatahub-io#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)
…rving is present in the cluster" (opendatahub-io#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)
…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)
* chore: remove unused TrimToRFC1123Name function

* chore: remove unused pkg/cluster/roles functions

* chore: remove unused pkg/cluster/resources functions

(cherry picked from commit 8c7fef2)
* 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)
@zdtsw zdtsw added the rhoai label Feb 3, 2025
Copy link

openshift-ci bot commented Feb 3, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from zdtsw. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link

codecov bot commented Feb 3, 2025

Codecov Report

Attention: Patch coverage is 19.53125% with 103 lines in your changes missing coverage. Please review.

Project coverage is 20.24%. Comparing base (038bbf5) to head (27dc833).
Report is 1 commits behind head on rhoai.

Files with missing lines Patch % Lines
...ers/components/kserve/kserve_controller_actions.go 0.00% 20 Missing ⚠️
pkg/feature/feature_tracker_handler.go 0.00% 19 Missing ⚠️
pkg/resources/resources.go 42.30% 12 Missing and 3 partials ⚠️
pkg/controller/reconciler/reconciler.go 0.00% 12 Missing ⚠️
pkg/feature/feature.go 0.00% 12 Missing ⚠️
pkg/feature/builder.go 0.00% 11 Missing ⚠️
pkg/cluster/meta.go 0.00% 4 Missing ⚠️
...rvices/monitoring/monitoring_controller_actions.go 0.00% 3 Missing ⚠️
controllers/components/kserve/kserve_support.go 0.00% 2 Missing ⚠️
pkg/feature/handler.go 0.00% 2 Missing ⚠️
... and 3 more
Additional details and impacted files
@@            Coverage Diff             @@
##            rhoai    #1606      +/-   ##
==========================================
+ Coverage   20.01%   20.24%   +0.23%     
==========================================
  Files         160      159       -1     
  Lines       10982    10910      -72     
==========================================
+ Hits         2198     2209      +11     
+ Misses       8549     8465      -84     
- Partials      235      236       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

2 participants