actionlint causes pipe: too many open files
or hangs when checking so many files
#3
Labels
bug
Something isn't working
Environment
Repro
Check many workflows or large workflow:
Expected behavior
actionlint
runs as usual; runs without any output or reports some errors in workflows.Actual behavior
actionlint
dies with message:or hangs.
Investigation
actionlint
runs checks in parallel thanks to Go's goroutine:run:
are run in parallelThis works fine and makes actionlint much faster when the target size is small. But running so many processes in parallel consumes OS resource (in this case, it hit limit for number of files to open). And running process sometimes hangs on macOS though I don't know the reason.
The text was updated successfully, but these errors were encountered: