Skip to content

Conversation

@bentsherman
Copy link
Member

Close #6494

This PR fixes an issue with cacheable split operations such as splitFasta / splitFastq / splitText with file: true. In this case the operation saves a cache file that can be used on subsequent runs to reuse the chunks.

However, this cache file was always being written, even when the split operation fails (e.g. by exhausting the JVM heap), causing subsequent runs to have a false cache hit instead of re-computing the chunks.

This PR fixes the issue by moving the markComplete() call so that it's only called after the split operation completes successfully.

@bentsherman bentsherman requested a review from jorgee November 20, 2025 05:36
@netlify
Copy link

netlify bot commented Nov 20, 2025

Deploy Preview for nextflow-docs-staging ready!

Name Link
🔨 Latest commit 38aea8f
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/691f39908d512f0008ea1bb7
😎 Deploy Preview https://deploy-preview-6588--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 force-pushed the 6494-fix-splitfasta-complete branch from 5d2bc42 to 38aea8f Compare November 20, 2025 15:53
@bentsherman bentsherman merged commit 9930e35 into master Nov 20, 2025
25 checks passed
@bentsherman bentsherman deleted the 6494-fix-splitfasta-complete branch November 20, 2025 16:35
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.

splitFasta silently outputs no Fasta file

3 participants