Skip to content

Commit

Permalink
(fix): Be more permissive during retries about workflow remote execut…
Browse files Browse the repository at this point in the history
…ion initialization
  • Loading branch information
justinkaseman committed Nov 20, 2024
1 parent 226211a commit bac484e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/capabilities/remote/executable/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,12 @@ 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

return nil
}

Expand Down

0 comments on commit bac484e

Please sign in to comment.