Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move foreign file staging after storeDir evaluation #5759

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jorgee
Copy link
Contributor

@jorgee jorgee commented Feb 6, 2025

close #5468

This PR modifies the foreign file staging management in TaskProcessor.makeTaskContextStage2 to return the staging batch and do the staging copy just before the hash computation. It allow to skip executions in storeDir without requiring to download inputs.

Signed-off-by: jorgee <jorge.ejarque@seqera.io>
@jorgee jorgee linked an issue Feb 6, 2025 that may be closed by this pull request
Copy link

netlify bot commented Feb 6, 2025

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 65aa966
🔍 Latest deploy log https://app.netlify.com/sites/nextflow-docs-staging/deploys/67bc43565afddb0008227517

@jorgee jorgee requested a review from bentsherman February 24, 2025 10:01
@bentsherman
Copy link
Member

@jorgee were you able to confirm that this change fixes the reported issue? using the test case they gave?

@jorgee
Copy link
Contributor Author

jorgee commented Feb 24, 2025

@bentsherman I tested with a slightly different case where output was different from the input. I have noted the input is the same as output in the example they provided. In this case the fix is not working because when the stage dir is removed, the file in the storeDir is also removed, and nextflow downloads again because the file does not exist.

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.

storeDir does not skip staging of inputs
2 participants