Draft: [#420] Don't cache `NettestEnv` in Tasty integration module
Description
Problem: we found some very specific scenarios where using
unsafePerformIO
in Morley.Nettest.Tasty
(necessary to create and
cache a NettestEnv
) can lead to crashes in the CI.
See issue for details: #420 (closed)
Solution: Don't cache NettestEnv
, and create a new one every time a
test is run.
Related issue(s)
Resolves #420 (closed)
✅ Checklist for your Merge Request
Related changes (conditional)
-
Tests (see short guidelines)
-
If I added new functionality, I added tests covering it. -
If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
-
-
Documentation
Stylistic guide (mandatory)
-
My commits comply with the following policy. -
My code complies with the style guide.
Edited by Diogo Castro