Skip to content

Enhancement signals: small cleanups and tests #229

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ybastide
Copy link
Contributor

@ybastide ybastide commented Mar 3, 2017

  • have swf.SignalTask ctor's signature closer to SignalTask's one
  • signals are idempotent
  • tests

ybastide added 2 commits March 3, 2017 18:54
Cannot use both positional and keyword arguments...

Signed-off-by: Yves Bastide <yves@botify.com>
Two tests:
* one where a signal is sent once (normal case)
* one where the signal is sent twice (because it's not waited on). Don't
    count on this behavior!

Signed-off-by: Yves Bastide <yves@botify.com>
@ybastide ybastide self-assigned this Mar 3, 2017
ybastide added 2 commits March 6, 2017 13:51
This should prevent them from being resent during a specific replay.
We'll have to check if this is what causes signals duplication in our
workflows...

Signed-off-by: Yves Bastide <yves@botify.com>
@ybastide ybastide requested a review from jbbarth March 29, 2017 09:24
Base automatically changed from master to main March 9, 2021 09:06
Copy link
Collaborator

@jbbarth jbbarth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey dear @ybastide I hope everything's OK on your side :) Adding a "review ok" here to reduce noise in my Github "Pulls" dashboard.

@ybastide
Copy link
Contributor Author

ybastide commented Mar 4, 2022

Hey dear @ybastide I hope everything's OK on your side :) Adding a "review ok" here to reduce noise in my Github "Pulls" dashboard.

Understood 😛 Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants