Closed kubukoz closed 8 months ago
package demo import cats.effect.IO import weaver._ object DemoTest extends SimpleIOSuite { test("this should fail rather than hang") { IO.unit *> IO.raiseError(new Throwable("woop woop")).as(success) } }
This appears to hang on JS on both Scala 2.13.12 and 3.3.1.
Other versions involved:
I will confirm whether this is a Weaver problem specifically or a regression in the other releases.
Full repro, with crossproject for comparison against the JVM: https://github.com/kubukoz/demos/tree/repro-js-fail-hang
Update: this seems to have started between 0.7.15 and 0.8.0. Diff: https://github.com/disneystreaming/weaver-test/compare/v0.6.15...v0.8.0
Update 2: bisected down to #563.
This appears to hang on JS on both Scala 2.13.12 and 3.3.1.
Other versions involved:
I will confirm whether this is a Weaver problem specifically or a regression in the other releases.
Full repro, with crossproject for comparison against the JVM: https://github.com/kubukoz/demos/tree/repro-js-fail-hang
Update: this seems to have started between 0.7.15 and 0.8.0. Diff: https://github.com/disneystreaming/weaver-test/compare/v0.6.15...v0.8.0
Update 2: bisected down to #563.