Open xremming opened 1 week ago
I've seen this behaviour occasionally on my mac OS causing the system to crash because of all the spawned processes. This is most likely caused by the shims calling themselves as mentioned in #2254.
The problem reproduces with the following workflow and cancelling it shows the cleanup of countless orphaned processes.
name: test
on:
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: jdx/mise-action@v2
with:
experimental: true
log_level: debug
mise_toml: |
[tools]
"terraform" = "1.9.7"
"python" = "3.12"
"pipx:poetry" = "1.8.3"
"node" = "20.18"
"npm:prettier" = "3.3.3"
"go" = "1.23"
"go:github.com/go-task/task/v3/cmd/task" = "3.39.2"
"go:github.com/GoogleCloudPlatform/cloud-sql-proxy/v2" = "2.13.0"
"go:github.com/terraform-linters/tflint" = "0.53.0"
- run: |
mise doctor
It does not reproduce if you only have the tool npm:prettier" = "3.3.3"
, so i assume node
/npm
cause an endless loop being called via shims.
Describe the bug Installing a specific version of an npm package freezes in GitHub Actions (
runs-on: ubuntu-latest
).To Reproduce Use the
jdx/mise-action
in GitHub Actions with"npm:prettier" = { version = "3.3.3" }
and it blows up with over 16k lines that look like the following in the log. Changing from3.3.3
tolatest
fixed the problem.Problem seems to exist at least with multiple
2024.10.x
releases as none of the ones I tried worked.Expected behavior Should work as it does locally.
mise doctor
output This is from my local machine where everything works fine.