Skip to content

Jobs: Add a way to inject retriable and non-retriable errors #81474

@jocrl

Description

@jocrl

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

Metadata

Metadata

Assignees

Labels

A-jobsC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-jobs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions