deepseek-ai/deepseek-harness · error · AggregateError

workspace '${id}' order write and record rollback both faile

Error message

workspace '${id}' order write and record rollback both failed; the pending marker remains recoverable

What it means

Error "workspace '${id}' order write and record rollback both failed; the pending marker remains recoverable" thrown in deepseek-ai/deepseek-harness.

Source

Thrown at packages/workspace/workspace/src/index.ts:340

          [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) {
        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> {

View on GitHub (pinned to b150a551b8)

Solutions

  1. Restore writability of the workspace store (permissions, disk space), then clear the recoverable pending marker and re-apply the order.

When it happens

Trigger: Thrown at packages/workspace/workspace/src/index.ts:340 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/cdfd489eea1bea71. Report an issue: GitHub.