Open bhollis opened 1 month ago
Note that just running go install connectrpc.com/connect/cmd/protoc-gen-connect-go
works with no message and places the protoc-gen-connect-go
binary in $GOBIN
.
I'm not convinced this is caused by the loop at https://github.com/jdx/mise/blob/main/src/backend/go.rs#L40 - I'm seeing machines dying with hundreds of npm view
commands, hundreds of go list
commands, etc. So the infinite loop must be somewhere above the backend's loop.
infinite loops are generally caused by shims calling themselves. Experimental backends are a work in progress so I'm still working through some of these problems.
That makes sense. Would it work to set an environment variable whenever mise executes other commands that would disable some of the version resolution machinery, to avoid this infinite loop behavior?
maybe, but it's harder than it sounds. It's normal for shims to execute other shims.
I'm having trouble installing the protoc-gen-connect-go Go package, which uses a package path that's not on github.com:
On my mac:
On my CI machine:
go list -m -versions -json connectrpc.com/connect/cmd/protoc-gen-connect-go
over and over until the machine runs out of memory (from https://github.com/jdx/mise/blob/main/src/backend/go.rs#L40).My Go version is
1.22.3
, also managed throughmise
. I would expect that either I wouldn't be able to install this in the first place, or that once installed, other machines would also be able to install it viamise install
.