{"record":{"id":"258afb753caec9a4","repo":"deepseek-ai/deepseek-harness","slug":"fs-aborted-258afb","errorCode":"FS_ABORTED","errorMessage":"resolve aborted","messagePattern":"resolve aborted","errorType":"exception","errorClass":"FsError","httpStatus":null,"severity":"error","filePath":"packages/fs/fs-local/src/index.ts","lineNumber":107,"sourceCode":"\n  /** Run `op` with exclusive access to `targetKey` (FIFO per key). */\n  private async withLock<T>(targetKey: string, op: () => Promise<T>): Promise<T> {\n    const prior = this.locks.get(targetKey) ?? Promise.resolve()\n    const run = prior.then(op, op)\n    // Keep the chain alive but swallow this op's result/throw for the *next* waiter.\n    const tail = run.then(() => undefined, () => undefined)\n    this.locks.set(targetKey, tail)\n    try {\n      return await run\n    } finally {\n      if (this.locks.get(targetKey) === tail) {\n        this.locks.delete(targetKey)\n      }\n    }\n  }\n\n  override async resolve(path: string, opts?: { cwd?: string; signal?: AbortSignal }): Promise<FsTarget> {\n    if (opts?.signal?.aborted) throw new FsError('resolve aborted', 'FS_ABORTED')\n    const local = await resolveLocalTarget(opts?.cwd ?? this.config.cwd, path)\n    if (opts?.signal?.aborted) throw new FsError('resolve aborted', 'FS_ABORTED')\n    return { targetKey: local.targetKey, displayPath: local.displayPath }\n  }\n\n  override processPath(target: FsTarget): string {\n    return String(target.targetKey)\n  }\n\n  override fileUrl(target: FsTarget): string {\n    return pathToFileURL(this.processPath(target)).href\n  }\n\n  override contains(parent: FsTarget, child: FsTarget): boolean {\n    const path = relative(this.processPath(parent), this.processPath(child))\n    return path === '' || (path !== '..' && !path.startsWith(`..${sep}`) && !isAbsolute(path))\n  }\n","sourceCodeStart":89,"sourceCodeEnd":125,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/fs/fs-local/src/index.ts#L89-L125","documentation":"Error \"resolve aborted\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/fs/fs-local/src/index.ts:107 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}