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 f608a91
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/capabilities/remote/executable/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,11 @@ 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())
} else {
c.requestIDToCallerRequest[req.ID()] = req
}

c.requestIDToCallerRequest[req.ID()] = req
return nil
}

Expand Down

0 comments on commit f608a91

Please sign in to comment.