Skip to content

[13.x] Surface paused queues in the queue worker output - #61142

Merged
taylorotwell merged 3 commits into
laravel:13.xfrom
jackbayliss:13.x-worker-paused-resumed-status
Aug 12, 2026
Merged

[13.x] Surface paused queues in the queue worker output#61142
taylorotwell merged 3 commits into
laravel:13.xfrom
jackbayliss:13.x-worker-paused-resumed-status

Conversation

@jackbayliss

@jackbayliss jackbayliss commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

Basically, queue pausing and resuming is cool.

But, when you're running a worker, or implementing queue pausing user land it's not 100% clear from the worker side that it is paused.

Currently, that means we get the below (the output just stops...):

Details
Screen.Recording.2026-08-12.at.10.03.28.mov

This PR adds 2 new events for the Worker command listens to.. meaning we get the output:

Details
Screen.Recording.2026-08-12.at.09.55.58.mov

This adds a property to the Worker so it keeps track of its own queues, and means it doesnt get spammed every loop

The coolest part is if a queue is paused and THEN you bring the worker up, it'll still report it as paused

(Hopefully you see the idea)

Happy for you to change it about!

@github-actions

Copy link
Copy Markdown

Thanks for submitting a PR!

Note that draft PRs are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@jackbayliss
jackbayliss marked this pull request as ready for review August 12, 2026 11:26
@taylorotwell
taylorotwell merged commit a8ec82d into laravel:13.x Aug 12, 2026
53 checks passed
@jackbayliss
jackbayliss deleted the 13.x-worker-paused-resumed-status branch August 12, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants