Skip to content

Commit 59e0bd6

Browse files
committed
Mark queued and starting as pending
1 parent 00d7321 commit 59e0bd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/coder/gateway/models/WorkspaceAndAgentStatus.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ enum class WorkspaceAndAgentStatus(val label: String, val description: String) {
9090
*/
9191
fun pending(): Boolean {
9292
// See ready() for why `CREATED` is not in this list.
93-
return listOf(CONNECTING, TIMEOUT, AGENT_STARTING, START_TIMEOUT)
93+
return listOf(CONNECTING, TIMEOUT, AGENT_STARTING, START_TIMEOUT, QUEUED, STARTING)
9494
.contains(this)
9595
}
9696

0 commit comments

Comments
 (0)