{"record":{"id":"42c5812322beb212","repo":"deepseek-ai/deepseek-harness","slug":"schedule-persistence-did-not-complete","errorCode":null,"errorMessage":"Schedule persistence did not complete.","messagePattern":"Schedule persistence did not complete\\.","errorType":"exception","errorClass":"SchedulePersistenceError","httpStatus":null,"severity":"error","filePath":"packages/schedule/schedule/src/persistence.ts","lineNumber":26,"sourceCode":"  /**\n   * Construct a contained persistence failure.\n   * @param cause - Rejection returned by the shared barrier, when present.\n   */\n  constructor(cause?: unknown) {\n    super('Schedule persistence did not complete.', cause === undefined ? undefined : { cause })\n    this.name = 'SchedulePersistenceError'\n  }\n}\n\n/**\n * Require one successful shared persistence checkpoint.\n * @param ctx - Context carrying the live session store.\n * @param session - Exact live session to checkpoint.\n * @returns After at least one listener explicitly acknowledges completed durability work.\n */\nexport async function flushSchedulePersistence(ctx: Context, session: Session): Promise<void> {\n  try {\n    if (!await ctx.sessions.flush(session)) throw new SchedulePersistenceError()\n  } catch (error: unknown) {\n    if (error instanceof SchedulePersistenceError) throw error\n    throw new SchedulePersistenceError(error)\n  }\n}\n","sourceCodeStart":8,"sourceCodeEnd":32,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/schedule/schedule/src/persistence.ts#L8-L32","documentation":"Error \"Schedule persistence did not complete.\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/schedule/schedule/src/persistence.ts:26 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Retry the persistence operation and check the underlying store error; do not treat the schedule as saved."],"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"}