Bug report
When using strict syntax pipelines no longer resolves parameter configuration the same way. The first time the parameter is set, this is now the parameter value used by the workflow even if profiles/later configuration override this initial parameter value.
Expected behavior and actual behavior
Expected behaviour:
Parameters are overwritten when configuration redefines them.
Actual Behaviour:
Initial parameter value is used even when redefined later in the configuration.
Steps to reproduce the problem
I have attached a toy pipeline example you can use to recreate issue.
illustrate_configuration_resolution_issue_strict_syntax.tar.gz
Program output
export NXF_SYNTAX_PARSER=v2
nextflow run main.nf
N E X T F L O W ~ version 25.10.3
Launching main.nf [berserk_sinoussi] DSL2 - revision: 12815250a9
executor > local (1)
[09/a3e152] process > FOOBAR [100%] 1 of 1 ✔
foo
nextflow run main.nf -profile bar
N E X T F L O W ~ version 25.10.3
Launching main.nf [high_wilson] DSL2 - revision: 12815250a9
executor > local (1)
[e3/d564da] process > FOOBAR [100%] 1 of 1 ✔
foo
export NXF_SYNTAX_PARSER=v1
nextflow run main.nf
N E X T F L O W ~ version 25.10.3
Launching main.nf [drunk_noyce] DSL2 - revision: 12815250a9
executor > local (1)
[cd/968a7b] process > FOOBAR [100%] 1 of 1 ✔
foo
nextflow run main.nf -profile bar
N E X T F L O W ~ version 25.10.3
Launching main.nf [infallible_goodall] DSL2 - revision: 12815250a9
executor > local (1)
[66/a8c819] process > FOOBAR [100%] 1 of 1 ✔
bar
Environment
- Nextflow version: version 25.10.3 build 10983
- Java version: openjdk 21.0.2 2024-01-16 (build 21.0.2+13-58)
- Operating system: macOS
- Bash version: zsh 5.9 (arm64-apple-darwin25.0)
Additional context
(Add any other context about the problem here)
Bug report
When using strict syntax pipelines no longer resolves parameter configuration the same way. The first time the parameter is set, this is now the parameter value used by the workflow even if profiles/later configuration override this initial parameter value.
Expected behavior and actual behavior
Expected behaviour:
Parameters are overwritten when configuration redefines them.
Actual Behaviour:
Initial parameter value is used even when redefined later in the configuration.
Steps to reproduce the problem
I have attached a toy pipeline example you can use to recreate issue.
illustrate_configuration_resolution_issue_strict_syntax.tar.gz
Program output
export NXF_SYNTAX_PARSER=v2
nextflow run main.nf
N E X T F L O W ~ version 25.10.3
Launching
main.nf[berserk_sinoussi] DSL2 - revision: 12815250a9executor > local (1)
[09/a3e152] process > FOOBAR [100%] 1 of 1 ✔
foo
nextflow run main.nf -profile bar
N E X T F L O W ~ version 25.10.3
Launching
main.nf[high_wilson] DSL2 - revision: 12815250a9executor > local (1)
[e3/d564da] process > FOOBAR [100%] 1 of 1 ✔
foo
export NXF_SYNTAX_PARSER=v1
nextflow run main.nf
N E X T F L O W ~ version 25.10.3
Launching
main.nf[drunk_noyce] DSL2 - revision: 12815250a9executor > local (1)
[cd/968a7b] process > FOOBAR [100%] 1 of 1 ✔
foo
nextflow run main.nf -profile bar
N E X T F L O W ~ version 25.10.3
Launching
main.nf[infallible_goodall] DSL2 - revision: 12815250a9executor > local (1)
[66/a8c819] process > FOOBAR [100%] 1 of 1 ✔
bar
Environment
Additional context
(Add any other context about the problem here)