-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Convert load callbacks to async/await #3050
Conversation
8c91081
to
2d35d9e
Compare
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more @@ Coverage Diff @@
## develop #3050 +/- ##
===========================================
+ Coverage 23.00% 23.07% +0.06%
===========================================
Files 52 52
Lines 11604 11593 -11
===========================================
+ Hits 2670 2675 +5
+ Misses 8934 8918 -16
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Merge conflict fixed |
I think the tests are not stable anymore. I know that the tests on github are very sensitive and that fails there are normal but I'm running own tests on gitlab after building new develop images and after this PR its the first time since months that this test fails. I repeated the test run 3 times (all failed) and you can find the results here:
Running locally I had similar errors but also successful runs, so it seems a transient problem. |
Not good :-( And this happened after this PR? If so, we should undo that for now... |
not sure but I ran also a pipeline before this PR which was successful |
Can you check if my cleanup branch / PR improves the situation? |
I tested now locally against your branch Running this in ci is to complicated, we will see after merge ... |
The #3051 looks a little more stable indeed on my pc. Shall we give it a try? |
merged but not better, see https://gitlab.com/khassel/magicmirror/-/jobs/3836164426 We should be able to revert this before next release if there is no solution ... |
there are simliar error in the node18 tests: https://github.com/MichMich/MagicMirror/actions/runs/4276168598/jobs/7444059604#step:4:1625 Another word to my setup, on my develop images (where above tests are running) I'm on node v19. |
this becomes strange ... I changed my pipeline to do the tests with node v16/18/19, you can see th results here. The v16 pipeline succeeded, but the newer node versions fails. |
The first error I see is something new for me: Any idea on this? I am on vacation this week so I am a little slow... |
no idea at the moment, I cannot reporduce the reference error locally so may a timing problem. |
As long as the tests don't break I'm all for it. |
More importantly: congrats with the planned family expansion! 😁 |
well, they dont break a 100% of the time, the tests are just sometimes breaking. so we have to restart the checks until they run through without errors. Not very optimal... |
cool 👍 I have very limited time the whole week before next release ... I'm unhappy with the current tests. I think we have 2 problems:
AFAIS are both timing problems. I try to find some time to test Nr. 1 by reverting the async commits, for Nr. 2 we can try to increase jest timeout from 20 to 30 sec. The current situation must be solved, no one is looking deeper into tests which are failing with every run. |
This reverts commit b5b6124.
this happens also on github, see https://github.com/MichMich/MagicMirror/actions/runs/4276168598/jobs/7444059604 Looking at all the fails this happens only in the 2 weather tests The weather tests have own helper functions and a special construction to use mock data, may some of these things are causing these errors. |
Another one of these PRs....