Skip to content

Correctly skip nested subworkflows#1019

Merged
GlassOfWhiskey merged 1 commit intomasterfrom
conditional-nested-workflows
Apr 11, 2026
Merged

Correctly skip nested subworkflows#1019
GlassOfWhiskey merged 1 commit intomasterfrom
conditional-nested-workflows

Conversation

@GlassOfWhiskey
Copy link
Copy Markdown
Member

This commit ensures that, when a nested workflow must be skipped, None tokens are only propagated to the output ports of the workflow itself, and not to the inputs of the inner steps. A CWL test has been added to avoid regressions.

@GlassOfWhiskey GlassOfWhiskey marked this pull request as draft April 7, 2026 16:02
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.39%. Comparing base (db1cab7) to head (17442e5).
⚠️ Report is 9 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1019      +/-   ##
==========================================
+ Coverage   74.35%   74.39%   +0.03%     
==========================================
  Files          90       90              
  Lines       12492    12495       +3     
  Branches     2192     2192              
==========================================
+ Hits         9289     9296       +7     
+ Misses       2682     2680       -2     
+ Partials      521      519       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This commit ensures that, when a nested workflow must be skipped,
`None` tokens are only propagated to the output ports of the workflow
itself, and not to the inputs of the inner steps. A CWL test has been
added to avoid regressions.
@GlassOfWhiskey GlassOfWhiskey force-pushed the conditional-nested-workflows branch from a47c6ca to 17442e5 Compare April 11, 2026 18:27
@GlassOfWhiskey GlassOfWhiskey marked this pull request as ready for review April 11, 2026 18:27
@GlassOfWhiskey GlassOfWhiskey merged commit a0f0315 into master Apr 11, 2026
114 of 121 checks passed
@GlassOfWhiskey GlassOfWhiskey deleted the conditional-nested-workflows branch April 11, 2026 19:45
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.

2 participants