Skip to content

[13.x] Include connection and queue on WorkerStopping when worker is killed - #61408

Merged
taylorotwell merged 2 commits into
laravel:13.xfrom
jackbayliss:13.x-thread-cojnnectionname-etc-thru-kill
Sep 2, 2026
Merged

taylorotwell merged 2 commits into
laravel:13.xfrom
jackbayliss:13.x-thread-cojnnectionname-etc-thru-kill

Conversation

@jackbayliss

@jackbayliss jackbayliss commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

if a worker was killed (such as a job timing out), the dispatched WorkerStopping event had no connectionName/queue so this PR ensures WorkerStopping always provides it.

I missed this in my last PR, cos we of course have kill and stop methods :trollface:

We can tidy this up in 14.x if you like, happy to take your direction just lmk where you want it going.

No tests cos it's all signals, but hopefully code is simple to follow

@github-actions

github-actions Bot commented Sep 2, 2026

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 September 2, 2026 12:25
@taylorotwell
taylorotwell merged commit c4f6a3b into laravel:13.x Sep 2, 2026
56 checks passed
@jackbayliss
jackbayliss deleted the 13.x-thread-cojnnectionname-etc-thru-kill branch September 2, 2026 17:02
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