deepseek-ai/deepseek-harness · error · AggregateError
AclSandbox dispose completed with ${failures.length} cleanup
Error message
AclSandbox dispose completed with ${failures.length} cleanup failure(s) What it means
Error "AclSandbox dispose completed with ${failures.length} cleanup failure(s)" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/sandbox/sandbox-windows-acl/src/index.ts:431
/* v8 ignore next -- init assigns this.api only after this.token, so an initialized instance always
has its token; the guard mirrors the write-SID guard. */
if (token !== undefined) {
try {
if (api.closeHandle(token) === 0) throwLastError(api, 'CloseHandle', 'restricted token')
} catch (error) {
failures.push(error)
}
}
for (const sidPtr of this.sidAllocations.splice(0)) {
freeSidBestEffort(api, sidPtr, 'init SID allocation', failures)
}
this.api = undefined
this.token = undefined
this.writeSidPtr = undefined
this.tempWriteSidPtr = undefined
this.grantedPaths = []
if (failures.length > 0) {
throw new AggregateError(failures, `AclSandbox dispose completed with ${failures.length} cleanup failure(s)`)
}
}
}
View on GitHub (pinned to b150a551b8)
Solutions
- Inspect the attached cleanup failure causes and remove the leftover ACL entries manually.
- Close any processes still running in the sandbox before disposing it.
When it happens
Trigger: Thrown at packages/sandbox/sandbox-windows-acl/src/index.ts:431 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/a8ee632cb9b8afdd.
Report an issue: GitHub.