Exception: SolidLoop::LostLease

Inherits:
StandardError
  • Object
show all
Defined in:
lib/solid_loop.rb

Overview

Raised on the main LLM-turn path when the background lease heartbeat has LOST the lease (a conditional renew touched 0 rows — the generation token rotated away via pause/stop/reclaim, or the reaper already reclaimed the turn). The main path must raise this BEFORE any canonical write so a worker that no longer owns the loop never commits a turn. See LeaseHeartbeat.