Skip to content
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

Handle spurious ReceiveScatterOutput callbacks #2051

Merged
merged 4 commits into from
Oct 8, 2024
Merged

Conversation

GlassOfWhiskey
Copy link
Contributor

This commit fixes #2003 by handling spurious, repeated callbacks of the receive_scatter_output method of the ReceiveScatterOutput class. The reason of multiple awakenings has not been investigated deeply, though. In the future, a thorough examination of the MultithreadedJobExecutor logic may be necessary.

This commit fixes #2003 by handling spurious, repeated callbacks of the
`receive_scatter_output` method of the `ReceiveScatterOutput` class. The
reason of multiple awakenings has not been investigated deeply, though.
In the future, a thorough examination of the `MultithreadedJobExecutor`
logic may be necessary.
cwltool/workflow_job.py Outdated Show resolved Hide resolved
Copy link

codecov bot commented Oct 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.88%. Comparing base (18b8fdf) to head (4cef8d3).
Report is 37 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2051      +/-   ##
==========================================
+ Coverage   83.56%   83.88%   +0.32%     
==========================================
  Files          46       46              
  Lines        8270     8274       +4     
  Branches     2202     2204       +2     
==========================================
+ Hits         6911     6941      +30     
+ Misses        872      857      -15     
+ Partials      487      476      -11     

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

Fixed `_completed` attribute type

Co-authored-by: Michael R. Crusoe <[email protected]>
@GlassOfWhiskey GlassOfWhiskey requested a review from mr-c October 8, 2024 11:27
@mr-c mr-c merged commit 6970186 into main Oct 8, 2024
50 checks passed
@mr-c mr-c deleted the handle-spurious-callbacks branch October 8, 2024 13:16
@mr-c
Copy link
Member

mr-c commented Oct 8, 2024

Thank you @GlassOfWhiskey !

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.

flaky conformance test with cwltool: simple_simple_scatter
3 participants