kaocha

Official support channel: https://clojureverse.org/c/projects/kaocha
plexus 2021-04-15T07:37:37.038200Z

> ERROR in unit (core.clj:6) @marharyta.obraztsova are those three lines all the info you are getting? is there a stacktrace? does it mention a file in /tmp with more info? It's really hard to glean anything from what you've shared.

plexus 2021-04-15T07:47:11.038900Z

@schmandle could you add

[lambdaisland/glogi "1.0.100"]
{lambdaisland/glogi {:mvn/version "1.0.100"}}
to your deps.edn or project.clj and see if that allows you to use the latest kaocha-cljs?

schmandle 2021-04-15T07:57:58.040Z

yes, this works:

{lambdaisland/kaocha           {:mvn/version "RELEASE"}
 lambdaisland/kaocha-cljs      {:mvn/version "RELEASE"}
 lambdaisland/glogi            {:mvn/version "1.0.100"}
 lambdaisland/kaocha-junit-xml {:mvn/version "RELEASE"}}

schmandle 2021-04-15T07:58:03.040200Z

:thumbsup:

šŸ¤˜ 2
2021-04-15T18:19:08.047900Z

Hi, Iā€™m having an issue where when running at the repl kaocha looses the binding for the current plugins when running the :post-summary hook. I narrowed it down to here https://github.com/lambdaisland/kaocha/blob/55d1321aec6ecb3ec21af1dd910da52c15c324f3/src/kaocha/repl.clj#L155 Wanted to get a second set of eyes before I logged an issue as I donā€™t see anyway for plugin/run-hook to still have plugin/*current-chain* outside of the api/run function.

2021-04-16T21:15:13.056Z

@actuallyalys_slack I found this when using the ā€œprofilingā€ plugin, which uses the :post-summary hook. Currently running this with the repl api doesnā€™t output the profiling summary because of plugin/*current-chain* no longer being bound outside the api/run call.

Alys Brooks 2021-04-15T20:53:25.048400Z

Thanks for letting us know! So you're trying to access plugin/*current-chain* from a hook? What do you need it for, in case there's an alternative to using plugin/*current-chain* ?