Closed plexus closed 5 years ago
Ping @kommen. I'm really not sure this will fix the CI failures though, but at least it's one fewer possible culprit. I saw some similar errors when running the kaocha-cljs integrations locally, running them again went fine, which makes me think this is perhaps really a race condition in the ClojureScript node repl implementation.
We were jumping through quite some hoops to be able to use the ClojureScript PREPL programmitcally (oh the irony) because it expects a Reader for its input, which isn't that convenient when eval'ing forms that are coming from code, rather than from some character stream.
Instead replaced the prepl with a "queue-eval-loop", which does a queue/take! rather than a read+string. Seems to work well enough so far, let's hope it helps with reliability.