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.

@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 162ee32
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/695fc5cd57c322000832a1dd

@bentsherman bentsherman force-pushed the 6695-fix-task-ext-resume branch from bd9a691 to 126cf8f Compare January 7, 2026 16:48
Signed-off-by: Ben Sherman <[email protected]>
@bentsherman bentsherman requested a review from jorgee January 7, 2026 17:12
@bentsherman bentsherman merged commit b5278c7 into master Jan 8, 2026
23 checks passed
@bentsherman bentsherman deleted the 6695-fix-task-ext-resume branch January 8, 2026 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Strict parser doesn't add ext properties to task hash

3 participants