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

automatic: Enhance errors reporting #2169

Merged
merged 1 commit into from
Dec 11, 2024
Merged

Conversation

m-blaha
Copy link
Member

@m-blaha m-blaha commented Dec 9, 2024

Emitters must be initialized early to ensure they can report errors that might occur in earlier stages of execution, before transaction resolution. Also a broader range of exceptions must be caught to ensure they are communicated to the user through the configured emitters.
For example "No space left on the device" error is raised during the fill_sack() call. This patch should report it via configured emitters.

Resolves: https://issues.redhat.com/browse/RHEL-61882

@m-blaha m-blaha force-pushed the mblaha/automatic-notify-error branch from 5db022b to 593ac4b Compare December 9, 2024 16:46
@kontura
Copy link
Contributor

kontura commented Dec 10, 2024

I made a PR to disable the new test for fedora 41 and higher: rpm-software-management/ci-dnf-stack#1604
Also I think the Ansible tests should be fixed by: rpm-software-management/ci-dnf-stack#1591

Emitters must be initialized early to ensure they can report errors that
might occur in earlier stages of execution, before transaction
resolution. Also a broader range of exceptions must be caught to
ensure they are communicated to the user through the configured
emitters.
For example "No space left on the device" error can be raised during the
fill_sack() call. This patch should report it via configured emitters.

Resolves: https://issues.redhat.com/browse/RHEL-61882
@m-blaha m-blaha force-pushed the mblaha/automatic-notify-error branch from 593ac4b to bdb9866 Compare December 10, 2024 07:49
@kontura kontura self-assigned this Dec 11, 2024
@kontura
Copy link
Contributor

kontura commented Dec 11, 2024

The failing tests are unrelated, in my previous PR I disabled the wrong dnf automatic test here is a fix: rpm-software-management/ci-dnf-stack#1607

There are also unrelated rawhide copr failing tests, I made an issue for that here: rpm-software-management/ci-dnf-stack#1606

Lets not block this PR on that.
The change looks good, thank you!

@kontura kontura merged commit 067591d into master Dec 11, 2024
7 of 9 checks passed
@kontura kontura deleted the mblaha/automatic-notify-error branch December 11, 2024 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants