-
Notifications
You must be signed in to change notification settings - Fork 13
Introduce fail fast mode #1046
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
Introduce fail fast mode #1046
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
b3f3a7b
add method to check enabled fail-fast mode
Konboi 3948b8d
exit when fail fast mode is enabled and configurations is invalid
Konboi 650afce
require `--build` option when issues test session
Konboi 0815a05
fixed to check other options
Konboi 277a413
Move the command to a dedicated class
Konboi e30fb7c
introduce fail fast mode validator
Konboi 66a8fa6
introduce fail fast mode validator to the subset command
Konboi f315a37
introduce fail fast mode validator to the record tests command
Konboi 3923222
fix type error
Konboi 513f3f6
fix tests
Konboi d4bd449
rm unused logic
Konboi dd94851
if is_fail_fast_mode enabled, stop the process
Konboi 5949df9
fix validation
Konboi 676b706
stop process if fail fast mode is enabled
Konboi 6d394f5
add total api calling count, since added calling workspace state endp…
Konboi da401a9
defined utility methods for fail fast mode
Konboi 5891fa1
use util method
Konboi 4905127
fix tests command
Konboi 23f16f3
fix commit command
Konboi 5ef3da4
fix build command
Konboi 5ece995
fix session command
Konboi 35d77c1
fix subset command
Konboi 19c0ced
fix type check error
Konboi 2273b40
fix lint error-
Konboi 23488f0
add test for fail_fast_mode validation
Konboi d861e28
don't need to check but leave method and comment
Konboi 00a8944
fixed based on feedback
Konboi 78a1943
opposite... when fail fast mode is enabled, we should dispaly error m…
Konboi 016dec9
fix method name
Konboi 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| from enum import Enum | ||
|
|
||
|
|
||
| class Command(Enum): | ||
| VERIFY = 'VERIFY' | ||
| RECORD_TESTS = 'RECORD_TESTS' | ||
| RECORD_BUILD = 'RECORD_BUILD' | ||
| RECORD_SESSION = 'RECORD_SESSION' | ||
| SUBSET = 'SUBSET' | ||
| COMMIT = 'COMMIT' | ||
|
|
||
| def display_name(self): | ||
| return self.value.lower().replace('_', ' ') |
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.