-
Notifications
You must be signed in to change notification settings - Fork 8
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
Implement task restart policies #280
Open
ianmkenney
wants to merge
55
commits into
main
Choose a base branch
from
feature/iss-277-restart-policy
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 50 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
7f752b3
Added placeholder tests for proposed methods
ianmkenney dd8f0e9
Added models for new node types
ianmkenney da17e45
Updated new GufeTokenizable models in statestore
ianmkenney b7f63d4
Added placeholder unit tests for new models
ianmkenney 6a167f1
Added validation and unit tests for storage models
ianmkenney a10e235
Added `taskhub_sk` to `TaskRestartPattern`
ianmkenney b99d8ef
Added `statestore` methods for restart patterns
ianmkenney 39f9868
Added APPLIES relationship when adding pattern
ianmkenney 988155f
Establish APPLIES when actioning a Task
ianmkenney d3f25f8
Canceling a Task removes the APPLIES relationship
ianmkenney 510ae66
Task status changes affect APPLIES relationship
ianmkenney 2310fd5
Tests for Task status change on APPLIES
ianmkenney ea2851f
Added method (unimplemented) calls for restarts
ianmkenney 8e011be
Implemented add_protocol_dag_result_ref_traceback
ianmkenney 4f07dde
Started implementation of restart resolution
ianmkenney 78c4551
Tracebacks now include key data from its source units
ianmkenney 7acc003
Built out custom fixture for testing restart policies
ianmkenney 03d9fa1
Added the `chainable` decorator to Neo4jStore
ianmkenney aad97e3
Resolve task restarts now sets all remaining tasks to waiting
ianmkenney a655dc7
Corrected resolution logic
ianmkenney 5bb6700
Extracted complexity out of test_resolve_task_restarts
ianmkenney fe4b87b
resolve restart of tasks with no tracebacks
ianmkenney 8a6f980
Replaced many maps with a for loop
ianmkenney 93eb5f5
Small changes from review
dotsdl 0900f39
Chainable now uses the update_wrapper function
ianmkenney c8ddafc
Updated Traceback class
ianmkenney 2a59499
Renamed Traceback to Tracebacks
ianmkenney 148d048
Updated cancel and increment logic
ianmkenney 645b2e4
Fixed query for deleting the APPLIES relationship
ianmkenney 3a8eeca
Removed unused testing fixture
ianmkenney ea6e66f
Clarified comment and added complimentary assertion
ianmkenney 7a4b114
Small changes to Tracebacks
dotsdl cf0e961
Merge pull request #286 from OpenFreeEnergy/feature/iss-277-restart-p…
ianmkenney 6066796
Fix for Tracebacks unit tests
ianmkenney fcf77a0
Added API endpoints for managing restart policies
ianmkenney cea16bc
Added untested client method for task restart policies
ianmkenney a4da776
Added testing for client methods dealing with restart policies
ianmkenney fdc25a7
`get_taskhub` calls `get_taskhubs`
ianmkenney 51194ff
Updated docstrings
ianmkenney f03417c
Merge branch 'main' into feature/iss-277-restart-policy
ianmkenney 977c896
Added docstrings to client methods
ianmkenney 2d2d8f6
Added Task restart patterns to user guide
ianmkenney d7dcd5c
Link to python classes and methods in restart pattern section
ianmkenney 006e689
Merge branch 'main' into feature/iss-277-restart-policy
dotsdl d331cc4
Merge branch 'main' into feature/iss-277-restart-policy
dotsdl c468b43
statestore edits from review
dotsdl bb5dbcd
Tracebacks model doc fix
dotsdl 3776c7a
Consistency fix to TaskRestartPattern._defaults
dotsdl b4865fd
Docstring updates to client; token validation to interface api restar…
dotsdl 555ba62
Merge branch 'main' into feature/iss-277-restart-policy
dotsdl 893a790
Review edits
dotsdl 2787527
Edits from review
dotsdl 7ba1b4f
Black!
dotsdl 0220e00
User guide fixes, consistency edits
dotsdl ae584eb
Cypher fix
dotsdl 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 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 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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm...where do we use equality for this model? That would inform to me what the most reasonable approach is here.