-
Notifications
You must be signed in to change notification settings - Fork 669
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
psalm fails to analyze PSL when using 3..14, or 16 threads. #9185
Comments
Hey @azjezz, can you reproduce the issue on https://psalm.dev ? |
@azjezz can you make sure the PSL commit you're running this on is accessible somewhere? |
this has been happening for a long period, but thanks to @veewee we discovered that it's related to thread configuration last night. You can replicate this behavior in the latest commit of PSL ( azjezz/psl@33496f6 ), to get the result above, i used |
ref: vimeo/psalm#9185 Signed-off-by: azjezz <azjezz@protonmail.com>
Hi, Is there anything we can do to help with the resolution of this issue and #9083 We have relatively big application with ~10 000 PHP files (1 400 000 LOC) and this issue have been impacting our team for years. It's a 20 year old codebase with ~1500 files still in the baseline. I'll be more than happy to provide you more information to help diagnose this problem. The only way to make it work consistantly is with :
We reproduce with php 8.1 and 8.3 on Mac M1 and Linux. |
Hi, I'm very happy to confirm that the release of psalm 6.x fix this issue for us. Great job on this awesome tool 🎉 |
configuring psalm to use 1, 2, 15, or 17+ threads, PSL analysis passes with no issues, when configured with 3 threads or more ( up to 14 ), or 16 threads, it fails:
using
--threads=1
or--threads=2
:using
--threads=3
:using
--threads=14
:using
--threads=15
:using
--threads=16
:The text was updated successfully, but these errors were encountered: