calva

seancorfield 2026-05-22T15:05:05.104669Z

seancorfield 2026-05-22T15:05:49.451919Z

@aya I forwarded your question here (and will delete it from #slack-help as it is off-topic there).

mauricio.szabo 2026-05-22T21:00:59.710449Z

Hi folks! I believe I found a bug - if I start a Clojure project with lein new app, open up a REPL, connect to Calva (via the "Generic" option) and move to a test file, load it, and ask to run all tests... I'm seeing TypeError: Cannot read properties of undefined (reading 'results'). I am using it via VSCodium, and it's the latest version (installed yesterday). Is this a bug?

pez 2026-05-24T09:35:07.920309Z

It’s a bug with crashing out showing an error messages like that. πŸ˜ƒ And the whole UI/Ux with choosing the right connect sequence needs work.

mauricio.szabo 2026-05-22T21:04:28.389049Z

A screenshot of the issue, if it helps:

seancorfield 2026-05-22T21:06:26.533659Z

Confirmed on VS Code (latest version), with latest Calva. I tried connecting as generic, and then tried connecting as Leiningen. Same error.

seancorfield 2026-05-22T21:08:16.010239Z

If I click the green "run tests" triangle on the test ns, the tests do run, but then the console shows that same error again.

seancorfield 2026-05-22T21:09:11.174409Z

If I jack-in as Leiningen, load the test ns, and run all tests, it works as expected.

seancorfield 2026-05-22T21:10:02.175219Z

The difference in the last case is the presence of CIDER middleware, so I wonder if that's something to do with it? I know "some things" in Calva don't work correctly without CIDER...

mauricio.szabo 2026-05-22T22:38:51.355139Z

Yeah, I imagined it was something like that. BTW, I found this issue in a weird way: I was testing a "VSCode API layer" that I'm coding for our Atom fork πŸ˜„