laravel / horizon

Dashboard and code-driven configuration for Laravel queues.
https://laravel.com/docs/horizon
MIT License
3.88k stars 658 forks source link

Create status command for individual supervisors #1467

Closed mfrieswyk closed 3 months ago

mfrieswyk commented 5 months ago

Following the pattern of the horizon:pause-supervisor and horizon:continue-supervisor commands, this PR aims to address Issue 1461 by introducing a horizon:status-supervisor command.

The existing horizon:status command only checks for the presence of a single paused supervisor before reporting that "Horizon is paused". This new command will allow users with multiple configurations to see accurate statuses for each supervisor.

taylorotwell commented 5 months ago

How did you test this command manually? It's never registered with Artisan?

mfrieswyk commented 3 months ago

Sorry for the delay, here's the command being successfully invoked locally after registering it:

image