Notify link=: review fixes
- ntfy uses the link only beside a web run view; otherwise it keeps the run click and the receipt says why (app click stays the link). - The outbox retry of a hook's failed publication re-resolves the stage's link=, so the ntfy and app tap targets keep it. - A valid link file is never the attached artifact. - Notification artifacts are read through os.OpenRoot with O_NOFOLLOW. - The link note is recorded once, on the first receipt, and never becomes the run-level failure reason. - Android: a recents relaunch does not reopen the link, and a run thread of several entries opens the run rather than the latest external page. - Docs and the protocol comment say "first non-empty line".
This commit is contained in:
@@ -236,4 +236,5 @@ The `notify` block accepts `on`, optional legacy `destination`, optional
|
||||
`artifacts=markdown|files`, optional `open=<relative-glob>` and optional
|
||||
`link=<relative-glob>`. `open` selects an artifact in the run's shared `public/`;
|
||||
without it, one and only one regular file there is selected automatically.
|
||||
`link` selects a `public/` file whose first line is the http(s) tap target.
|
||||
`link` selects a `public/` file whose first non-empty line is the http(s) tap
|
||||
target; that file is never the attached artifact.
|
||||
|
||||
Reference in New Issue
Block a user