Repository navigation
colab stop exits 0 when the session does not exist
#251
Closed
GongYuanCaiJi
started this conversation in
General
Replies: 3 comments
|
I agree this would be nice. Let me see if I can write a small CL that implements this |
0 replies
|
Le lun. 23 nov. 2026, 20:53, Seth Troisi ***@***.***> a
écrit :
… I agree this would be nice.
Let me see if I can write a small CL that implements this
—
Reply to this email directly, view it on GitHub
<#251?email_source=notifications&email_token=CV6IY7254XDTM2S5Q7MVKB352TS3JA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJYGQ2TIMJZUZZGKYLTN5XKU43VMJZWG4TJMJSWJJLFOZSW45FMMZXW65DFOJPWG3DJMNVQ#discussioncomment-19845419>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/CV6IY7YRWYCPNTCL3ZLRAWT52TS3JAVCNFSNUABJKJSXA33TNF2G64TZHMYTEMJTHEYDCMBRGU5UI2LTMN2XG43JN5XDWMJRGMYTQMJQGCQXMAQ>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/CV6IY7ZCUWQT6SXR3EAVNY352TS3JA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJYGQ2TIMJZUZZGKYLTN5XKU43VMJZWG4TJMJSWJJLFOZSW45FKMZXW65DFOJPWS33T>
and Android
<https://github.com/notifications/mobile/android/CV6IY77AJ2MG6BQR7WSUXSL52TS3JA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTCOJYGQ2TIMJZUZZGKYLTN5XKU43VMJZWG4TJMJSWJJLFOZSW45FOMZXW65DFOJPWC3TEOJXWSZA>.
Download it today!
You are receiving this because you are subscribed to this thread.Message
ID: <googlecolab/google-colab-cli/repo-discussions/251/comments/19845419@
github.com>
|
0 replies
|
Done! |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Version: 0.7.6 (Linux)
colab stop -s NAMEexits 0 when the session doesn't exist, so automation can't tell "stopped" from "nothing was stopped" (for example after the local state lost track of a VM that is still billing).Repro
Output:
[colab] Session 'no-such-session' not found.thenexit=0.Where:
commands/session.pystop: whenstate.get_session(name, ignore_missing_session=True)returns nothing it echoes "not found" andreturns.Expected: a nonzero exit (or a documented distinct code) when nothing was stopped.
Workaround we use today: after every
stopwe callcolab sessionsup to three times to confirm the VM is really gone.All reactions