From aa9d5b428c4d4f66d3cf8e48cf4797eb6c9fd439 Mon Sep 17 00:00:00 2001 From: Hal Spang Date: Mon, 27 Jul 2026 16:16:12 -0700 Subject: [PATCH] Introduce pending orchestration TTL Signed-off-by: Hal Spang --- protos/orchestrator_service.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/protos/orchestrator_service.proto b/protos/orchestrator_service.proto index 3d9194a..eb3a058 100644 --- a/protos/orchestrator_service.proto +++ b/protos/orchestrator_service.proto @@ -391,6 +391,12 @@ message CreateInstanceRequest { map tags = 8; TraceContext parentTraceContext = 9; google.protobuf.Timestamp requestTime = 10; + // Optional. Maximum time the orchestration may remain in the PENDING state (i.e. created + // but not yet picked up by a worker) before it is automatically expired and moved to a + // terminal state. This guards against orchestrations that can never be dispatched because + // no connected worker matches their version or work item filters. Unset or zero means no + // expiration (the orchestration remains pending indefinitely, the default behavior). + google.protobuf.Duration pendingInstanceTimeout = 11; } message OrchestrationIdReusePolicy {