Fork me on GitHub
#squint
<
2022-12-31
>
chaos10:12:30

Hi @borkdude, can you please cancel it and see if we can grab the exact point in the log where it stuck?

chaos10:12:27

Same thing as pervious attempt, it appears it hangs while downloading deps? Run npm install

npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. 

 

added 168 packages, and audited 169 packages in 25s 

 
...

Downloading: rewrite-clj/rewrite-clj/1.1.45/rewrite-clj-1.1.45.jar from clojars 


Error: The operation was canceled.

chaos10:12:41

let me compare with the successful compiler-common run

chaos11:12:38

It's because of the cache action ... let me see how to get around this

borkdude11:12:01

we could just remove it

chaos11:12:14

We're using v1, let me see if v3 changes anything

👍 1
chaos11:12:08

can you please cancel to check it is stuck at the same place?

borkdude11:12:37

looks like the same issue, hmm

borkdude11:12:00

you can make a PR direct to squint to investigate this problem for quicker iteration

chaos11:12:08

It could also be an issue with bootstrapping shadow-cljs, whose turn is just after the stuck downloads

borkdude11:12:20

we could try to do clojure -P or so to force the download

borkdude11:12:31

bb clojure -P

chaos11:12:04

disabling the cache did not have an effect this time

chaos12:12:57

(there is one more duplicate job you might want to cancel https://github.com/squint-cljs/squint/actions)

chaos12:12:48

ok, it appears to be stuck in bb/tasks.clj : test-squint : (shell "npx shadow-cljs --config-merge .work/config-merge.edn release squint"), I need to go, will try to resume the investigation later today

borkdude12:12:58

thanks a lot. I'm down with a flu so the only thing I can do today is make silly remarks here on slack and kill stuck runners :)

🙏 1
chaos16:12:28

Hi @borkdude, it appears that the renaming of node.js to node-api.js was partial in the squint repo and ended up as a copy , leaving node.js behind, so when npx (or is it shadow-cljs) calls node , node.js is called instead and is stuck in there. I think there is a problem in the process of patching squint from compiler-common/squintthat does not entirely respect git mvs