If a worker calls retry on a job that has exhausted it's retries, the job is marked as failed but never emits a message on the failed pubsub channel.
This means that workers cannot simply attempt to retry and rely on the system to do the right thing - they have to check if the job has any retries remaining and fail it if not.
If a worker calls
retry
on a job that has exhausted it's retries, the job is marked asfailed
but never emits a message on thefailed
pubsub channel.This means that workers cannot simply attempt to retry and rely on the system to do the right thing - they have to check if the job has any retries remaining and fail it if not.