deepseek-ai/deepseek-harness · error · AggregateError
workspace '${id}' record write and pending-marker rollback b
Error message
workspace '${id}' record write and pending-marker rollback both failed What it means
Error "workspace '${id}' record write and pending-marker rollback both failed" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/workspace/workspace/src/index.ts:321
this.entities.set(id, entity)
const pendingState: WorkspaceDomainState = {
...state,
pendingMutation: { operation: 'create', workspaceId: id },
}
try {
await this.setState(pendingState)
} catch (error) {
this.entities.delete(id)
throw error
}
try {
await table.put(id, record)
} catch (error) {
this.entities.delete(id)
try {
await this.setState(state)
} catch (rollbackError) {
throw new AggregateError(
[error, rollbackError],
`workspace '${id}' record write and pending-marker rollback both failed`,
)
}
throw error
}
try {
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) {View on GitHub (pinned to b150a551b8)
Solutions
- Check filesystem permissions and free space on the workspace store; after restoring writability, reconcile the pending marker and record manually.
When it happens
Trigger: Thrown at packages/workspace/workspace/src/index.ts:321 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/5fec56b586c2f987.
Report an issue: GitHub.