I had an issue today. Payload wasn't executing queued jobs of a exclusive workflow with supersedes: false.
Never happened this before, i checked the logs for some reasons it stopped executing this workflow meanwhile scheduler keeps scheduling the new jobs.
I checked vercel logs, everything was fine, no errors.
Then i deleted all the pending jobs from the same queue and it worked, payload started executing them.
Is it the expected behaviour or something was wrong with my code?
I was assuming payload would clear up the queue one by one in a specific order.
concurrency: {
exclusive: true,
supersedes: false,
key({ input, queue }) {
return `queue#${queue}-gameSeason#${getDocumentId(input.gameSeason)}`;
},
},