Skip to content

Improve StreamFlowExecutor termination protocol#1000

Open
GlassOfWhiskey wants to merge 1 commit intomasterfrom
better-executor-termination
Open

Improve StreamFlowExecutor termination protocol#1000
GlassOfWhiskey wants to merge 1 commit intomasterfrom
better-executor-termination

Conversation

@GlassOfWhiskey
Copy link
Copy Markdown
Member

This commit improves the termination protocol of the StreamFlowExecutor class, adopting the same behaviour used in BaseShell. This new protocol should guarantee that all tasks are correctly terminated before closing the StreamFlowContext, allowing cleaner terminations of the StreamFlow application.

@GlassOfWhiskey GlassOfWhiskey force-pushed the better-executor-termination branch from cd51baf to 8432b55 Compare March 21, 2026 12:15
This commit improves the termination protocol of the `StreamFlowExecutor`
class, adopting the same behaviour used in `BaseShell`. This new
protocol should guarantee that all tasks are correctly terminated before
closing the `StreamFlowContext`, allowing cleaner terminations of the
StreamFlow application.
@GlassOfWhiskey GlassOfWhiskey force-pushed the better-executor-termination branch from 8432b55 to 52f1641 Compare March 21, 2026 12:41
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 21, 2026

Codecov Report

❌ Patch coverage is 59.37500% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.74%. Comparing base (798a9bf) to head (52f1641).
⚠️ Report is 1 commits behind head on master.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
streamflow/workflow/executor.py 59.37% 8 Missing and 5 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1000      +/-   ##
==========================================
- Coverage   73.82%   73.74%   -0.08%     
==========================================
  Files          91       91              
  Lines       12481    12497      +16     
  Branches     2186     2190       +4     
==========================================
+ Hits         9214     9216       +2     
- Misses       2743     2752       +9     
- Partials      524      529       +5     

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

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