dstack
dstack copied to clipboard
Error handling in the `_process_job` funtion
Many places in the "_process_job" function require error handling.
- [ ]
RunnerClient.pull()
inside the_process_running
function can raiseRequestException
- [ ]
ShimClient.submit() inside the
_process_provisioning_with_shimfunction can raise
RequestException` - [ ] Inside the
_process_pulling_with_shim
funcation,ShimClient.pull()
andRunnerClient.healthcheck()
can raiseReqeustException
- [ ] Exceptions from
RunnerClient.submit()
,RunnerClient.upload()
andRunnerClient.run_job()
inside the_submit_job_to_runner
function are not handled - [ ] The
_get_job_code
can raise a botocore exception