deepseek-ai/deepseek-harness · error

schedule: corrupt schedule log for agent "${this.agent.id}":

Error message

schedule: corrupt schedule log for agent "${this.agent.id}": ${detail}

What it means

Error "schedule: corrupt schedule log for agent "${this.agent.id}": ${detail}" thrown in deepseek-ai/deepseek-harness.

Source

Thrown at packages/schedule/schedule/src/runtime.ts:215

        this.idleWait = undefined
        if (this.isLive()) {
          this.ctx.logger.warn(`schedule: idle wait failed for agent "${this.agent.id}": ${renderThrown(error)}`)
        }
      },
    )
  }

  /** Fold the current exact runtime suffix and contain a corrupt durable stream. */
  private readFolded(): FoldedSchedules | undefined {
    try {
      return foldScheduleEvents(
        this.agent.session.events,
        this.agent.session.header.seedLength ?? 0,
      )
    } catch (error: unknown) {
      this.faulted = true
      const detail = error instanceof ScheduleLogError ? error.message : renderThrown(error)
      this.ctx.logger.warn(`schedule: corrupt schedule log for agent "${this.agent.id}": ${detail}`)
      return undefined
    }
  }

  /** Contain an invalid wall-clock decision without permanently faulting this runtime. */
  private decide(folded: FoldedSchedules, now: number): DueDecision | undefined {
    try {
      return dueDecision(folded, now)
    } catch (error: unknown) {
      this.ctx.logger.warn(`schedule: fixed-rate decision failed for agent "${this.agent.id}": ${renderThrown(error)}`)
      return undefined
    }
  }

  /** Preflight, fold, arm, or dispatch the next one-shot or fixed-rate batch. */
  private async driveOnce(): Promise<void> {
    this.clearTimer()
    if (!this.isRunnable()) return

View on GitHub (pinned to b150a551b8)

Solutions

  1. Repair or delete the corrupt schedule log for the agent per the detail, then let it be rebuilt.

When it happens

Trigger: Thrown at packages/schedule/schedule/src/runtime.ts:215 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/fc986d02baa2b4ad. Report an issue: GitHub.