Actions
action #129307
openProminently present the presence of failed minion jobs to openQA admins
Start date:
2023-05-15
Due date:
% Done:
0%
Estimated time:
Description
Motivation¶
Perl minion jobs are more and more important. https://openqa.opensuse.org/minion/jobs?state=failed shows at time of writing 330 failed minion jobs where some of them might be important problems that should be handled. We should display a note with link to /minion/jobs?state=failed to openQA admins, i.e. users with "admin" permission" if the number of failed jobs exceed a configurable threshold. This would bring two benefits:
- Failed jobs that show critical problems would be handled more often for all openQA instances
- The admin role in openQA becomes more "important" as those users would be asked to get involved more :)
Acceptance criteria¶
- AC1: openQA admins with permissions to handle failed minion jobs are reminded if failed jobs exceed a configured threshold
- AC2: The notification threshold has a sensible default
- AC3: Users with no permission to remove/retry/handle minion jobs do not receive a notification
- AC4: Instance admins can permanently disable the notification threshold
Suggestions¶
- Maybe a "bootstrap alert" on top of each openQA page for logged in admins if a configurable limit of failed minion jobs is exceeded?
- Compare to jenkins plugin notifications: https://www.legitsecurity.com/hs-fs/hubfs/A%20warning%20message%20for%20the%20vulnerable%20plugin.png
No data to display
Actions