Commit aaf9962
committed
š fix(triggers): suppress duplicate server name in notification prefix and suffix (#283)
- getNotificationWatcherSuffix now accepts the resolved prefix and server
name; when a prefix is present and the watcher matches that server
identity (case-insensitive), the suffix is suppressed
- Extract getNotificationServerName helper to derive identity once
- Distinct watcher names still render: [prod-server] Container nginx (servicevault)
- š§Ŗ Regression tests for duplicated agent case and duplicated controller case1 parent 2f511d3 commit aaf9962
2 files changed
+61
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2123 | 2123 | | |
2124 | 2124 | | |
2125 | 2125 | | |
| 2126 | + | |
| 2127 | + | |
| 2128 | + | |
| 2129 | + | |
| 2130 | + | |
| 2131 | + | |
| 2132 | + | |
| 2133 | + | |
| 2134 | + | |
| 2135 | + | |
| 2136 | + | |
| 2137 | + | |
| 2138 | + | |
| 2139 | + | |
| 2140 | + | |
| 2141 | + | |
| 2142 | + | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
| 2154 | + | |
| 2155 | + | |
| 2156 | + | |
| 2157 | + | |
| 2158 | + | |
| 2159 | + | |
| 2160 | + | |
| 2161 | + | |
| 2162 | + | |
2126 | 2163 | | |
2127 | 2164 | | |
2128 | 2165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1602 | 1602 | | |
1603 | 1603 | | |
1604 | 1604 | | |
1605 | | - | |
| 1605 | + | |
| 1606 | + | |
| 1607 | + | |
| 1608 | + | |
| 1609 | + | |
| 1610 | + | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
1606 | 1615 | | |
1607 | 1616 | | |
1608 | 1617 | | |
1609 | 1618 | | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
1610 | 1627 | | |
1611 | 1628 | | |
1612 | 1629 | | |
| |||
1622 | 1639 | | |
1623 | 1640 | | |
1624 | 1641 | | |
1625 | | - | |
1626 | 1642 | | |
1627 | | - | |
1628 | | - | |
1629 | | - | |
1630 | | - | |
| 1643 | + | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
1631 | 1649 | | |
1632 | 1650 | | |
1633 | 1651 | | |
| |||
0 commit comments