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

🌱 ROSA Modified rosacontrolplane_controller version error messages. #5337

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tinaafitz
Copy link
Contributor

@tinaafitz tinaafitz commented Feb 6, 2025

What type of PR is this?
cleanup

What this PR does / why we need it:
The current error messages don't accurately reflect the error.
return fmt.Sprintf("version %s is not supported", version), nil
return "", fmt.Errorf("failed to check if version is valid: %w", err)

Modified the error messages to indicate there's a problem with the combination of version and channelgroup.

Release note:


@k8s-ci-robot k8s-ci-robot added do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 6, 2025
@k8s-ci-robot
Copy link
Contributor

[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 assign muraee for approval. 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

@k8s-ci-robot
Copy link
Contributor

Hi @tinaafitz. Thanks for your PR.

I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 6, 2025
Copy link
Member

@damdo damdo left a comment

Choose a reason for hiding this comment

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

Hey @tinaafitz thanks for your PR.
Just a nit

@damdo
Copy link
Member

damdo commented Feb 25, 2025

@tinaafitz any thoughts on the review?

@tinaafitz tinaafitz force-pushed the fix_version_error_msg branch from fa071fc to d35e038 Compare February 25, 2025 10:46
@tinaafitz tinaafitz force-pushed the fix_version_error_msg branch from d35e038 to ab8d8ca Compare February 25, 2025 10:48
@tinaafitz tinaafitz changed the title Draft Modified rosacontrolplane_controller version error messages. Modified rosacontrolplane_controller version error messages. Feb 25, 2025
@tinaafitz
Copy link
Contributor Author

Hi @damdo,

Thank you for the review. I modified the messages as requested. :-)

@tinaafitz tinaafitz changed the title Modified rosacontrolplane_controller version error messages. 🌱 Modified rosacontrolplane_controller version error messages. Feb 25, 2025
@damdo
Copy link
Member

damdo commented Feb 25, 2025

/release-note-none

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Feb 25, 2025
@damdo
Copy link
Member

damdo commented Feb 25, 2025

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Feb 25, 2025
Copy link
Member

@damdo damdo left a comment

Choose a reason for hiding this comment

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

Thanks @tinaafitz

/lgtm

/assign @nrb

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 25, 2025
@damdo damdo assigned nrb and k8s-ci-robot and unassigned cpanato Feb 25, 2025
@damdo
Copy link
Member

damdo commented Feb 25, 2025

/assign @serngawy

@tinaafitz
Copy link
Contributor Author

Thanks @damdo. :-)

@serngawy
Copy link
Contributor

@tinaafitz let's add ROSA in PR title, we should do that for all work related to ROSA

@tinaafitz tinaafitz changed the title 🌱 Modified rosacontrolplane_controller version error messages. 🌱 ROSA Modified rosacontrolplane_controller version error messages. Feb 25, 2025
@damdo damdo added the area/provider/rosa Issues or PRs related to Red Hat ROSA provider label Feb 25, 2025
@tinaafitz
Copy link
Contributor Author

Thanks, @serngawy. Added ROSA to the PR title.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/provider/rosa Issues or PRs related to Red Hat ROSA provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-priority ok-to-test Indicates a non-member PR verified by an org member that is safe to test. release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants