You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nextflow lint: support reading file paths from a file or stdin to avoid ARG_MAX limits #6857
When integrating nextflow lint with tools like pre-commit, all matching filenames are passed as CLI arguments. On large repositories (e.g. nf-core/modules with 1700+ .nf files), this exceeds the OS ARG_MAX limit (~2MB on Linux, shared between argv + envp), causing E2BIG errors:
nextflow: line 287: /usr/bin/dirname: Argument list too long
nextflow: line 323: /usr/bin/sed: Argument list too long
nextflow: line 327: java: Argument list too long
The current workaround is to batch files into multiple nextflow lint invocations (see seqeralabs/nf-lint-pre-commit#4), but this means multiple JVM startups and requires capturing output to present a clean summary.
Proposed Solution
Support reading file paths from a file or stdin, e.g.:
Activity
Add -files-from option to lint command to avoid ARG_MAX limit
Merge branch 'master' into https/github.com//issues/6857
Merge branch 'master' into https/github.com//issues/6857