-
Notifications
You must be signed in to change notification settings - Fork 168
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
PiT 24.7: in GH windows runner flow fails when using node installed in the prepare-frontend step #20793
Comments
The failing execution is not directly from Flow, but from |
|
For the specific issue with the |
After a deeper investingation it looks like that the ForkJoinPool threads (pool size is 3) are currently busy with other long running tasks (e.g. one submitted by We should identify all long running tasks submitted to the common pool (e.g. |
Or might be don't configure any timeout and wait until the pool manages all the tasks? |
BTW, one solution might be to avoid using the exampledata library, which has been removed from start.vaadin.com. However, I still think it’s useful for PiT to discover issues like this in a public API. Additionally, customers may have been using the library in their applications if they generated the scaffolding from the start app some time ago. |
Configuring a timeout would help, but I'm not sure if we can get a suitable value. Currently, it is 10 seconds, and it is not enough in this case. And what if the application code uses I think at least dev-server must have its own pool, to prevent wasting the common pool just when it waits for node tasks to complete. This should be enough to prevent issues like the one described above. |
Vaadin dev-server executes long-running tasks (e.g. npm install) using the common ForkJoin pool. This can cause a slow startup or even timeouts when the pool size is very small. Using a dedicated executor for dev-server tasks should prevent the above issues. Fixes #20793
Vaadin dev-server executes long-running tasks (e.g. npm install) using the common ForkJoin pool. This can cause a slow startup or even timeouts when the pool size is very small. Using a dedicated executor for dev-server tasks should prevent the above issues. Fixes #20793
Description of the bug
When running PiT starters in GH actions for windows, they fail when the node installation needs to be upgraded by flow.
Flow
prepare-frontend
installs a validnode.exe
in~/.vaadin/node/
but then, it fails when it's used in flow.Error liness than can be seen in output are:
prepare-frontend
mvn spring-boot:run
Expected behavior
It installs and uses correctly node, like it happens in linux/mac
Minimal reproducible example
In a github actions workflow select
windows-latest
runner and execute the followin command sequenceVersions
The text was updated successfully, but these errors were encountered: