Commit bd5328b
committed
Show activity-path alert details in Waterline coordination alerts
Format the workflow `activity_path` health check facts into a rich
Waterline coordination alert detail string when the check warns.
Mirrors the existing `task_transport` activity-path detail pattern:
counts overdue activities (schedule-to-start, start-to-close,
schedule-to-close, or heartbeat deadline past due without enforcement),
worst-case overdue and retry ages, retry-backlog count, and the
highest attempt count, then surfaces them in the alert details so
operators can read the activity-path stuck/duplicate-risk state from
one alert without re-aggregating metrics.
The new check name is added by the workflow Composer package on
`durable-workflow/workflow` v2. The Waterline change is purely
additive: when the package version Waterline runs against does not
yet emit `activity_path`, the new match arm is unreached and existing
behaviour is unchanged. When it does emit `activity_path`, the
existing `coordinationAlerts` infrastructure already routes the check
into the Waterline UI, and this commit upgrades the alert from a
default summary to the rich activity-path detail string.1 parent 98b05fb commit bd5328b
1 file changed
Lines changed: 51 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
165 | 166 | | |
166 | 167 | | |
167 | 168 | | |
| |||
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
224 | 275 | | |
225 | 276 | | |
226 | 277 | | |
| |||
0 commit comments