Fix out-of-memory errors in CI when running `run-tests` in `rules_haskell_tests`.
Ci on the master branch started failing on 2023-12-18. It appears to be related to the rules_haskell_tests portion of the CI workflow.
### Tasks
- [ ] https://github.com/tweag/rules_haskell/pull/2092
- [ ] https://github.com/tweag/rules_haskell/pull/2096
- [ ] Refactor the disabled test to prevent the OOM.
This seems to be a bit flaky, as this does not happen very often. Seems like the bazel processes get killed:
Exit Code: ExitFailure (-9)
Maybe this is some sort of timeout?
It could be. I have been trying to set up my personal MacOS laptop with Nix to try things out. (My Modus laptop is arm64 and I have not completed the work getting rules_haskell to work over there.) Unfortunately, the Nix install is failing. I must not have cleaned up from a previous Nix install attempt. 😣
This issue seems to suggest that it may be running out of memory.
For code locations where run-tests starts servers, see @avdv comment.