Skip to content

Conversation

bentsherman
Copy link
Member

This PR fixes a false error for the executor.jobName config option.

I originally added a check for invalid dynamic config options, since only process config options can be dynamic. However, there are some config options that explicitly expect a closure, like executor.jobName.

Instead of adding another special case for this, I will move this check into the language server as part of type checking. So this PR just removes the check in nf-lang to address the false error.

Signed-off-by: Ben Sherman <bentshermann@gmail.com>
@bentsherman bentsherman requested a review from jorgee September 2, 2025 17:27
@bentsherman bentsherman requested a review from a team as a code owner September 2, 2025 17:27
Copy link

netlify bot commented Sep 2, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 735ab9f
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/68b7290cb582de0008fb5c5a

@bentsherman bentsherman linked an issue Sep 2, 2025 that may be closed by this pull request
@bentsherman bentsherman marked this pull request as draft September 3, 2025 12:55
@bentsherman
Copy link
Member Author

TODO: executor.jobName also needs to support the process DSL like task

@bentsherman bentsherman added this to the 25.10 milestone Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

executor.jobName throws an error in nextflow lint
1 participant