deepseek-ai/deepseek-harness · error
initial workspace selection failed:
Error message
initial workspace selection failed:
What it means
Error "initial workspace selection failed:" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/client/runtime/src/client/workspaces/service.ts:155
const current = this.sessions.list.getSnapshot().current
const target = workspace.recentWorkspaceId
if (current !== undefined || target === undefined) {
state = 'done'
return
}
state = 'connecting'
void this.connectWorkspace(target).then(
(sessionId) => {
if (disposed) return
if (this.sessions.list.getSnapshot().current === undefined) {
this.sessions.open(sessionId)
}
state = 'done'
},
(reason: unknown) => {
if (disposed) return
state = 'waiting'
console.warn('initial workspace selection failed:', reason)
},
)
}
const unsubscribe = this.list.subscribe(reconcile)
reconcile()
return () => {
disposed = true
unsubscribe()
}
}
/**
* The shared New Session action behind the shell entry points (sidebar
* button, workspace browser): resolve the target Workspace — explicit wins,
* then the current Session's Workspace, then the recent-Workspace
* projection — connect its blank session and navigate there; with no
* Workspace at all, clear the selection into the New Session view state.
* Connect failures are non-fatal (console diagnostics; the current viewView on GitHub (pinned to b150a551b8)
Solutions
- Check the workspace service backend and storage; retry selecting or creating the initial workspace.
When it happens
Trigger: Thrown at packages/client/runtime/src/client/workspaces/service.ts:155 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of deepseek-ai/deepseek-harness@b150a551b8 (2026-08-24).
Data as JSON: /api/errors/6033e846d89e508a.
Report an issue: GitHub.