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 managed cluster label fix #114

Merged

Conversation

fxiang1
Copy link
Contributor

@fxiang1 fxiang1 commented Feb 19, 2025

  • I have taken backward compatibility into consideration.
  • Sync managed cluster label fix

Signed-off-by: fxiang1 <fxiang@redhat.com>
@fxiang1
Copy link
Contributor Author

fxiang1 commented Feb 19, 2025

/uncc @jnpacker

@openshift-ci openshift-ci bot removed the request for review from jnpacker February 19, 2025 19:23
@fxiang1
Copy link
Contributor Author

fxiang1 commented Feb 19, 2025

/test Go / test (pull_request)

Copy link

openshift-ci bot commented Feb 19, 2025

@fxiang1: No presubmit jobs available for open-cluster-management-io/multicloud-integrations@main

In response to this:

/test Go / test (pull_request)

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.

Copy link
Member

@mikeshng mikeshng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good but I would add an e2e test just to make sure it's working as expected. The e2e does a full OCM-io registration so the managedcluster is there for the labels to copy.

@fxiang1
Copy link
Contributor Author

fxiang1 commented Feb 19, 2025

Thanks @mikeshng ! I will work on that.

@mikeshng
Copy link
Member

It can come in a different PR if this fix is urgently needed @fxiang1

Copy link
Member

@mikeshng mikeshng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve

/lgtm

/hold

Feel free to unhold if you want to work on the e2e in another PR.

Copy link

openshift-ci bot commented Feb 19, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fxiang1, mikeshng

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@fxiang1
Copy link
Contributor Author

fxiang1 commented Feb 19, 2025

Thanks Mike, this fix is not urgent so I will include the e2e in this PR.

@xiangjingli
Copy link
Collaborator

@fxiang1 @mikeshng I see the unit test coverage report failed though the unit test passed.

Is there any change recently in the codecov/codecov-action@v4?

https://github.com/open-cluster-management-io/multicloud-integrations/blob/034023e093463e1ef9fcbd02e6df7eec17f54604/.github/workflows/go-presubmit.yml#L85C15-L85C40

@fxiang1
Copy link
Contributor Author

fxiang1 commented Feb 19, 2025

I'm not sure, this worked in the stolostron PR stolostron/multicloud-integrations#204 but fails here.

@fxiang1
Copy link
Contributor Author

fxiang1 commented Feb 20, 2025

/unhold

@fxiang1
Copy link
Contributor Author

fxiang1 commented Feb 20, 2025

/retest

@fxiang1
Copy link
Contributor Author

fxiang1 commented Feb 20, 2025

/test ?

Copy link

openshift-ci bot commented Feb 20, 2025

@fxiang1: No presubmit jobs available for open-cluster-management-io/multicloud-integrations@main

In response to this:

/test ?

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.

@openshift-ci openshift-ci bot removed the lgtm label Feb 20, 2025
Signed-off-by: fxiang1 <fxiang@redhat.com>
Signed-off-by: fxiang1 <fxiang@redhat.com>
Signed-off-by: fxiang1 <fxiang@redhat.com>
@fxiang1
Copy link
Contributor Author

fxiang1 commented Feb 20, 2025

@xiangjingli I figured out the test failure with codecov/codecov-action@v4. Apparently there's a bug codecov/codecov-cli#641 with the latest version 10.1.0 so I reverted us to version 10.0.1 as a workaround until the bug is fixed.

@xiangjingli
Copy link
Collaborator

/lgtm

Copy link

codecov bot commented Feb 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (034023e) to head (b902f9a).
Report is 1 commits behind head on main.

Additional details and impacted files
@@     Coverage Diff     @@
##   main   #114   +/-   ##
===========================
===========================

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

@openshift-merge-bot openshift-merge-bot bot merged commit 9313757 into open-cluster-management-io:main Feb 20, 2025
9 checks passed
@fxiang1 fxiang1 deleted the feng-mclabel branch February 20, 2025 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants