[job submission] Add driver exit code in JobInfo #31183
Labels
core
Issues that should be addressed in Ray Core
enhancement
Request for new feature and/or capability
P1
Issue that should be fixed within a few weeks
Description
The query result of jobs through job submission api
curl 'http://0.0.0.0:8266/api/jobs/'
looks like:In our use case, ray job users want to obtain the driver's exit code which represents the actual exit reason of the job. For example, the driver process exit with code 100, which means OOM occurs in the job.
However, the existing query result from job submission api is lack of driver exit code.
There are maybe two possible solutions:
message
field, but need to make it structured, currently it is just a string that contains part of the job logI'm glad to submit a PR if the feature makes sense.
Use case
No response
The text was updated successfully, but these errors were encountered: