Skip to content

Job.FollowLogs does not return job error

Axel von Bertoldi requested to merge avonbertoldi/job-follow-log-error into main

When following logs, only return an error that occurred while following/streaming the logs (e.g. read/write errors). Do NOT return the result of running the job itself. That will be conveyed via the job status.

In other words, all the gRPC API should only return error that occurred servicing that API. Failures in running the job itself should only be conveyed via the job's Status.

I've not updated the FollowSteps method because I'll be removing it altogether soon.

Edited by Axel von Bertoldi

Merge request reports

Loading