What exactly does this mean: > Clojure tools not yet in expected location: /home/runner/.deps.clj/1.12.3.1577/ClojureTools/clojure-tools-1.12.3.1577.jar What are the clojure-tools referenced here? More details in 🧵
having some issues in CI with github 503'ing:
[INFO] Babashka not found or version doesn't match, installing...
[INFO] Detected platform: linux-amd64
[INFO] Download URL:
#=#=#
##O#-#
##O=# #
0.3%
## 3.1%
##### 7.1%
######### 12.8%
############### 21.1%
####################### 32.8%
################################### 49.0%
#################################################### 72.6%
######################################################################## 100.0%
[INFO] Download complete. Extracting archive...
babashka v1.12.212
[SUCCESS] Babashka 1.12.212 successfully installed at /home/runner/work/metabase/metabase/bin/bb
Clojure tools not yet in expected location: /home/runner/.deps.clj/1.12.3.1577/ClojureTools/clojure-tools-1.12.3.1577.jar
Downloading to /home/runner/.deps.clj/1.12.3.1577/ClojureTools/clojure-tools.zip
:borkdude.deps/direct-download Server returned HTTP response code: 503 for URL:
:borkdude.deps/direct-download Server returned HTTP response code: 503 for URL:
Error: Exception in thread "main" java.lang.Exception: Error: Cannot download Clojure tools. Please download manually from to /home/runner/.deps.clj/1.12.3.1577/ClojureTools/clojure-tools.zip
at java.base@25/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
at java.base@25/java.lang.reflect.Constructor.newInstance(Constructor.java:483)
And i’m wondering what it’s doing, and if i can avoid this somehowthis seems to ultimately just want to kondo lint our repo. not sure if there’s a way to carry on, or just not do this
both urls seem to work fine here. might just be a github hiccup
the above is printed when bb downloads the tools.deps jar which is used for calculating/fetching dependencies from bb.edn. This jar is the same jar as the one that the clojure CLI uses
it prints the location where it will be saved to so you can optionally add this to the CI cache
if clojure cli is already downloaded should this be a no-op?
no, because it doesn't look at the clojure CLIs install dir currently. it could do so
it just doesn't assume anything else is installed, not just mess with anything else
it just looks like github releases stuff is shaky lately. I'm seeing another one here: https://clojurians.slack.com/archives/CPABC1H61/p1765469106577559
https://www.githubstatus.com/ seems to indicate stuff is going on, not sure if it's related
yeah. that’s why i was wondering if this might look for installed clojure jars as normal. Those seem to be working fine, so this is an error downloading a second copy from a less reliable source
why is the source less reliable? it's the same source as the clojure CLI downloads stuff from: https://github.com/clojure/brew-install/releases/download/1.12.3.1577/clojure-tools.zip
i don’t know. But clojure installed correctly in this run
it's the same URL
it could be that you cached the stuff before
these succeeded
well. same url. github 503, can't help it
fair enough.
I had this same glitch just a few minutes ago and re-ran the GH Action and it worked (expected, since it worked just fine in another project that I pushed at the same time).
we had two in a row which is why i asked
looks all yellow-y here now https://www.githubstatus.com/
too many jar downloads I guess ;)
I see similar reports from a different programming language community.
once again status page lags behind the actual issue. thanks everyone. as always, bb is incredible and such a boon to the community