Skip to content

Migration guide for workflow outputs #6162

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

Merged
merged 13 commits into from
Jul 8, 2025
Merged

Conversation

bentsherman
Copy link
Member

No description provided.

@bentsherman bentsherman requested a review from a team as a code owner June 5, 2025 00:42
Copy link

netlify bot commented Jun 5, 2025

Deploy Preview for nextflow-docs-staging ready!

Name Link
🔨 Latest commit 148f430
🔍 Latest deploy log https://app.netlify.com/projects/nextflow-docs-staging/deploys/686c6322af061200084b24ba
😎 Deploy Preview https://deploy-preview-6162--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.

Copy link
Collaborator

@christopher-hakkaart christopher-hakkaart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've suggested headings to the bullet points as I think it's easier to scan.

Before making suggestion to the example migration, did you want it to be follow along? Or something more demonstration with explanations?

This will impact some of the language:

"Declare an output for each channel..." vs "An output channel for each must be declared..."

@bentsherman
Copy link
Member Author

Thanks Chris, all great improvements

It is mostly a follow-along, with some explanation sprinkled throughout. I need to guide the reader through a specific example while also pausing at times to make more general points. The current version is my best attempt to balance these things

@christopher-hakkaart
Copy link
Collaborator

christopher-hakkaart commented Jun 5, 2025

Great. The steps you have included are already great, so I'll make suggestions that tweak the language to make it consistent as a follow-along.

@bentsherman
Copy link
Member Author

From our discussion last week, we will follow up this PR with a separate tutorial about the rnaseq-nf pipeline to give more context.

Also, this guide is really more of a tutorial, but we already renamed the section from "Tutorials" to "Guides". Once we move to seqera docs, we should have explicit sections for both

I also wouldn't be opposed to just having a "Guides" and "Tutorials" section in the current docs? I just didn't want to keep renaming the current section back and forth

@christopher-hakkaart
Copy link
Collaborator

I agree with your points. Catching up on some backlog today and will review the current PR in the next day or so.

Copy link
Collaborator

@christopher-hakkaart christopher-hakkaart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry it took me so long to get to this.

I've added suggestions to make this an example of a migration. Past tense, "this is what was done to change this pipeline".

Some sections were multi-step, i.e., they showed something and then showed a better way of doing it, and then they switched to "you could do it this way, but it was done this way for these reasons."

Let me know what you think. Happy to keep iterating if you have suggestions.

Some of the suggestions got a little messy, so if you're happy and accept, I'll give it another check to make sure everything is consistent.

@bentsherman
Copy link
Member Author

I split the Guides section into Tutorials and Guides. Based on our previous discussion, this migration guide seems to be a "tutorial", since it is now a strict step-by-step guide, but also contains some explanations. Whereas I think your page on spot retries is the only guide in this list?

I don't think the past-tense suggestions are a good fit for what I'm trying to do. It feels too brittle and distant, whereas the present-tense imperative feels more engaging and interactive. A similar approach is taken in the "tutorials" for data lineage and Flux, for similar reasons. So I would prefer to try to make it work with the current approach

@christopher-hakkaart
Copy link
Collaborator

Fair enough, I'll revise.

Copy link
Collaborator

@christopher-hakkaart christopher-hakkaart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It all looks good. I'll try and revisit the tutorials and guides again soon to add some standardization around language, but that will be a nit picking exercise that isn't urgent.

I don't want to hold this up anymore. A couple of minor working suggestions (ignore if you think the meaning is changed), otherwise good to go.

christopher-hakkaart and others added 2 commits July 8, 2025 11:51
Co-authored-by: Chris Hakkaart <[email protected]>
Signed-off-by: Ben Sherman <[email protected]>
@bentsherman bentsherman merged commit 9a4f79d into master Jul 8, 2025
23 checks passed
@bentsherman bentsherman deleted the docs-workflow-outputs-guide branch July 8, 2025 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants