clj-kondo

https://github.com/clj-kondo/clj-kondo
borkdude 2020-07-28T16:50:23.243600Z

Is that the Atom package? Then maybe @seancorfield knows, or @gerred

seancorfield 2020-07-28T16:52:15.244200Z

@dave.dixon I've never seen timeout errors with Atom and clj-kondo.

seancorfield 2020-07-28T16:52:36.244700Z

(and I use Atom + Chlorine + REBL + linter-kondo all day, every day on a 100k line codebase)

2020-07-28T17:10:13.245400Z

I haven't had time to maintain it as of late with everything going on...if you open an issue and can identify what's going on, I'm happy to make you a maintainer @dave.dixon (or @seancorfield, not that you needm ore to do ;))

seancorfield 2020-07-28T17:18:19.246500Z

If it breaks and you're no longer around, having maintainer rights would certainly be useful 🙂 Otherwise, I don't think I'd have time to add that to my list of projects.

sparkofreason 2020-07-28T17:19:28.246600Z

I've never seen it before now, new install on Linux. I'll get the exact error from the console.

borkdude 2020-07-28T17:31:09.247100Z

maybe the clj-kondo binary itself is not installed yet or not on the path?

sparkofreason 2020-07-28T18:44:40.248500Z

clj-kondo is on the path. It was working intermittently. I just did a full restart, maybe that will clear it up, haven't seen the timeout so far.

sparkofreason 2020-07-28T18:48:36.248900Z

Spoke too soon. Here's the error from the console:

[Linter] Error running linter-kondo Error: Process execution timed out
    at /home/dave/.atom/packages/linter-kondo/node_modules/sb-exec/lib/index.js:89
(anonymous) @ /home/dave/.atom/packages/linter/lib/linter-registry.js:154

sparkofreason 2020-07-28T20:14:27.249800Z

I increased the lint-on-change interval in the linter package. I think the default 300ms is probably too low, and that may have been the source of the timeout.

borkdude 2020-07-28T20:26:39.249900Z

Hmm, maybe clj-kondo got slower, or your machine got slower? 😉

sparkofreason 2020-07-28T20:32:20.250100Z

Don't know. It's a fresh linux install. Increasing the interval didn't actually solve the problem in the end. I'm having a vague hunch the problem may be something about the generic linter package, rather than specific to clj-kondo.