-
Couldn't load subscription status.
- Fork 32
Description
According to the gRPC status code documentation the UNAVAILABLE status should be used when the gRPC service itself is not available (e.g., server down or unreachable).
In Databroker kuksa.val.v2, however, UNAVAILABLE is currently also used in a different context:
// UNAVAILABLE if there is no provider currently providing the actuator
This might cause confusion, since UNAVAILABLE is intended to describe service-level availability rather than application-level conditions.
Suggestion: We should review this usage and consider whether a different status code (e.g., NOT_FOUND, FAILED_PRECONDITION, or another more appropriate one) would better capture the “no provider for actuator” case