Skip to content

[12.x] Add queue to JobPopping#58413

Merged
taylorotwell merged 5 commits intolaravel:12.xfrom
jackbayliss:12.x-add-queue-to-job-popping-event
Jan 19, 2026
Merged

[12.x] Add queue to JobPopping#58413
taylorotwell merged 5 commits intolaravel:12.xfrom
jackbayliss:12.x-add-queue-to-job-popping-event

Conversation

@jackbayliss
Copy link
Contributor

@jackbayliss jackbayliss commented Jan 17, 2026

The JobPopping event currently only includes the connection name, but not the queue.

Adding the queue property helps when you're running various different queues (when tracking things like frequency etc with this event) mainly helpful for loggers/metrics etc

JobPopped/JobProcessing etc allow us to access the queue via the job, ie via getQueue() but this event doesn't give us access to the queue so this aligns them closer.

I've defaulted it to null incase anyone is overriding or extending it etc - to avoid any b/c but feel free to adjust.

@github-actions
Copy link

Thanks for submitting a PR!

Note that draft PR's 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 changed the title [12.x] Add queue name to JobPopping [12.x] Add queueName to JobPopping Jan 17, 2026
@jackbayliss jackbayliss changed the title [12.x] Add queueName to JobPopping [12.x] Add queue to JobPopping Jan 17, 2026
@jackbayliss jackbayliss marked this pull request as ready for review January 18, 2026 01:07
@taylorotwell taylorotwell merged commit a6ab1f4 into laravel:12.x Jan 19, 2026
70 checks passed
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

Comments