You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cloudexec status --all displays job as cancelled even if job is still running #32
changed the title [-]`cloudexec clean` cancels droplet even if input does not confirm (`y`) to cancel [/-][+]`cloudexec status --all` displays job as `cancelled` even if job is still running [/+]on Feb 7, 2024
Droplet deletion behaves as expected: we're deleting the droplet if we get y and doing nothing if we get anything else.
But the rest of the cancel command in main.go happily proceeds to remove ssh config and flag the droplet as cancelled in our state file regardless of user answers during droplet deletion. We need to return some context from ConfirmDeleteDroplets so later steps behave as desired.
Activity
0xicingdeath commentedon Feb 7, 2024
Actually, I'm not sure anymore. Maybe it is just the table rendering incorrectly?
When I rerun
cloudexec cancel, it does seem job-242 is still alive:despite its status in the
cloudexec status --allbeingcancelededit to add: I see the droplet still going on Digital Ocean so it does just seem like a rendering error
[-]`cloudexec clean` cancels droplet even if input does not confirm (`y`) to cancel [/-][+]`cloudexec status --all` displays job as `cancelled` even if job is still running [/+]bohendo commentedon Feb 7, 2024
Droplet deletion behaves as expected: we're deleting the droplet if we get
yand doing nothing if we get anything else.But the rest of the
cancelcommand in main.go happily proceeds to remove ssh config and flag the droplet as cancelled in our state file regardless of user answers during droplet deletion. We need to return some context fromConfirmDeleteDropletsso later steps behave as desired.