-
Notifications
You must be signed in to change notification settings - Fork 90
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
Add notifications for nightly build failures #296
Comments
At the moment there are 10/10 apps installed in the Kedro workspace, so new ones can't be added. Happy to chat about this when I'm back. |
Discussed in backlog grooming: set this up to send email notification to the Kedro Framework team email address. Ideally set it up so it only sends an email on failure. |
I see three potential solutions to this problem:
We need to create the following repository secrets:
@SajidAlamQB, what do you think? |
Quick comments: About (1) I didn't know this was possible (https://github.com/settings/notifications) About (2) possibly we'd use a non-McK email, such as the one we set up for shared social media accounts |
I like approach (1) just using GitHub's built-in functionality is pretty straightforward with not much maintenance required. Plus, we don't need to worry about external dependencies or changes in third-party tools. It puts more of an individual responsibility. We could make a confluence page guide on how the team can set this up and get everyone who wants to receive notifications from build failures follow it. Additionally it could be a part of our onboarding docs for new engineers on framework. What do others feel? @noklam @ankatiyar |
I have an idea but I'm not sure how feasible this is - Can lend a hand with figuring it out! |
Something like this -
|
Thinking more about it - perhaps configuring nightly build to create an issue every time it fails might not be the best idea. It'll create a duplicate issue every day for failures we haven't fixed yet.
|
Also what if some failures are intermittent and just need to be re-run. Would that not result in unnecessary issues being made? |
@SajidAlamQB If it's just a weekly build, we can run on Friday and close unnecessary issues on Monday during backlog grooming or sprint planning? |
I'm not quite sure option 1 here solves the problem. I think that just sends you emails for your own builds that are failing and not for the scheduled nightly builds. I like @ankatiyar 's idea of creating an issue or something else very visible that makes sure we don't miss build failures. |
Maybe it can be one single issue that gets reopened everytime there's a failure. That way we avoid creating more and more issues that then we need to keep closing. And if the issue is already open and there's a new failure, nothing happens (so it's idempotent). Obviously the first time it would need to be created, and then from there it would look the issue by title, ID, label, or some other mechanims. How does that sound? |
Sounds good @astrojuanlu. Can we park this till I finish the refactoring of the
|
Description
Nightly builds can fail silently without notifying the team, we should add a way either through slack or email integration to let the team know.
Example failure: https://github.com/kedro-org/kedro-plugins/actions/runs/5803202341
Possible solution: https://github.com/slackapi/slack-github-action
Context
Why is this change important to you? How would you use it? How can it benefit other users?
The text was updated successfully, but these errors were encountered: