deepseek-ai/deepseek-harness · error · ManualCompactionError
cancelled
cancelled
Error message
manual compaction was cancelled
What it means
Error "manual compaction was cancelled" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/compaction/compaction-basic/src/index.ts:403
return await compactSurfaceRegion(
this.regionDependencies(),
agent.session,
range.start,
range.end,
agent,
{
owner: null,
stability: 'selected-span',
...sourceCommandId === undefined ? {} : { sourceCommandId },
flush: async () => {
await this.ctx.sessions.flush(agent.session)
},
},
operationSignal,
)
} catch (error: unknown) {
if (agentSignal.aborted && operationSignal.reason === agentSignal.reason) {
throw new ManualCompactionError(
'cancelled',
'manual compaction was cancelled',
{ cause: error },
)
}
operationSignal.throwIfAborted()
throw error
}
})
} catch (error: unknown) {
throw new ManualCompactionError(
'busy',
'manual compaction requires an idle agent with no waking queued work',
{ cause: error },
)
}
}
View on GitHub (pinned to b150a551b8)
Solutions
- Re-run manual compaction without cancelling it.
When it happens
Trigger: Thrown at packages/compaction/compaction-basic/src/index.ts:403 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/73b24cb597a4e0a7.
Report an issue: GitHub.