ui: Add table to Jobs page showing errors#81180
ui: Add table to Jobs page showing errors#81180jocrl wants to merge 1 commit intocockroachdb:masterfrom
Conversation
Todo: - Blocked on understanding how the endpoint fields are populated in a real use case. See comment in thread. Fixes cockroachdb#69170 This commit adds a "Job errors" table to the Job Details page. Currently this draft implementation shows both the message in the `error` (string) field with the job start and end time as error start and end times, and the errors in the `execution_failures` field. Separately, this commit also - Improves job and table stories - Renames the active stmts/txn prop type to distinguish those types from their respective components Release note (ui): This commit adds a "Job errors" table to the Job Details page.
|
Hello! 😄 Could I get help with understanding the endpoint + requirements? Specifically, #75556 adds an For development purposes, I have managed to cause a job to fail by adding an error in the normal job flow. But it does not populate the Lacking the example of a real use case, I have some starting questions:
Assuming I'm correct on the above two assumptions, my further questions are: Regardless of the retriable/non-retriable errors stuff, Thanks, everyone! |
|
|
Thanks, @kevin-v-ngo! I've gotten answers to 5 and 7 from Andrew: Additionally, Andrew said that
From Kevin, regarding error message length:
@Annebirzin, just bringing up that another option could be to fix cell size, and scroll the contents. Additionally, @Annebirzin, regarding Kevin's comment that:
We discussed off-thread, and it sounds like we want to convey the difference between the "final" non-retriable error in the status, and the retriable errors in the job table. A suggestion was to name the job errors table "Previous Job errors" - this table might be present while the job is running, reverting, or moved on to some other state e.g. succeeded/failed. I've updated the screenshot in the description with these text updates. |
|
|
Hi @amruss! Could we get your help on how to convey that the errors table only contains retriable errors, and not non-retriable ones? E.g., whether that's a title for the table, or some description text. |
|
It looks like #82562 could unblock this. See #81474 (comment). |



Todo:
errorfield: Jobs: Add a way to inject retriable and non-retriable errors #81474Fixes #69170
This commit adds a "Job errors" table to the Job Details page.
Currently this draft implementation shows both the message in the
error(string) field with the job start and end time as error start and end times,
and the errors in the
execution_failuresfield.Separately, this commit also
respective components
No errors:

Retriable errors: Image TBD. Blocked on #81474
Failed without retriable errors:

Release note (ui): This commit adds a "Job errors" table to the Job Details
page.