{"record":{"id":"8910bcb182e2548d","repo":"deepseek-ai/deepseek-harness","slug":"persistence","errorCode":"persistence","errorMessage":"manual compaction durability checkpoint failed","messagePattern":"manual compaction durability checkpoint failed","errorType":"exception","errorClass":"ManualCompactionError","httpStatus":null,"severity":"error","filePath":"packages/compaction/compaction-basic/src/region.ts","lineNumber":245,"sourceCode":"      }\n    }\n  }\n\n  if (closed && options.flush !== undefined) {\n    try {\n      await options.flush()\n    } catch (error: unknown) {\n      flushFailure = error\n    }\n  }\n\n  if (options.owner === null) signal?.throwIfAborted()\n  if (failure !== undefined) {\n    if (options.owner === null) throwManualFailure(failure)\n    throw failure.error\n  }\n  if (flushFailure !== undefined) {\n    throw new ManualCompactionError(\n      'persistence',\n      'manual compaction durability checkpoint failed',\n      { cause: flushFailure },\n    )\n  }\n  /* v8 ignore next -- every path without a result records and throws a failure above. */\n  if (result === undefined) throw new Error('compaction committed without a result')\n  return result\n}\n\n/** Classify one closed manual attempt without weakening cancellation precedence. */\nfunction throwManualFailure(failure: TransactionFailure): never {\n  if (failure.stage === 'commit') {\n    throw new ManualCompactionError(\n      'commit',\n      'manual compaction did not commit cleanly',\n      { cause: failure.error },\n    )","sourceCodeStart":227,"sourceCodeEnd":263,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/compaction/compaction-basic/src/region.ts#L227-L263","documentation":"Error \"manual compaction durability checkpoint failed\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/compaction/compaction-basic/src/region.ts:245 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Fix the durability checkpoint failure, such as storage errors, and retry."],"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"}