Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update runningProcesses to also include terminating processes #1454

Merged
merged 2 commits into from
May 31, 2024
Merged

Update runningProcesses to also include terminating processes #1454

merged 2 commits into from
May 31, 2024

Conversation

nckrtl
Copy link
Contributor

@nckrtl nckrtl commented May 31, 2024

This PR is an alternative for #1433 which both solve #1450. The difference with this PR is that terminating processes will be included in the runningProcesses() function, as suggested by @crynobone. Whenever there is a need to check for running processes elsewhere in the project the terminating processes will be included by default, instead of having to keep adding an additional check for terminating process like the other PR does #1433.

runningProcess() only checks $this->processes. But this doesn't include terminating processes, which are technically also running processes.
@nckrtl
Copy link
Contributor Author

nckrtl commented May 31, 2024

Tests are passing locally, are the unsuccessful checks a matter of re-running them?

@driesvints
Copy link
Member

driesvints commented May 31, 2024

@nckrtl seems to specifically fail on the PHP 8.3 and L11 combo. Wondering why 🤔

@crynobone
Copy link
Member

It probably has something to do with Symfony Process 7.1.0 (which just released few hours ago).

@driesvints
Copy link
Member

@nckrtl this is now fixed on 5.x, can you rebase?

@taylorotwell taylorotwell merged commit 3c359e3 into laravel:5.x May 31, 2024
10 checks passed
@taylorotwell
Copy link
Member

We'll give it a shot. 👍

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.

4 participants