-
-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problematic error reporting when cider-clojure-compilation-error-phases is t
(unexpected possible value)
#3582
Comments
What's your Perhaps you changed it to |
I see, I did. What is the default value? |
Lines 489 to 497 in a35170b
You also can simply remove it from the customized vars. Let's keep the issue open - we have other variables where |
Maybe I found the root of the issue! This is relevant part of my project.clj
|
That would make sense as an explanation for the overall slowness that you have been experiencing (as shared over Slack). I'll ask around in #flow-storm for understanding how to proceed. |
Thank you. |
To be clear, what is the custom
|
t
(unexpected possible value)
Expected behavior
Same as older version of Cider, probably before
cider-clojure-compilation-error-phases
was introduced.Actual behavior
When evaluating sexp or buffer with enabled
cider-clojure-compilation-error-phases
I get an exceptionSometimes (I guess it depends on buffer / function size) it takes a very long time and I get a timeout =>
error in process filter: Sync nREPL request timed out (op analyze-last-stacktrace nrepl.middleware.print/stream? 1 nrepl.middleware.print/print cider.nrepl.pprint/porint nrepl.middleware.print/auota 1048576 nrepl.middleware.print/buffer-size 4996 ….) after 30 secs
In those cases, the overlay error sometimes shows up but it dissapears again after +-1sec.
Steps to reproduce the problem
lein new something
toggle-debug-on-error
, open project and start jack-in new repl.(defz)
and evaluate a bufferEnvironment & Version information
CIDER version information
;; Startup: bash /Users/akiz/.emacs.akiz/straight/build/cider/lein.sh /opt/homebrew/bin/lein update-in :dependencies conj \[nrepl/nrepl\ \"1.0.0\"\] -- update-in :dependencies conj \[refactor-nrepl/refactor-nrepl\ \"3.9.0\"\] -- update-in :plugins conj \[refactor-nrepl/refactor-nrepl\ \"3.9.0\"\] -- update-in :plugins conj \[cider/cider-nrepl\ \"0.43.3\"\] -- update-in :plugins conj \[mx.cider/lein-enrich-classpath\ \"1.18.4\"\] -- update-in :middleware conj cider.enrich-classpath.plugin-v2/middleware -- repl :headless :host localhost
Lein / Clojure CLI version
Leiningen 2.10.0 on Java 17.0.8.1 OpenJDK 64-Bit Server VM
Emacs version
Operating system
OSX Sonoma 14.0
JDK distribution
openjdk version "17.0.8.1" 2023-08-24
OpenJDK Runtime Environment Homebrew (build 17.0.8.1+0)
OpenJDK 64-Bit Server VM Homebrew (build 17.0.8.1+0, mixed mode, sharing)
The text was updated successfully, but these errors were encountered: