Skip to content

feat(workflow-launch): add resume support for failed workflows - #12

Merged
ewels merged 7 commits into
mainfrom
feat/resume-launch-node
Nov 4, 2025
Merged

feat(workflow-launch): add resume support for failed workflows#12
ewels merged 7 commits into
mainfrom
feat/resume-launch-node

Conversation

@adamrtalbot

Copy link
Copy Markdown
Contributor

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

fixes #11

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
adamrtalbot marked this pull request as draft November 3, 2025 13:59
ewels added 3 commits November 4, 2025 11:23
- 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
ewels marked this pull request as ready for review November 4, 2025 10:45
@ewels
ewels merged commit 105e0d8 into main Nov 4, 2025
1 check passed
@ewels
ewels deleted the feat/resume-launch-node branch November 4, 2025 16:15
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.

Example: Resuming a failed pipeline

2 participants