Send unhandled exceptions to the user#2484
Conversation
58eca00 to
9d875c2
Compare
|
The test suite for tactics has failed This cancelled job had 7 attempts and the tactics test suite failed in the 6 first ones |
|
Recent failed test workflows were: |
|
The last failure is due to the old sqlite3 hiedb problem, not something specific to this change. We have a ticket for it somewhere, but I am on my phone right now and can't look. We have a couple of sources of flakiness, and I would appreciate if someone would find the time to look into the hiedb one. Why is it getting triggered? Is the test suite running tests in parallel? |
af13ef7 to
a044156
Compare
|
Added code to stop the hiedb on shutdown. Might or might not help |
|
|
||
| -- | Runs the action until it ends or until the given MVar is put. | ||
| -- Rethrows any exceptions. | ||
| untilMVar :: MonadUnliftIO m => MVar () -> m () -> m () |
There was a problem hiding this comment.
Kind of surprised these sorts of utilities aren't available elsewhere. I couldn't find them, anyway.
There was a problem hiding this comment.
Especially the pattern of forking a thread with an MVar to control terminating it 🤔
There was a problem hiding this comment.
They may exist, I'm not sure either.
|
The windows jobs seemed to be hanging (stuck for 4h). I attempted to cancel them but it's unclear that it's worked. |
|
... how did that work? |
it should not 😕 |
|
I think this might be making the ghcide tests hang on windows. I think we should revert it until we can confirm. |
After reading your comment in #2493 it seems so |
This reverts commit 0211f75.
|
pr in my fork with this reverted jneira#56 |
|
Ok the pr in my fork with this reverted has passed the ghcide tests: https://github.com/jneira/haskell-language-server/runs/4559275575?check_suite_focus=true |
Closes #2390