I noticed commands/clone.go:506,530,566 all use the default http.Get with no timeout configured — a stalled GitHub response would hang the command indefinitely.
I'd use an http.Client with an explicit timeout, same as what's already done correctly in internal/updater/updater.go:23-24.
I noticed
commands/clone.go:506,530,566all use the defaulthttp.Getwith no timeout configured — a stalled GitHub response would hang the command indefinitely.I'd use an
http.Clientwith an explicit timeout, same as what's already done correctly ininternal/updater/updater.go:23-24.