Variable ros2_medkit_gateway::WARN_LEAF_ID_COLLISION
Defined in File warning_codes.hpp
Variable Documentation
-
constexpr const char *ros2_medkit_gateway::WARN_LEAF_ID_COLLISION = "leaf_id_collision"
Warning codes surfaced on /health.warnings.
These describe deployment anomalies the gateway chooses to flag without taking itself offline (contrast with error codes in error_codes.hpp which fail individual requests). Operators can key on these strings to drive dashboards, alerts, or automated remediation.
Keep this list in sync with docs/api/warning_codes.rst. All codes MUST be stable strings; rename = breaking change for downstream consumers. A leaf (non-hierarchical) Component ID was announced by more than one peer during aggregation merge. Routing falls back to last-writer-wins, so requests for the affected Component reach one peer non-deterministically. Resolve by renaming the Component on one side or by modelling it as a hierarchical parent (declare a child Component with
parentComponentIdpointing at the colliding ID on the owning peer).