bork icon indicating copy to clipboard operation
bork copied to clipboard

Inconsistency between check_failed and did_error

Open bcomnes opened this issue 8 years ago • 2 comments

Is there a reason that when a ok check fails that it is handled with check_failed instead of did_error? They seem to serve a similar function.

bcomnes avatar May 07 '16 04:05 bcomnes

from what I can remember and what I can read, check_failed was created for the check type (which is basically a way of hooking arbitrary expressions into the ok system) and is only updated on status operations, which are performed during satisfy as well. did_error is meant to be used alongside did_install, did_upgrade, did_update and the like to determine if the satisfy (install | upgrade) operation failed. This could probably be better documented.

mattly avatar Jan 29 '18 05:01 mattly

👍 Feel free to close unless you want to keep the reminder to documnet. I've lost too much context to come up with a quick fix on this atm.

bcomnes avatar Jan 29 '18 18:01 bcomnes