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.

@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 ready!

Name Link
🔨 Latest commit ce119d5
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/68ed3f46608a3a00083299ae
😎 Deploy Preview https://deploy-preview-6375--nextflow-docs-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@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 marked this pull request as ready for review October 13, 2025 18:04
@bentsherman
Copy link
Member Author

@jorgee this is ready for review

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