-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Jobs: Add a way to inject retriable and non-retriable errors #81474
Copy link
Copy link
Closed
Labels
A-jobsC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-jobs
Description
I've figured out how to inject non-retriable errors by temporarily compiling errors into a normal job flow, but I can't figure out how to cause a retriable error. I would like to simulate a retriable error to understand how the jobs endpoint behaves when there are retriable errors, for UI development.
It would be great if there was a built-in way to inject retriable and non-retriable errors into jobs. Thanks!
This blocks #81180.
Jira issue: CRDB-15166
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-jobsC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-jobs