-
Notifications
You must be signed in to change notification settings - Fork 49
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
RFE: Notify on failure + tag github user(s) along with custom failure message #1911
Comments
in case a custom copr project is used for builds, another option might be to tag the FAS accounts listed with builder perms on the copr. |
@lsm5 Thanks for creating the issue! The outcome of today's team discussion:
|
github comment is nice!
can this be made configurable as well? Remind every x hours / days if no human response and / or still failing as set in the config? Thank you!! |
To be really honest, we can't easily do any scheduled work without significant changes to Packit's architecture... (Packit now works on an event-based architecture.) But I've searched through the GitHub marketplace and we might be able to combine Packit with some other GitHub action/app to do this. E.g. Packit can create a comment that will be picked by another action like this one to create reminders... Sadly, I wasn't able to find anything generic capable of the whole workflow (because this might be handy not only for Packit statuses..;) |
Adding a "me too". I am currently starting to establish some cross-project testing, see https://cockpit-project.org/blog/tmt-cross-project-testing.html . It doesn't scale well to tell these "other projects" to notify a set of people on failures, as people are notoriously bad at remembering to do that, and whom to contact. This could possibly be modelled as an |
@martinpitt thanks for describing your use case! Since also @evgeni mentioned this one to me yesterday as important for Forman projects, I am prioritising the card...;) This can really bring Packit to projects independent of Fedora/Packit. |
Add failure_comment_message to notifications config Related to packit/packit-service#1911 TODO: Update or write new documentation in packit/packit.dev. I was also thinking about naming it only failure_comment, let me know WDYT. RELEASE NOTES BEGIN N/A RELEASE NOTES END Reviewed-by: František Lachman <[email protected]>
@lachmanfrantisek , @lbarcziova: We recently had a nice success story around that -- a podman PR broke some functionality, our reverse dependency tests caught it, it was debugged in an hour, and eventually the PR landed without the regression. But I only found that because I regularly poll the podman PRs and just got lucky. As this isn't very reliable, I wanted to ask: Do you have a coarse time frame for this notification feature? I can probably write a hackjob GH workflow that does that polling in half a day or so, but I wonder if it's worth it. Thanks! |
@martinpitt happy to hear that! Just yesterday I started to work on this feature, I believe is will be in production next Tuesday :) |
@lbarcziova that sounds amazing, good luck! I'm happy to be a test guinea pig, of course. (However, I'll be on PTO this Thu/Fri, and possibly on Mon) |
If there is the failure_comment_message defined in the config, notify users via comment on failure using the configured message. Comment only once per commit SHA and job (utilising check of previous identical Packit comment). Fixes packit#1911
If there is the failure_comment_message defined in the config, notify users via comment on failure using the configured message. Comment only once per commit SHA and job (utilising check of previous identical Packit comment). Fixes packit#1911
Instead of having one value failure_comment_message, create a nested one failure_comment.message so that failure_comment can be extended in the future if needed. Related to packit/packit-service#1911
Change configuration schema for failure comment Instead of having one value failure_comment_message, create a nested one failure_comment.message so that failure_comment can be extended in the future if needed. Related to packit/packit-service#1911 RELEASE NOTES BEGIN N/A RELEASE NOTES END Reviewed-by: František Lachman <[email protected]>
If there is the failure_comment_message defined in the config, notify users via comment on failure using the configured message. Check for previous comment by Packit for duplication. Fixes packit#1911
Implement commenting on failure based on config If there is the failure_comment_message defined in the config, notify users via comment on failure using the configured message. Comment only once per commit SHA and job (utilising check of previous identical Packit comment). Fixes #1911 TODO: Update or write new documentation in packit/packit.dev. (packit/packit.dev#735) RELEASE NOTES BEGIN We have introduced a new configuration option notifications.failure_comment.message that enables notifying users on failure via a comment using the configured message. RELEASE NOTES END Reviewed-by: Laura Barcziová Reviewed-by: František Lachman <[email protected]> Reviewed-by: Martin Pitt
Document notifications.failure_comment.message Related to packit/packit-service#1911 Merge once in production. Reviewed-by: František Lachman <[email protected]> Reviewed-by: Laura Barcziová
As a packit-service user responsible for monitoring the packit jobs on the containers' team repos, I'd like to be notified whenever there's a packit failure on any PR, preferably via tagging my github id and a customizable message.
The current packit configuration docs only mention notification on build success, nothing for failure.
/cc @evgeni
The text was updated successfully, but these errors were encountered: