Skip to content

[DO NOT MERGE] Toolbox refactor #478

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
Mark queued and starting as pending
  • Loading branch information
code-asher committed Sep 16, 2024
commit 59e0bd6160397e8137c7e456ddc7b993c4a619c6
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ enum class WorkspaceAndAgentStatus(val label: String, val description: String) {
*/
fun pending(): Boolean {
// See ready() for why `CREATED` is not in this list.
return listOf(CONNECTING, TIMEOUT, AGENT_STARTING, START_TIMEOUT)
return listOf(CONNECTING, TIMEOUT, AGENT_STARTING, START_TIMEOUT, QUEUED, STARTING)
.contains(this)
}

Expand Down