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

Always emit publish event for symlinks on resume #4790

Merged
merged 3 commits into from
Mar 7, 2024

Conversation

bentsherman
Copy link
Member

Close nextflow-io/nf-prov#22

When publishing a symlink for a cached task, the publish event is normally skipped because the source and target paths are the same "real path". This PR adjusts the logic to ensure that the publish event is still emitted.

Symlink is the default publish mode, and nf-prov depends on publish events to generate the provenance manifest, so this is causing some confusing behavior for new users of nf-prov.

This fix was tested with Rob's minimal example in the linked issue and works.

@bentsherman bentsherman requested a review from pditommaso March 1, 2024 19:25
Copy link

netlify bot commented Mar 1, 2024

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit 66b6b86
🔍 Latest deploy log https://app.netlify.com/sites/nextflow-docs-staging/deploys/65e9940f1531a10008b2ba6c

@pditommaso
Copy link
Member

Please add a comment making clear that the intent is to call the notifyFilePublish and why

@bentsherman bentsherman requested review from pditommaso and removed request for pditommaso March 5, 2024 07:56
Signed-off-by: Paolo Di Tommaso <[email protected]>
@pditommaso pditommaso merged commit bb5c4f9 into master Mar 7, 2024
5 checks passed
@pditommaso pditommaso deleted the fix-publish-symlink-resume branch March 7, 2024 10:28
nschan pushed a commit to nschan/nextflow that referenced this pull request Apr 3, 2024
nschan pushed a commit to nschan/nextflow that referenced this pull request Apr 3, 2024
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.

Manifest does not include published outputs from cached tasks
2 participants