babashka

dpsutton 2025-12-11T15:56:43.564109Z

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 🧵

✅ 1
dpsutton 2025-12-11T15:57:29.494339Z

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 somehow

dpsutton 2025-12-11T16:00:03.168259Z

this 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

borkdude 2025-12-11T16:01:11.005249Z

both urls seem to work fine here. might just be a github hiccup

borkdude 2025-12-11T16:01:48.296119Z

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

borkdude 2025-12-11T16:02:23.446379Z

it prints the location where it will be saved to so you can optionally add this to the CI cache

dpsutton 2025-12-11T16:04:30.460719Z

if clojure cli is already downloaded should this be a no-op?

borkdude 2025-12-11T16:05:03.411059Z

no, because it doesn't look at the clojure CLIs install dir currently. it could do so

borkdude 2025-12-11T16:05:41.571889Z

it just doesn't assume anything else is installed, not just mess with anything else

borkdude 2025-12-11T16:07:16.970069Z

it just looks like github releases stuff is shaky lately. I'm seeing another one here: https://clojurians.slack.com/archives/CPABC1H61/p1765469106577559

borkdude 2025-12-11T16:08:34.310529Z

https://www.githubstatus.com/ seems to indicate stuff is going on, not sure if it's related

dpsutton 2025-12-11T16:09:17.402059Z

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

borkdude 2025-12-11T16:11:16.021309Z

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

dpsutton 2025-12-11T16:12:25.005819Z

i don’t know. But clojure installed correctly in this run

borkdude 2025-12-11T16:12:46.255909Z

it's the same URL

borkdude 2025-12-11T16:13:01.613679Z

it could be that you cached the stuff before

dpsutton 2025-12-11T16:13:08.404879Z

dpsutton 2025-12-11T16:13:18.174849Z

these succeeded

borkdude 2025-12-11T16:13:48.641939Z

well. same url. github 503, can't help it

dpsutton 2025-12-11T16:13:59.925179Z

fair enough.

seancorfield 2025-12-11T16:15:11.748089Z

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).

dpsutton 2025-12-11T16:15:33.322579Z

we had two in a row which is why i asked

borkdude 2025-12-11T16:17:32.755359Z

looks all yellow-y here now https://www.githubstatus.com/

borkdude 2025-12-11T16:17:51.705459Z

too many jar downloads I guess ;)

Gent Krasniqi 2025-12-11T16:22:43.968549Z

I see similar reports from a different programming language community.

dpsutton 2025-12-11T16:31:25.284979Z

once again status page lags behind the actual issue. thanks everyone. as always, bb is incredible and such a boon to the community

4