-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Tasks block until TaskMinConfirmations have been met #184
Conversation
Signed-off-by: Dimitri Roche <dimroc@gmail.com>
Signed-off-by: Steve Ellis <email@steveell.is>
Signed-off-by: Dimitri Roche <dimroc@gmail.com>
Signed-off-by: Steve Ellis <email@steveell.is>
Signed-off-by: Dimitri Roche <dimroc@gmail.com>
Eventually, gock will be removed entirely.
f82c37a
to
ced632f
Compare
Codecov Report
@@ Coverage Diff @@
## master #184 +/- ##
==========================================
+ Coverage 83.68% 83.82% +0.13%
==========================================
Files 39 39
Lines 2869 2955 +86
==========================================
+ Hits 2401 2477 +76
- Misses 296 307 +11
+ Partials 172 171 -1
Continue to review full report at Codecov.
|
Maybe we should have TASK_MIN_CONFIRMATIONS default to 0 until we're done with the epic. |
}{ | ||
{"unset", nil, big.NewInt(2), big.NewInt(2)}, | ||
{"set", big.NewInt(1), big.NewInt(2), big.NewInt(1)}, | ||
{"unset and nil", nil, nil, nil}, |
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.
👍
run.Status = models.StatusErrored | ||
run.Result.SetError(err) | ||
return run | ||
if !jr.Runnable(bn, store.Config.TaskMinConfirmations) { |
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.
Good call on putting this check in here. Looking easy to update in the future.
Includes the renaming and addition of the following configurations: