{
(status_badge(update.status).label)
- (format!(" by {}", author(update)))
+ if let Some(author) = &update.author {
+ (byline(author))
+ }
if let Some(note) = &update.note {
(note.as_str())
}
diff --git a/docs/dev/architecture/database.md b/docs/dev/architecture/database.md
index fe7bac2ba..e3fc84dd2 100644
--- a/docs/dev/architecture/database.md
+++ b/docs/dev/architecture/database.md
@@ -416,10 +416,18 @@ release never writes an unknown one, and an actor of a known type that does not
decode, such as a `user` with no `user_id`, is still
`DatabaseError::InvalidStoredData`.
-Closed vocabularies stored in other columns, such as `AccountStatus` and the
-actor in `alert_updates.author`, have no such tolerance: a release fails to
-decode a value it does not know
-([#701](https://github.com/sourceorigin-dev/sourceorigin/issues/701)). Add the
+An [alert update](#alerts)'s author is an actor too, and is read by the same
+rule. The alerts read returns `AlertUpdate.author` as `None` for an author this
+release does not know: the dashboard's **Alerts** page shows that update
+without a byline, and `auth-service alerts list --json` prints its
+`"author": null`. An administrator or operator that does not decode, or a known
+actor of another type, is still `DatabaseError::InvalidStoredData`. The
+column's `CHECK` allows only `admin` and `cli` authors, so a release that writes
+another type widens it in a migration first. Migrations aren't reverted, so
+after a rollback the older release reads that author as unknown.
+
+Closed vocabularies stored in other columns, such as `AccountStatus`, have no
+such tolerance: a release fails to decode a value it does not know. Add the
value in one release that never writes it, and start writing it in a later one,
so the release a deploy or rollback runs beside always reads it.