Notify on run end only for runs marked Notify me
Auto runs no longer alert on failure or success; only notify_mode on does, unless the run_finished setting (now 'Notify when any run ends', default off) opts into every run end. Waiting still notifies auto and on runs. The setting is stored under a new key so a value saved under the old meaning is ignored.
This commit is contained in:
+5
-3
@@ -681,9 +681,11 @@ appear with a `public/` prefix.
|
||||
### Run notification modes and receipts
|
||||
|
||||
`--notify auto|on|off` records `notify_mode` on the run (also returned in
|
||||
summaries and `run_event` frames). Auto retains stage policies and run-level
|
||||
waiting/failure defaults. On also alerts terminal success without requiring a
|
||||
stage hook. Off suppresses stage, run-level system and browser tray alerts.
|
||||
summaries and `run_event` frames). Auto retains stage policies and the
|
||||
run-level waiting alert; its failure or success is silent unless the server's
|
||||
`run_finished` setting ("Notify when any run ends", off by default) is on. On
|
||||
also alerts when the run fails or succeeds, without requiring a stage hook. Off
|
||||
suppresses stage, run-level system and browser tray alerts.
|
||||
|
||||
`inspect --json` / `get_run` includes top-level `notifications` receipts with
|
||||
`sequence`, `event`, `channel`, `status`, `attempts`, and optional `diagnostic`
|
||||
|
||||
Reference in New Issue
Block a user