Skip to content

Conversation

adamziel
Copy link
Collaborator

Motivation for the change, related issues

Before this PR, it was Worker implementation responsibility to call registerWorkerListeners() on every spawned PHP instance. With this PR, the root PHPWorker handles that inside its acquirePHPInstance() method (which is called to spawn PHP instances).

Testing Instructions (or ideally a Blueprint)

CI

Base automatically changed from preserve-chroot-across-all-managed-php-instances to trunk September 30, 2025 14:40
@adamziel adamziel changed the title [PHP] Move registerWorkerListeners() call to acquireInstance in the PHPWorker class [PHP] Move registerWorkerListeners() from specific worker to the parent PHPWorker Sep 30, 2025
@adamziel adamziel changed the title [PHP] Move registerWorkerListeners() from specific worker to the parent PHPWorker [PHP] Move registerWorkerListeners() from a specific worker to the parent PHPWorker Sep 30, 2025
@adamziel adamziel merged commit d133cdd into trunk Sep 30, 2025
25 of 26 checks passed
@adamziel adamziel deleted the test-worker-wide-event-listener branch September 30, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant