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-1378] Add remediation to overridable result in package updates action #989

Merged
merged 1 commit into from
Jan 25, 2024

Conversation

pr-watson
Copy link
Contributor

@pr-watson pr-watson commented Nov 21, 2023

This PR adds a remediation to the overrdiable result in the package_updates.py action. The remediation lets the user know they can set an environment variable to skip the OUT_OF_DATE_PACKAGES check within the action.

Jira Issues: RHELC-1378

Checklist

  • PR has been tested manually in a VM (either author or reviewer)
  • Jira issue has been made public if possible
  • [RHELC-] 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

@pr-watson pr-watson added kind/feature New feature or request tests/all Run the full test suite. Equivalent to `/packit test`. labels Nov 21, 2023
@has-bot
Copy link
Member

has-bot commented Nov 21, 2023

/packit test


@oamg/conversions-qe please review results and provide ack.

Copy link

codecov bot commented Nov 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7b1ae12) 94.33% compared to head (23c50d3) 94.33%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #989   +/-   ##
=======================================
  Coverage   94.33%   94.33%           
=======================================
  Files          47       47           
  Lines        4552     4552           
  Branches      811      811           
=======================================
  Hits         4294     4294           
  Misses        182      182           
  Partials       76       76           
Flag Coverage Δ
centos-linux-7 89.51% <ø> (ø)
centos-linux-8 90.51% <ø> (ø)
centos-linux-9 90.57% <ø> (ø)

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.

Comment on lines 140 to 141
remediation="If you wish to ignore this message, set the environment variable "
"'CONVERT2RHEL_OUTDATED_PACKAGE_CHECK_SKIP' to 1.",
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to say something about disregarding/skipping/not performing the check instead of ignoring it? 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Using ignore is what we have across the other remediation fields for overriding a check, I wouldn't be opposed to changing it to something else for all of them though

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll make a jira for this change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

@Venefilyn Venefilyn left a comment

Choose a reason for hiding this comment

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

Create a public Jira when you can and merge whenever!

@pr-watson pr-watson changed the title Add remediation to overridable result in package updates action [RHELC-1378] Add remediation to overridable result in package updates action Jan 25, 2024
@pr-watson
Copy link
Contributor Author

/packit test

@pr-watson pr-watson merged commit 06aa419 into oamg:main Jan 25, 2024
25 of 65 checks passed
@Venefilyn Venefilyn mentioned this pull request Feb 22, 2024
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/all Run the full test suite. Equivalent to `/packit test`.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants