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
colab new ReadTimeout (120s) leaves unmanageable orphan [?] runtime billing compute units #263
Description:
Describe the bug
When colab new hits its default 120-second ReadTimeout during provisioning, the CLI aborts without saving the session locally, even though the backend continues allocating the runtime. This leaves an active, unmanageable [?] session that consumes compute units until automatic timeout.
(Related discussion: "Bug: assign ReadTimeout can leave a live orphan assignment; reconcile before retrying" in googlecolab/google-colab-cli Discussions)
To Reproduce
Run colab new -s s3 --gpu G4 (using colab-cli 0.8.0 on Linux) when provisioning takes longer than 120 seconds.
Wait ~15 minutes and run colab sessions and colab usage.
Observe the backend allocated the runtime anyway, listed as [?] gpu-g4-s-ft-use5b0-2tazaxdvrrsdt | Hardware: G4, consuming 10.05 units/hr.
Attempt to manage or terminate it via colab status s3, colab exec, or colab stop s3. All fail with Session not found because the session was never written to local state. The runtime also does not appear under "Manage sessions" in the Colab web UI.
Expected behavior
Either:
colab new should catch ReadTimeout (or poll/recover pending assignments) and save the session locally if provisioning succeeds, OR
colab stop should support stopping unregistered/orphaned assignments directly by endpoint ID (e.g., colab stop --endpoint <endpoint_id>), and the default request timeout should be increased for high-demand GPU allocations.
Workaround
Setting COLAB_CLI_REQUEST_TIMEOUT to a higher value prevents the premature timeout on subsequent runs.
Environment:
Activity
sethtroisi commentedon Dec 3, 2026
#315 allows for
colab stop -s <endpoint>