-
Notifications
You must be signed in to change notification settings - Fork 124
Warn on unfinished handlers and provide workflow.allHandlersFinished()
API
#1459
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
Merged
dandavison
merged 32 commits into
temporalio:main
from
dandavison:1434-warn-on-unfinished-handlers
Aug 7, 2024
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
5fef751
Add allHandlersFinished() and warn on unfinished handlers
dandavison 32a6bb2
Test warning emitted when workflow exits fue to cancellation / failure
dandavison bc31e99
Revert to doing in-progress state transition in `finally()` callback
dandavison c6cfef3
Update tests
dandavison a9b1c3b
Add rule code and edit signal warning
dandavison cfe9266
just catch ApplicationFailure
dandavison 2587edc
Revert "just catch ApplicationFailure"
dandavison bc80e24
Edit docstring
dandavison 96f6c6b
Fix test assertion: we do not warn on failure
dandavison 98cff07
Add tests for CAN
dandavison 557fec9
Rename
dandavison bc368b9
minor
dandavison e259747
Refactor
dandavison 02b7406
Allow CAN child to return
dandavison 9625c29
Fix containment condition
dandavison 3894c89
Add test of return
dandavison 7529961
Refactor
dandavison 65c3ad6
Revert changes to comment
dandavison 070b576
Fix
dandavison 228d4c3
Edit comments
dandavison 456effc
Mark handlers as completed when failing the workflow
dandavison f997df1
Add tests that return and CAN behave as expected with allHandlersFini…
dandavison d27a903
Cleanup
dandavison 147bc6b
Paper over possible server bug
dandavison a4671f2
Try increasing timeout for update to be admitted
dandavison cadfbe3
Extend tests to confirm that warnings are issued when handler shields…
dandavison 5d4caca
Add docstring
dandavison 5ce2e7c
Tighten up update handler entry access
dandavison 53a9ba5
Tighten up further
dandavison 580ffa0
Don't use redundant anonymous function in warning message
dandavison 5f78414
Be explicit that there is no warning on workflow failure
dandavison 6fdbd32
Use partial application via bind to clean up further
dandavison File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.