deepseek-ai/deepseek-harness · error · AggregateError
workspace '${id}' order write and pending-marker rollback bo
Error message
workspace '${id}' order write and pending-marker rollback both failed What it means
Error "workspace '${id}' order write and pending-marker rollback both failed" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/workspace/workspace/src/index.ts:348
await this.setState({
initialized: true,
workspaceIds: [id, ...state.workspaceIds],
archivedSessionIds: state.archivedSessionIds,
})
} catch (error) {
this.entities.delete(id)
try {
await table.delete(id)
} catch (rollbackError) {
throw new AggregateError(
[error, rollbackError],
`workspace '${id}' order write and record rollback both failed; the pending marker remains recoverable`,
)
}
try {
await this.setState(state)
} catch (rollbackError) {
throw new AggregateError(
[error, rollbackError],
`workspace '${id}' order write and pending-marker rollback both failed`,
)
}
throw error
}
return entity
}
private async deleteKnown(id: WorkspaceId): Promise<boolean> {
const entity = this.entities.get(id)
if (entity === undefined) return false
const state = this.requireState()
const nextState = {
initialized: true,
workspaceIds: state.workspaceIds.filter(workspaceId => workspaceId !== id),
archivedSessionIds: state.archivedSessionIds,
}View on GitHub (pinned to b150a551b8)
Solutions
- Restore writability of the workspace store, then reconcile the pending marker with the order file manually.
When it happens
Trigger: Thrown at packages/workspace/workspace/src/index.ts:348 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/c987538763d7ef20.
Report an issue: GitHub.