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

Reject signal if workflow attempted to close #4395

Merged
merged 2 commits into from May 26, 2023

Conversation

yycptt
Copy link
Member

@yycptt yycptt commented May 25, 2023

What changed?

Why?

How did you test it?

Potential risks

Is hotfix candidate?

@yycptt yycptt requested review from alexshtin and yiminc May 25, 2023 05:32
@yycptt yycptt marked this pull request as ready for review May 25, 2023 23:27
@yycptt yycptt requested a review from a team as a code owner May 25, 2023 23:27
Comment on lines 217 to 163
if hasDeadline && SystemClock.Now().Add(next).After(deadline) {
break
}
Copy link
Member Author

Choose a reason for hiding this comment

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

I will send out a separate PR for this. included here since tests need this logic to pass.

Copy link
Member Author

Choose a reason for hiding this comment

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

@yycptt yycptt merged commit 759aa2c into temporalio:master May 26, 2023
9 of 10 checks passed
@yycptt yycptt deleted the reject-signal branch May 26, 2023 19:40
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.

None yet

2 participants