You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A large percentage of AddStatus commands are never actually checked for return codes.
This has two sideffects:
errors are never seen in logs
we have no sane way to handle AddStatus failures (would we return success without an error code?)
We likely would want to VerifyOrDie unless we are able to handle the error in some way.
Also need to review usage of AddStatusAndLogIfFailure since that both logs failure statuses (seems to be the intended functionality) but also adds a log of failed statuses (VerifyOrDie seems more correct though as we cannot really handle the failure).
The text was updated successfully, but these errors were encountered:
Reproduction steps
Examples from
rg -- '->AddStatus'
:A large percentage of AddStatus commands are never actually checked for return codes.
This has two sideffects:
We likely would want to VerifyOrDie unless we are able to handle the error in some way.
Also need to review usage of
AddStatusAndLogIfFailure
since that both logs failure statuses (seems to be the intended functionality) but also adds a log of failed statuses (VerifyOrDie seems more correct though as we cannot really handle the failure).The text was updated successfully, but these errors were encountered: