-
-
Notifications
You must be signed in to change notification settings - Fork 0
bedrock: lock lease renewal and expiry #558
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or requestpkg:bedrockScope: @bedrock-rbx/core packageScope: @bedrock-rbx/core packagepkg:state-s3Scope: @bedrock-rbx/state-s3 packageScope: @bedrock-rbx/state-s3 packageready-for-agentFully specified, AFK-ready for an agent to pick upFully specified, AFK-ready for an agent to pick up
Description
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpkg:bedrockScope: @bedrock-rbx/core packageScope: @bedrock-rbx/core packagepkg:state-s3Scope: @bedrock-rbx/state-s3 packageScope: @bedrock-rbx/state-s3 packageready-for-agentFully specified, AFK-ready for an agent to pick upFully specified, AFK-ready for an agent to pick up
Parent
#114
What to build
A Lease on the hold, so a Deploy killed by a cancelled CI job does not block every later deploy behind manual intervention. CI runners kill process trees on cancellation, and a hold that outlives its holder forever is the dominant operational complaint against locking in comparable tools.
The hold carries a deadline, renewed while the deploy runs. A hold whose lease stops being renewed expires and may be taken over.
Blocked by the conditional State write because that is what makes takeover safe: a holder that kept running past its expired lease cannot overwrite the State written by whoever took over.
Acceptance criteria
Blocked by