Task related commands hang when there are large number of task files (Apple Silicon) #4608
Unanswered
syhol
asked this question in
Troubleshooting and bug reports
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Key points
Note
TLDR: To recreate this issue you need: Apple Silicon + more than 1 tool used + many task files
mise tasks
ormise run xxx
mise ls
seems unaffectedTRACE 13 [src/file.rs:176] cat ...
[tools]
in ~/.config/mise/config.toml (and the project mise.toml), it doesn't hang. However no one specific tool seems to be the issue.node
ORuv
DOES NOT cause hanging.bun
ORdeno
DOES cause hanging.uv
ANDnode
DOES cause hanging.Did someone ask for a doctor?
Debug script test.sh
Note
TLDR: Create a set of N task files, then run
mise tasks
400 times and count the frequency it hangsCreate a new directory, drop this file in it, chmod +x it, and run it. Make sure you have a few tools used in your global (or local) mise toml:
Typical output:
but failures aren't always linear:
But as you can see the trend is normally more task file == more failures.
Traces
With the following tools used:
This is the trace when it fails / hangs
This is the trace when it succeeds
Related issues
Beta Was this translation helpful? Give feedback.
All reactions