Cook icon indicating copy to clipboard operation
Cook copied to clipboard

cli reported a success even though job submission failed

Open shamsimam opened this issue 7 years ago • 3 comments

$ cs submit ls
Attempting to submit on dev0 cluster...
Job submission succeeded on dev0. Your job UUIDs are:

$

shamsimam avatar Apr 11 '18 18:04 shamsimam

Actually it might be a bug in my branch where even though job submission fails, an http status code of 201 is being returned.

shamsimam avatar Apr 11 '18 18:04 shamsimam

We chatted offline and @dposada suggested there is room for improvement here by not claiming success if the UUID is not found in the response.

shamsimam avatar Apr 11 '18 19:04 shamsimam

Not sure if this is worth handling unless we think it could happen in the current master code

dposada avatar Apr 12 '18 21:04 dposada