Skip to content

Conversation

@bentsherman
Copy link
Member

Close #6695

This PR updates the strict parser to collect references to task.ext.* so that they are added to the task hash (docs).

I originally thought to move the VariableVisitor into nf-lang so that it is re-used by both, but I think this visitor does a lot of unnecessary work, and I didn't want to alter the old parser too much, so I just created a separate implementation for the strict parser that is much simpler. It only collects references to task.ext.* instead of all variable references.

Note to self: once we make the strict parser the default (#6643), we should revisit the runtime layer and how it handles these variable references. I think it could be simplified quite a bit.

Signed-off-by: Ben Sherman <bentshermann@gmail.com>
@bentsherman bentsherman requested a review from jorgee December 31, 2025 16:33
@bentsherman bentsherman requested a review from a team as a code owner December 31, 2025 16:33
@netlify
Copy link

netlify bot commented Dec 31, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit bd9a691
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/695550424513e50008798dd2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants