This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-10-24
Channels
- # babashka (2)
- # beginners (10)
- # calva (30)
- # cljs-dev (3)
- # clojure (40)
- # clojure-europe (8)
- # clojure-france (1)
- # clojure-portugal (1)
- # conjure (4)
- # cursive (12)
- # datalevin (2)
- # introduce-yourself (5)
- # lsp (16)
- # off-topic (33)
- # re-frame (3)
- # rewrite-clj (31)
- # ring (3)
- # shadow-cljs (6)
- # specter (4)
- # tools-deps (8)
- # vim (17)
I've been trying to upgrade refactor-nrepl's r-c dep for a while but fails the build (quite opaquely) for all jdks but JDK17. I consistently get that jdk-specificity. Does that ring a bell?
they really don't say anything about rewrite-clj unfortunately, these are integration tests that go through nrepl and stuff
> Hmm… interesting tho. Would have expected consistent behaviour across the JDKs. it could be anything, it's updating r-c that triggers this but the project is large enough for funny behavior to emerge for arbitrary reasons :)
Do tests pass for rewrite-clj v0? (making an assumption you are currently testing with rewrite-clj v1).
refactor-nrepl uses [rewrite-clj "0.6.1"]
in master and all public releases. I'm trying out [rewrite-clj "1.0.699-alpha"]
in a branch, which distinctly fails a few tests in all jdks but 17
Cool, gotcha. If you swap back in rewrite-clj v0.6.1 (if that is even possible?) in your branch are your tests all green?
Just trying to explore what variables have changed. If the only change in your branch is the rewrite-clj dep going from v0 to v1, then retesting there with v0 is, I agree, pointless. But if any other things have changed in your branch I think retesting with v0 would be worth a whirl.
In any case, I am very interested, and can lend a hand if you can figure out how I might be of help.
thanks! 🍻 will keep debugging for a while, it's still relatively early in the investigation
Cool, looking forward to learning more, please keep me posted! And once you get any suspicions, a review of the https://github.com/clj-commons/rewrite-clj/blob/main/CHANGELOG.adoc#rewrite-clj-v1 might, who knows?, give you an AHA! moment.
maybe the whole thing has less to do with the rewrite-clj bump and more with the transitive clojurescript
bump that is associated to it.
for context, a few refactor-nrepl tests depend on https://github.com/nrepl/piggieback which deserves some love
Thanks for the update @vemv! Happy to learn about any new discoveries further explorations uncover.
(let [{:keys [exit]
:as v} (clojure.java.shell/sh "node" "--version")]
(assert (zero? exit)
(pr-str v)))