-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Event producer graph for graceful shutdown #165
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
Merged
Changes from 29 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
03bd8bc
Adds dict method to IOController to publish events
chrisk314 b710772
Adds placeholder method to build producer graph
chrisk314 dde4196
Adds placeholder method to update producer graph
chrisk314 7297f84
Adds method to get process for component to state backend
chrisk314 43711fd
Implementations for building and updating producer graph
chrisk314 21e227e
Removes StopEvent from producer graph
chrisk314 4543cc9
Adds TODO note
chrisk314 13e7af4
Close channels in task group
chrisk314 16ba4e2
Adds grace period before closing IO controller in events scenarios
chrisk314 f0aed10
Only calls update producer graph if no field inputs
chrisk314 e7786a2
Apply suggestions from code review
chrisk314 28d2e69
Replaces exception with log warning
chrisk314 e2b782d
Adds contrived test for graceful shutdown of event driven models
chrisk314 d15bb0f
Covariant type annotation
chrisk314 92d0906
Fixup test component input events spec
chrisk314 bfced4f
Fixup IOController timeout logic for only output events
chrisk314 b82511a
Modifies can step logic for event based components
chrisk314 b038fd0
Adds a note on implementation issue
chrisk314 cea1898
Makes Component.step concrete and adds check for override
chrisk314 4b79bc7
Passes timeout for iocontroller from component
chrisk314 6d38d95
fixup! Passes timeout for iocontroller from component
chrisk314 f4cd8f9
Changes exception class for no more event producers
chrisk314 9eece5c
Fixup missing exports for test assertions
chrisk314 577347b
Only set status complete if not stopped or failed
chrisk314 576b9c9
Reduces test duplication
chrisk314 4c12ed0
Clears state backend caches on destroy
chrisk314 d2380d0
Merge branch 'main' into feat/producer-graph
chrisk314 4cd9325
Fixup formatting issues
chrisk314 a08077d
Updates _can_step docstring
chrisk314 c3136a7
Don't include self in producer graph
chrisk314 ae264b5
Makes warning message more helpful for user
chrisk314 c6b80c1
Updates deps
chrisk314 a5acd90
Gives more time for integration tests
chrisk314 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
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.