-
-
Notifications
You must be signed in to change notification settings - Fork 459
Sometimes mise just hangs when executing a task #4302
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
Comments
The easiest way to reproduce it is:
[tasks.test]
run = "echo $1" for i in $(seq 1 20000); do mise test $i; done It's not necessary to execute anything in parallel. |
Just a random datapoint that probably doesn't help, but I couldn't reproduce this with either of these examples on a Raspberry Pi 4 running Debian Bookworm, using Perhaps the Raspberry Pi is too slow (it took just over 20 minutes for the |
I'm also on
|
I could not reproduce as well. Are you able to reproduce with the docker run --pull=always -it --rm --entrypoint bash jdxcode/mise:latest |
I cannot reproduce it in the docker image either. But I can reproduce it on:
|
A quick test on GitHub runners came back negative: https://github.com/plu/mise-test/actions/runs/13198350890/job/36844555169 So it must be something else that all my environments here have in common to trigger the hang. |
Attempting this on a more powerful Where in the code are these tasks run from? Is it |
#4314 seems to describe the situation where we saw this pop up. As soon as we either excluded tools we did not want to be installed, excluded config files altogether or installed all tools before running a task, we no longer saw task hangs. |
On github actions is completely locks up like this and it can't progress the task.
|
I've only recently started playing around with mise. Today I tried using the gh action and found that running any mise-managed executable would hang. After much fiddling around, it turned out to be the |
I found out that the |
I also found that the presence of depends_post can cause a hang, before the task or its dependencies ever execute. I have two tasks called git:check-local-modifications and maven:compile. If maven:compile includes depends_post like this:
Then As a workaround, I call |
I think I'm experiencing the same thing, I've detailed my findings in this discussion: #4608 For my issue, the criteria seem to be:
|
I found something that effectively triggers the hand in mise: [tools]
"npm:prettier-plugin-toml" = "latest" # <-- add this line to make it hang Not sure that is magic about it but it seems really effective, even running with
|
Discussed in #4275
Originally posted by plu January 31, 2025
We've seen this happen on CI sometimes, but I also found a way to trigger it:
mise-tasks/example
Execute:
The strange thing is, that the whole invocation of
22
in this case is missing. So it didn't printstart 22
, neitherdone 22
.Any idea what this might be?
The text was updated successfully, but these errors were encountered: