feat(workflow-launch): add resume support for failed workflows - #12
Merged
Conversation
Add sessionId and resume parameters to workflow-launch node, enabling automatic retry of failed workflows using Nextflow's resume feature. Changes: - Add sessionId and resume inputs to workflow-launch node (both optional) - Support msg, str, flow, global, env, and jsonata input types - Add comprehensive help documentation for resume functionality - Create Example 05 with loop pattern for auto-resume on failure - Update README and docs with resume usage examples The loop pattern allows a single launch node to handle both initial launch and resume by reading sessionId/resume from message properties. When a workflow fails, the sessionId is extracted and fed back to the same launch node to automatically retry with resume enabled. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
adamrtalbot
marked this pull request as draft
November 3, 2025 13:59
- Add back the source workspace ID - Reorder fields - Make params block free height / expandable - Fix the help text rendering bug from the : character - Trim help text a little
ewels
marked this pull request as ready for review
November 4, 2025 10:45
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add sessionId and resume parameters to workflow-launch node, enabling automatic retry of failed workflows using Nextflow's resume feature.
Changes:
The loop pattern allows a single launch node to handle both initial launch and resume by reading sessionId/resume from message properties. When a workflow fails, the sessionId is extracted and fed back to the same launch node to automatically retry with resume enabled.
🤖 Generated with Claude Code
fixes #11