-
Notifications
You must be signed in to change notification settings - Fork 693
Closed
Labels
Description
Horizon Version
5.19.1
Laravel Version
10.19.0
PHP Version
8.2.9
Redis Driver
Predis
Redis Version
1.1.10
Database Driver & Version
No response
Description
It appears the "Pending Jobs" number may be incorrect or misleading when there are failed jobs. This batch is complete and 160 did fail. However, no more are pending.

I would expect this number to be 0 since the batch is complete. Or, if it is to indicate the number of "Incomplete Jobs", then maybe that should have a separate title. Depending on the direction, the "Completed Jobs" and its subtitle might need to be adjusted as currently I would expect it to be 484
.
I see the same thing for all my recent batched jobs with failures - the "Pending Jobs" and "Failed Jobs" numbers are the same.
Steps To Reproduce
Run a batched job with some failures. You should see "Pending Jobs" and "Failed Jobs" are the same number.