From 071a40b4e42c01897c0bd34a396b8e7d6e297db6 Mon Sep 17 00:00:00 2001 From: Maxim Pertsov Date: Fri, 2 Aug 2024 14:37:23 -0400 Subject: [PATCH] add unhealthy state and error field --- proto/viam/robot/v1/robot.proto | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/proto/viam/robot/v1/robot.proto b/proto/viam/robot/v1/robot.proto index 8104544a..81b236a8 100644 --- a/proto/viam/robot/v1/robot.proto +++ b/proto/viam/robot/v1/robot.proto @@ -389,11 +389,13 @@ message ResourceStatus { STATE_UNCONFIGURED = 1; // a resource that is being configured. STATE_CONFIGURING = 2; - // a resource that has been successfully configured once and is not being + // a resource that has been successfully configured once, is healthy, and is not being // re-configured or removed. STATE_READY = 3; // a resource that is being removed from the robot. STATE_REMOVING = 4; + // a resource that is in an unheathy state. + STATE_UNHEALTHY = 5; } // resource name. @@ -407,6 +409,9 @@ message ResourceStatus { // revision of the last config that successfully updated this resource. string revision = 4; + + // error details for nodes that are in an unhealthy state. + string error = 5; } message ConfigStatus {