deepseek-ai/deepseek-harness · error · FsError
FS_ABORTED
FS_ABORTED
Error message
resolve aborted
What it means
Error "resolve aborted" thrown in deepseek-ai/deepseek-harness.
Source
Thrown at packages/fs/fs-local/src/index.ts:107
/** Run `op` with exclusive access to `targetKey` (FIFO per key). */
private async withLock<T>(targetKey: string, op: () => Promise<T>): Promise<T> {
const prior = this.locks.get(targetKey) ?? Promise.resolve()
const run = prior.then(op, op)
// Keep the chain alive but swallow this op's result/throw for the *next* waiter.
const tail = run.then(() => undefined, () => undefined)
this.locks.set(targetKey, tail)
try {
return await run
} finally {
if (this.locks.get(targetKey) === tail) {
this.locks.delete(targetKey)
}
}
}
override async resolve(path: string, opts?: { cwd?: string; signal?: AbortSignal }): Promise<FsTarget> {
if (opts?.signal?.aborted) throw new FsError('resolve aborted', 'FS_ABORTED')
const local = await resolveLocalTarget(opts?.cwd ?? this.config.cwd, path)
if (opts?.signal?.aborted) throw new FsError('resolve aborted', 'FS_ABORTED')
return { targetKey: local.targetKey, displayPath: local.displayPath }
}
override processPath(target: FsTarget): string {
return String(target.targetKey)
}
override fileUrl(target: FsTarget): string {
return pathToFileURL(this.processPath(target)).href
}
override contains(parent: FsTarget, child: FsTarget): boolean {
const path = relative(this.processPath(parent), this.processPath(child))
return path === '' || (path !== '..' && !path.startsWith(`..${sep}`) && !isAbsolute(path))
}
View on GitHub (pinned to b150a551b8)
When it happens
Trigger: Thrown at packages/fs/fs-local/src/index.ts:107 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/258afb753caec9a4.
Report an issue: GitHub.