feat(FN-5046): complete Step 1 — extend failure notification mode type
Fusion-Task-Id: FN-5046 Fusion-Task-Lineage: 0748fd0e-70c3-44b9-a599-0df5255d4d60
This commit is contained in:
committed by
gsxdsm
parent
d6d79bcb78
commit
6b13cab5d8
@@ -2139,8 +2139,11 @@ export interface GlobalSettings {
|
||||
failureNotificationDelayMs?: number;
|
||||
/** `sticky-only` (default) defers failure notifications by `failureNotificationDelayMs`
|
||||
* and suppresses them if the task self-recovers. `all` restores the legacy
|
||||
* immediate-dispatch behavior. */
|
||||
failureNotificationMode?: "sticky-only" | "all";
|
||||
* immediate-dispatch behavior. `terminal-only` suppresses failure notifications
|
||||
* while the engine is still auto-retrying, and only notifies once the task is
|
||||
* parked paused (`task.paused === true`) or escalated (`column === "in-review"`
|
||||
* with `status === "failed"`). */
|
||||
failureNotificationMode?: "sticky-only" | "all" | "terminal-only";
|
||||
/** When true, enables webhook notifications for task lifecycle events.
|
||||
* Requires webhookUrl to be set. Default: false. */
|
||||
webhookEnabled?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user