Vault now has an option to retry failed Job Processor jobs. This is a welcomed new feature, but it doesn't always work in context of custom jobs that a failure may be the desired outcome.
It would be beneficial if the function to retry failed jobs automatically added and incremented a job parameter such as "retry attempts" with the number of times the job has been resubmitted to the queue.
We can then read that parameter in our custom job processor code to decide if we want the job to proceed or not based on the job type and value of the count.