{"record":{"id":"2985637b6239816b","repo":"deepseek-ai/deepseek-harness","slug":"commit","errorCode":"commit","errorMessage":"manual compaction did not commit cleanly","messagePattern":"manual compaction did not commit cleanly","errorType":"exception","errorClass":"ManualCompactionError","httpStatus":null,"severity":"error","filePath":"packages/compaction/compaction-basic/src/region.ts","lineNumber":259,"sourceCode":"    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    )\n  }\n  if (failure.error instanceof SurfaceChangedError) {\n    throw new ManualCompactionError(\n      'changed',\n      'the compacted history changed during manual compaction',\n      { cause: failure.error },\n    )\n  }\n  throw new ManualCompactionError(\n    'summary',\n    'manual compaction could not produce a smaller summary',\n    { cause: failure.error },\n  )\n}","sourceCodeStart":241,"sourceCodeEnd":277,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/compaction/compaction-basic/src/region.ts#L241-L277","documentation":"Error \"manual compaction did not commit cleanly\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/compaction/compaction-basic/src/region.ts:259 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Investigate why the commit did not complete cleanly and retry the compaction."],"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"}