From c4daa70e398a5bfb8d2bad5f69112622afcc6fd9 Mon Sep 17 00:00:00 2001 From: Justin Kaseman Date: Wed, 20 Nov 2024 14:56:38 -0800 Subject: [PATCH] (fix): Be more permissive during retries about workflow remote execution initialization --- core/capabilities/remote/executable/client.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/capabilities/remote/executable/client.go b/core/capabilities/remote/executable/client.go index 08c773cdb86..fe13e405798 100644 --- a/core/capabilities/remote/executable/client.go +++ b/core/capabilities/remote/executable/client.go @@ -208,7 +208,8 @@ func (c *client) sendRequest(req *request.ClientRequest) error { c.lggr.Debugw("executing remote execute capability", "requestID", req.ID()) if _, ok := c.requestIDToCallerRequest[req.ID()]; ok { - return fmt.Errorf("request for ID %s already exists", req.ID()) + c.lggr.Debugw("request for ID already exists", "requestID", req.ID()) + return nil } c.requestIDToCallerRequest[req.ID()] = req