DashboardopencodeSession recovery claim semantics

Session recovery claim semantics

Category: gotcha
Confidence: 1.00
ID: 01a0a2a4-a827-767e-a267-3e386b93f549
Project ID: c0425955-02bc-4c17-9af2-b114c00077e7
Cross-project: No
Recalled in other projects: 1
Source session: 11qIXHPNH6kwizEpW
Created: 2026-09-08 07:18:34
Updated: 2026-09-15 01:18:15

Cross-Project Recalls

ProjectHitsLast recalled
opencode-lore 1 2d ago

Content

Trap: startup scanning every SessionExecutionTable row as abandoned looks reasonable because a new process cannot see process-local owners, but another node may still be executing. Fix: use durable owner liveness plus lease/epoch fencing; every state transition and provider dispatch must match the execution ID and fencing token and require one affected row, because deleting or replacing a claim alone does not stop a stale runner.

Move to: