Users may want to show workorders with a particular last attempt error_type. Right now they only can filter on state, but the different between a TimeoutError and a SecurityError is very important and if they select the Killed state they should be able to further filter on attempt.error_type.
This is complicated because workorder has state but not error_type. Should we introduce it? Or should we extend the query with a join to filter on attempt.error_type? Probably the former, not the latter.
Users may want to show workorders with a particular last attempt
error_type
. Right now they only can filter onstate
, but the different between aTimeoutError
and aSecurityError
is very important and if they select theKilled
state they should be able to further filter onattempt.error_type
.This is complicated because workorder has
state
but noterror_type
. Should we introduce it? Or should we extend the query with a join to filter onattempt.error_type
? Probably the former, not the latter.