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

[RHELC-1635] State action in special pkg removal report msgs #1297

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

Conversation

bocekm
Copy link
Member

@bocekm bocekm commented Jul 10, 2024

Customers have been confused when seeing the messages, not knowing what should they do.

Jira Issues:

Checklist

  • PR has been tested manually in a VM (either author or reviewer)
  • Jira issue has been made public if possible
  • [RHELC-] or [HMS-] is part of the PR title
  • GitHub label has been added to help with Release notes
  • PR title explains the change from the user's point of view
  • Code and tests are documented properly
  • The commits are squashed to as few commits as possible (without losing data)
  • When merged: Jira issue has been updated to Release Pending if relevant

@bocekm bocekm added the tests/sanity PR ready to run the sanity test suit. Equivalent to `/packit test --labels sanity`. label Jul 10, 2024
@bocekm bocekm requested a review from pr-watson July 10, 2024 16:47
@has-bot
Copy link
Member

has-bot commented Jul 10, 2024

/packit test --labels sanity


Comment generated by an automation.

@bocekm bocekm added the kind/feature New feature or request label Jul 10, 2024
Copy link

codecov bot commented Jul 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.11%. Comparing base (9826704) to head (eb5982d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1297   +/-   ##
=======================================
  Coverage   96.11%   96.11%           
=======================================
  Files          72       72           
  Lines        5178     5178           
  Branches      895      895           
=======================================
  Hits         4977     4977           
  Misses        119      119           
  Partials       82       82           
Flag Coverage Δ
centos-linux-7 91.63% <100.00%> (ø)
centos-linux-8 92.49% <100.00%> (ø)
centos-linux-9 92.61% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Contributor

@pr-watson pr-watson left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@bocekm bocekm force-pushed the state-action-in-special-pkgs-removal-msg branch from c6fb81a to 2e5ac98 Compare July 11, 2024 12:53
@bocekm
Copy link
Member Author

bocekm commented Jul 11, 2024

@pr-watson, I've reworded the messages a bit. Please take a look.

EDIT: I can imagine a couple of ways to improve the messages even further - I've laid the ideas out at https://issues.redhat.com/browse/RHELC-1637. They can be worked on in another PR.

Comment on lines 153 to 163
id="SPECIAL_PACKAGES_NOT_REMOVED",
title="Special packages not removed",
description="Special packages which could not be removed",
diagnosis=message,
title="Some packages cannot be removed",
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should also update the id? It feels strange that in the id we call them as "special" and in the title is just "some packages"

Copy link
Member

@r0x0d r0x0d left a comment

Choose a reason for hiding this comment

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

Looks good, only some small comments

Customers have been confused when seeing the messages, not knowing what
should they do.
@bocekm bocekm force-pushed the state-action-in-special-pkgs-removal-msg branch from 2e5ac98 to eb5982d Compare December 6, 2024 17:00
@bocekm bocekm requested a review from a team as a code owner December 6, 2024 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request tests/sanity PR ready to run the sanity test suit. Equivalent to `/packit test --labels sanity`.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants