fix: fence runtime removal races and retries
This commit is contained in:
@@ -178,7 +178,9 @@ Deno.test("Runtime detail keeps trust controls owner-only and conflict-safe", as
|
||||
"Workspace trust only; this does not delete the Runtime process, Workers, or Workdirs.",
|
||||
"await revokeRuntimeTrustKey(",
|
||||
"await removeRemoteRuntime(",
|
||||
"operation_id: crypto.randomUUID()",
|
||||
"new RuntimeRemovalAttempt()",
|
||||
"runtimeRemovalAttempt.operationId()",
|
||||
"operation_id: operationId",
|
||||
"expected_binding_revision: trust.revision",
|
||||
"The Backend removes Workspace trust and this Runtime registration as one guarded operation.",
|
||||
"deleteRuntimeConfirmation.trim() !== data.runtimeId",
|
||||
|
||||
Reference in New Issue
Block a user