This is reported to cause a lot of io, which could cause timeouts when when booting. By putting this into a delay the classpath-cache is calculated on the first kondo linter run.
QA plan
release alpha
remove .clj-kondo-folder from projects known to cause this issue
boot repl; observe no timeout
run f-s; observe creation of cache
run f-s again; observe faster run
Author checklist
[ ] I have QAed the functionality
[ ] The PR has a reasonably reviewable size and a meaningful commit history
[ ] I have run the branch formatter and observed no new/significative warnings
[ ] The build passes
[ ] I have self-reviewed the PR prior to assignment
Additionally, I have code-reviewed iteratively the PR considering the following aspects in isolation:
[ ] Correctness
[ ] Robustness (red paths, failure handling etc)
[ ] Test coverage
[ ] Spec coverage
[ ] Documentation
[ ] Security
[ ] Performance
[ ] Breaking API changes
[ ] Cross-compatibility (Clojure/ClojureScript)
Reviewer checklist
[ ] I have checked out this branch and reviewed it locally, running it
[ ] I have QAed the functionality
[ ] I have reviewed the PR
Additionally, I have code-reviewed iteratively the PR considering the following aspects in isolation:
Brief
This is reported to cause a lot of io, which could cause timeouts when when booting. By putting this into a delay the classpath-cache is calculated on the first kondo linter run.
QA plan
.clj-kondo
-folder from projects known to cause this issueAuthor checklist
Reviewer checklist