[ Feature]: Cascade warnings on the topology map for affected upstream services
Is your feature request related to a problem? Please describe.
When a critical dependency goes down, every service that (transitively) depends on it is about to suffer — but on the topology map only services with their own firing alerts are highlighted (e.g. red borders per #6839). Healthy upstream services get no signal, so the blast radius of an outage is invisible.
Describe the solution you'd like
A cascade warning badge (⚠ N) on services that are healthy themselves but depend — transitively, through critical dependencies — on services that are currently down (firing critical/high/error alerts). N is the number of distinct down services affecting the node.
Details:
- propagation walks upstream through critical dependencies only
- the walk is cycle-safe (visited set): direct
A <-> Bdependency cycles simply terminate - edge criticality is approximated at node level (keep's topology model has no per-edge criticality): an edge counts as critical when the target service is tagged
critical - down services don't carry the badge (they are the cause, not the victim)
This is a port of a proven pattern from the open-source dephealth-ui service topology dashboard.
Describe alternatives you've considered
None — this pattern is well established in dependency-topology dashboards.
Additional context
Verified on a self-hosted lab stand (17-service topology with a real firing/resolved cycle): red nodes are down (uniproxy-04, uniproxy-06), ⚠ 1 badges appear on the upstream chain uniproxy-02 → uniproxy-01 → uniproxy-03. The stand contains a direct uniproxy-01 <-> uniproxy-03 dependency cycle — the walk propagates through one direction and terminates on the other:

Source: keephq/keep