Closed
Description
Laravel Version
10.4
PHP Version
8.1
Database Driver & Version
No response
Description
When using the SkipIfBatchCancelled middleware together with failed jobs retries, the jobs that previously failed are marked as successful when one job reaches the failed retry threshold.
Steps To Reproduce
Actual:
- Batch 10 jobs
- Job 3 and 7 fail
- Failed jobs are retried up to retry threshold
- Job 3 meets threshold first, marks batch as cancelled
- Job 7 is skipped, and marked as successful due to SkipIfBatchCancelled middleware
Expected
5. Job 7 had previously failed, so it should not be marked as successful, it should be marked as failed instead.
Metadata
Metadata
Assignees
Labels
No labels