You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fleet queue: an early heartbeat shortens the current holder’s lease #13553
Part of #13272 workstream A. I am taking this narrow implementation. A packet is deliberately omitted because the change is already owned and this investigation has no authority to mutate production queue rows.
At main cb4f687, the native Turso heartbeat replaces the task and lease deadlines with now + extend_seconds. The hosted queue verb does the same. Given an agent-next four-hour claim and a default heartbeat after five minutes, the new deadline is twenty minutes after claim. This is a source-derived counterexample. No production heartbeat or production incident is claimed. #7617 fixed initial claim duration and lane handling; this concerns subsequent heartbeats.
Acceptance: A heartbeat preserves the later of the current deadline and now plus the requested extension. Task and lease agree when the heartbeat succeeds. A heartbeat for an old holder must not renew a new holder's claim. Exercise early and late renewal, repeated calls and a replaced holder in isolated fixtures. Document the effective guarantee and generation boundary under DOC-01. Keep the claim defaults unchanged.
Activity
developing-today commentedon Nov 23, 2026
CODE-4954