-
Notifications
You must be signed in to change notification settings - Fork 192
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
Make a new Github issue when a nightly run fails #6689
Comments
@danielhollas this would be helpful. I am testing which slow tests can goes to nightly without lower the test coverage in #6701. Hope these two changes can combine to make our life more efficient. |
Thanks for looking into this, @danielhollas! I was quite surprised when I heard the previous way was via Slack channel notifications ^^ So I'm in favor of this! More transparent, and better to deal with it directly on GitHub. |
Good questions. Indeed, if there is a failing test that fails reproducibly, it will generate a new issue every day. A good reminder to fix it! :-D I think a more common situation will be a flaky test that fails from time to time. In the case the new tickets should be marked as duplicates and closed. WDYT? (btw: This is how the slack messages behave already). |
I think it's fine to try this out now. If it becomes too noisy, we can still always easily revert it. Being forced to quickly fix reliably failing tests is also good, I agree ^^ |
docker test can fail for many reasons, but followings reasons are out of our hands and I think we can just rerun
For other reasons, we need take a look at the changes. |
Looks like we're in agreement here, but I'd wait before the CI stabilizes a bit, we've been getting really unlucky with various issues for the past weeks. 😅 |
Talking about failing nightlies, the nightly has been failing for a while now: https://github.com/aiidateam/aiida-core/commit/b43261143a136a58afddcfa1438036c99b39f8b7/checks |
Bit surprising since you are part of the channel where these are published. Can't you see those messages?
This would be my main gripe. It would ultra annoying to have N duplicate issues. Sure, the intention to have that motivate us to address it quickly is admirable, but let's be honest, I don't think that is going to happen :D |
I think this should now be fixed. |
We're running nightly tests periodically once per day:
aiida-core/.github/workflows/nightly.yml
Line 5 in 0eb77b8
When the workflow fails, the failure is posted in the
aiida-core-dev
Slack channel.There are several issues with this:
Instead of posting to a Slack channel, I would propose that failing workflow would automatically create Github issue. That might be noisy at fist, but it would force us to deal with the issues transparently.
The implementation of this is actually quite simple, I took this idea from the ruff repository:
https://github.com/astral-sh/ruff/blob/d0b2bbd55ee6435bc3dad8db2898aec216d85121/.github/workflows/daily_fuzz.yaml#L60
CC @unkcpz @agoscinski
The text was updated successfully, but these errors were encountered: