Skip to content

Conversation

@karanjitsingh01
Copy link

What type of PR is this?

(bug/feature/cleanup/documentation/test/refactor)

What this PR does / why we need it?

If MUO failed to send SL, the upgrade was blocked and stuck in a loop, this fix continues the upgrade process and set "upgrade_notification_failed" metric so that an alert can be raised and SRE can manually update SL

Which Jira/Github issue(s) this PR fixes?

https://issues.redhat.com/browse/SREP-2636

Fixes #
Remove return error and instead log and continue

Special notes for your reviewer:

Pre-checks (if applicable):

  • [Y ] Tested latest changes against a cluster
  • Included documentation changes with PR

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 17, 2025

Skipping CI for Draft Pull Request.
If you want CI signal for your change, please convert it to an actual PR.
You can still manually trigger a test run with /test all

@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 17, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Dec 17, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

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

Details 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

@karanjitsingh01 karanjitsingh01 changed the title continue if sl failed SREP-2636: MUO Should Not Block Upgrade If SL Sent Failed Dec 17, 2025
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Dec 17, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Dec 17, 2025

@karanjitsingh01: This pull request references SREP-2636 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.22.0" version, but no target version was set.

Details

In response to this:

What type of PR is this?

(bug/feature/cleanup/documentation/test/refactor)

What this PR does / why we need it?

If MUO failed to send SL, the upgrade was blocked and stuck in a loop, this fix continues the upgrade process and set "upgrade_notification_failed" metric so that an alert can be raised and SRE can manually update SL

Which Jira/Github issue(s) this PR fixes?

https://issues.redhat.com/browse/SREP-2636

Fixes #
Remove return error and instead log and continue

Special notes for your reviewer:

Pre-checks (if applicable):

  • [Y ] Tested latest changes against a cluster
  • Included documentation changes with PR

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 openshift-eng/jira-lifecycle-plugin repository.

@karanjitsingh01 karanjitsingh01 marked this pull request as ready for review December 17, 2025 06:21
@openshift-ci openshift-ci bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 17, 2025
@codecov-commenter
Copy link

codecov-commenter commented Dec 17, 2025

Codecov Report

❌ Patch coverage is 62.50000% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.41%. Comparing base (a59f964) to head (2c7ebd7).
⚠️ Report is 14 commits behind head on master.

Files with missing lines Patch % Lines
pkg/notifier/ocmnotifier.go 26.66% 9 Missing and 2 partials ⚠️
pkg/eventmanager/eventmanager.go 94.11% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #566      +/-   ##
==========================================
+ Coverage   54.35%   54.41%   +0.06%     
==========================================
  Files         123      123              
  Lines        6123     6154      +31     
==========================================
+ Hits         3328     3349      +21     
- Misses       2592     2601       +9     
- Partials      203      204       +1     
Files with missing lines Coverage Δ
pkg/eventmanager/eventmanager.go 54.60% <94.11%> (+5.71%) ⬆️
pkg/notifier/ocmnotifier.go 29.55% <26.66%> (-0.10%) ⬇️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@karanjitsingh01 karanjitsingh01 force-pushed the SREP-2636_MOU_should_not_block_upgrade_if_SL_send_failed branch from 480acd5 to 0979e08 Compare December 22, 2025 06:29
@rbhilare
Copy link
Contributor

/hold

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 24, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 6, 2026

@karanjitsingh01: all tests passed!

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants