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
Commit 947d537
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(sdk)!: make wait_ready succeed only on Ready
wait_ready previously also returned Ok for a sandbox that reached
Completed. A caller waiting for a sandbox almost always needs a live one,
and the name suggests that, so a sandbox that completes before becoming
ready is now an error that fails fast, like Stopped, Error and the
suspended phases. This applies to the Rust SDK's OpenShellClient and
WorkspaceScopedClient, the Go SDK's WaitReady and the TypeScript SDK's
waitReady, so the three SDKs agree.
BREAKING CHANGE: Rust wait_ready, Go SandboxInterface.WaitReady and
TypeScript waitReady return an error instead of the sandbox when it
reaches the Completed phase. Callers that need to wait for a finished
workload should poll the sandbox.
Signed-off-by: Evan Lezar <[email protected]>
0 commit comments