auto
auto copied to clipboard
Error: kill ESRCH on any auto command
All of a sudden whenever I try to run any auto command, this is the error I keep getting. Don't know what to do at this point.
Maybe it's a windows issue? @adierkens or @zephraph could you verify?
Hmmm, this is an interesting one. I don't think it's a windows issue.
ESRCH
is a documented error code from POSIX kill
when it's passed a PID that doesn't exist. Makes sense given that the very next call is process.kill
.
Digging into that more the error is pointing to this
https://github.com/intuit/auto/blob/6051e9e5777518205c1ec186c9eb5f8143783eaa/packages/core/src/utils/verify-auth.ts#L28-L32
specifically that line 30
Is that -
sign supposed to be there? If so, you might want to wrap that process call in a try/catch. Beyond that though, it seems like there might be an auth failure? Idk, @hipstersmoothie maybe it's clearer to you from this point.
any news for this issue?
this happens when we try to verify the auth with a push.
I'm hitting this in an actions. Maybe the token I'm using doesn't have push rights
in my case I'm trying to use auto core directly
@hipstersmoothie I'm running into this issue when I try to run create-labels
locally with a GH_TOKEN
that has repo
permissions.
I'm using a signing key via 1Password's ssh agent - so each process needs to be specifically granted access to run git operations, maybe that has something to do with it.
What's the suggested workflow for labels? Doing it as part of a workflow maybe?