-
Notifications
You must be signed in to change notification settings - Fork 217
Implement hooks for failure scenarios: crash_hook, cancel_hook, fail_hook
#4315
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
boegel
merged 34 commits into
easybuilders:develop
from
XavierCS-dev:4302_failure_hooks
Aug 11, 2023
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
ccc6ef7
Add cancel and fail hooks
3eee395
Run hooks in main with arguments
XavierCS-dev a80ac7f
Init eb_go with parse_options()
XavierCS-dev 2ef4cf6
Merge with main
014fd42
Add crash hook
XavierCS-dev 1a589dc
Remove trailing whitespace
XavierCS-dev 565c113
Revert file permissions
XavierCS-dev 852e4c9
Updated unit tests expected output with new hooks
XavierCS-dev 3d61e4a
Insert missing commas
XavierCS-dev b880856
Replace spaces with tabs to match expected options output
XavierCS-dev 716701d
Merge branch 'develop' into 4302_failure_hooks
XavierCS-dev b5ec611
Shorten long line of imports
XavierCS-dev f296dc5
formatting of imports
branfosj 0e751c9
Reorder failure hooks to be in alphabetical order
XavierCS-dev 6cb5eda
Merge branch '4302_failure_hooks' of https://github.com/XavierCS-dev/…
XavierCS-dev 8a474bb
Fix output tests for hook order
XavierCS-dev ec87c86
Alter refactor to define variables
XavierCS-dev 2e8b80f
Comment out line overriding variables defined elsewhere
XavierCS-dev 81e5344
Fix style issues
XavierCS-dev 0ac9daf
Update main docstring and add prepare_main docstring
XavierCS-dev 22b4429
Remove uncessary comment
XavierCS-dev 1751fe3
Only set eb_go and cfg_settings if not already
XavierCS-dev c4be4ca
Move setup config to occure before os.environ is checked
XavierCS-dev 58623de
Change pprepare_main description
XavierCS-dev 8148fb5
Add return to prepare_main docstring
XavierCS-dev f2f6b45
Move eb_go and cfg_settings to end of parameters to prevent breaking …
XavierCS-dev 56def6b
Add init_session_state and hooks to prepare_main returns
XavierCS-dev d8a34e4
Update docstrings to match new parameters and return values
XavierCS-dev fcc6fee
Add or condition to ensure test passes
XavierCS-dev 4146b46
Separate check on hooks to be None
XavierCS-dev d9b15f0
Improve clarity when checking for None values in main
XavierCS-dev 7d31bb8
clean up passing of data produced by prepare_main into main
boegel 20c99cd
Remove unnecessary parameter descriptions
XavierCS-dev 746b992
Merge pull request #1 from boegel/4302_failure_hooks
XavierCS-dev 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
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.