Proposing the attached branch as fixes for this. This returns NotFound for job_ids which do not exist and Gone for job_ids we have already acknowledged.
Note for reviewers: I have very scant understanding of which errors are correctly mapped to client return codes and which are valid for same so do check I am throwing sane exceptions there.
Proposing the attached branch as fixes for this. This returns NotFound for job_ids which do not exist and Gone for job_ids we have already acknowledged.
Note for reviewers: I have very scant understanding of which errors are correctly mapped to client return codes and which are valid for same so do check I am throwing sane exceptions there.