Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
None
-
None
Description
The contract in beam_job_api.proto for `CancelJobRequest`, `GetJobStateRequest`, and `GetJobPipelineRequest` states:
// Throws error NOT_FOUND if the jobId is not found
However, `InMemoryJobService` is handling this exception incorrectly by rethrowing `NOT_FOUND` exceptions as `INTERNAL`.
neither `JobMessagesRequest` nor `GetJobMetricsRequest` state their contract wrt exceptions, but they should probably be updated to handle `NOT_FOUND` in the same way.
Attachments
Issue Links
- links to