Commit ea48cfb
chore: remove run recovery notifications (#13883)
Remove the capability to trigger notifications including webhooks when a Forgejo Actions workflow run recovered. That functionality was added in https://codeberg.org/forgejo/forgejo/pulls/7509 but disabled in https://codeberg.org/forgejo/forgejo/pulls/8374 (Forgejo 12) because [it compared unrelated workflow runs](https://codeberg.org/forgejo/forgejo/issues/8373). It has never been repaired.
According to https://codeberg.org/forgejo/user-research/issues/63, interest for that capability is somewhere between inexistent and low. It is also not easy to express what "recovered" is supposed to mean when automatic cancellation and run reordering comes into play.
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/13883
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org>1 parent 79a94d6 commit ea48cfb
26 files changed
Lines changed: 50 additions & 284 deletions
File tree
- models
- actions
- webhook
- modules
- structs
- webhook
- options/locale
- routers
- api/v1/utils
- web/repo/setting
- services
- actions
- mailer
- notify
- webhook
- templates/webhook
- tests/integration
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
483 | 483 | | |
484 | 484 | | |
485 | 485 | | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | 486 | | |
493 | 487 | | |
494 | 488 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | 307 | | |
314 | 308 | | |
315 | 309 | | |
| |||
355 | 349 | | |
356 | 350 | | |
357 | 351 | | |
358 | | - | |
359 | 352 | | |
360 | 353 | | |
361 | 354 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
| 77 | + | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
| |||
157 | 156 | | |
158 | 157 | | |
159 | 158 | | |
160 | | - | |
161 | 159 | | |
162 | 160 | | |
163 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | 511 | | |
515 | 512 | | |
516 | 513 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | 74 | | |
77 | 75 | | |
78 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2379 | 2379 | | |
2380 | 2380 | | |
2381 | 2381 | | |
2382 | | - | |
2383 | | - | |
2384 | 2382 | | |
2385 | 2383 | | |
2386 | 2384 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
212 | 212 | | |
213 | 213 | | |
214 | 214 | | |
215 | | - | |
216 | 215 | | |
217 | 216 | | |
218 | 217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
117 | 116 | | |
118 | 117 | | |
119 | 118 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | 179 | | |
181 | 180 | | |
182 | 181 | | |
| |||
0 commit comments