https://pantsbuild.org/ logo
h

hundreds-father-404

11/12/2019, 11:40 PM
-- Instead, @hundreds-breakfast-49010 and I came up with the idea of introducing a new selector `RetryableGet`:
Copy code
result = yield RetryableGet(FallibleExecuteProcessResult, ExecuteProcessRequest, request, max_retries=options.max_retries)
This acts just like
Get
, only will retry up to n times. If it still fails, the whole Pants run will fail as normal This tries to work around the prior concern of new syntax.