-
Notifications
You must be signed in to change notification settings - Fork 16
fix(core): run plugins sequentially #1145
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
Conversation
|
View your CI Pipeline Execution ↗ for commit c0e7f04
☁️ Nx Cloud last updated this comment at |
|
View your CI Pipeline Execution ↗ for commit c0e7f04 ☁️ Nx Cloud last updated this comment at |
@code-pushup/ci
@code-pushup/cli
@code-pushup/core
@code-pushup/create-cli
@code-pushup/models
@code-pushup/nx-plugin
@code-pushup/axe-plugin
@code-pushup/coverage-plugin
@code-pushup/eslint-plugin
@code-pushup/js-packages-plugin
@code-pushup/jsdocs-plugin
@code-pushup/lighthouse-plugin
@code-pushup/typescript-plugin
@code-pushup/utils
@code-pushup/models-transformers
commit: |
Code PushUp😟 Code PushUp report has regressed – compared current commit 65d231a with previous commit c90eea2. 🕵️ See full comparison in Code PushUp portal 🔍 🏷️ Categories👎 1 group regressed, 👎 4 audits regressed, 15 audits changed without impacting score🗃️ Groups
22 other groups are unchanged. 🛡️ Audits
659 other audits are unchanged. |
|
Is it just "spinners" problem or is there a deeper issue to run in parallel? I honestly thought we mean to run them in parallel. |
As I recall, the initial reason was that concurrent execution would impact the results of plugins that measure performance (e.g., Lighthouse). However, at this moment in time, a bigger concern for me is that logging and handling errors in concurrent mode would be way more complex. To do it well, we'd probably have to build something like Nx's new Terminal UI, and I don't think it's worth investing our resources into that. I also couldn't find any well-established packages that support concurrent spinners. Despite its single-spinner limitation, I've had very good experiences with |
hanna-skryl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested this change, but the concurrent spinner error still occurs:
- Applied sequential execution in an external repository
- Modified source code and verified changes took effect
- Error still thrown during Axe plugin execution
The spinner conflict appears to be caused by something other than parallel plugin execution.
Weird, I'm not sure why that would be. Concurrent spinners could be caused by The only spinner usage is in If you'd like me to help debug the problem, I'll probably need to reproduce it. Do you think you could share some minimal reproduction? The Axe plugin is working in this repo, so I'd start by trying to figure out what's different about the configuration in the repo where you're seeing the error (what other plugins are used, etc.). How are you applying the changes from this PR, BTW? Editing the downloaded |
The error isn't triggered by the Axe plugin per se. I upgraded
Yes, I edited the downloaded |
|
UPD: It helped to install this PR's version of the ESLint plugin. |
|
@hanna-skryl Thanks, I was able to reproduce this in the portal just by updating existing
Interesting. I've tried the same, but still get the same error. But maybe I missed something. I'm wondering if it might be faster to merge and release this PR, update the normal way, and see if that fixes the concurrent spinners error. I can't think of what other cause there could be, and the changes are needed anyway. At the very least, it shouldn't break anything. Would that be OK? |
|
Updating to
@hanna-skryl All good on your end? |
Unfortunately, no 🥲 ESLint and Axe are still failing |

This fix should prevent problems with concurrent spinners, such as in #1144.
Plugins are intended to be executed sequentially, but it appears they were (unintentionally?) made concurrent in 7a592eb as part of the large PR #811.
I intend to make more changes to the plugin execution (log groups, etc.), but for now this is just a minimal fix.