feat(nunciod): domain + lifecycle log coverage (OBS-3) #372

Merged
KofTwentyTwo merged 1 commits from story/obs-3-daemon-coverage into dev 2026-07-31 23:59:44 +00:00
1 Commits
Author SHA1 Message Date
James Maes 24d027036f feat(nunciod): domain + lifecycle log coverage across handlers, syncs, outbox, shutdown
Add meaningful domain events to the 8 gRPC services (account
add/update/remove/probe, mark-read, sync dispatch, contact create,
rule create/update/delete/import/export, triage, export, audit verify),
instrument the previously-silent send/calendar_sync/contacts_sync
routines, log outbox mutation attempt+result at the executor decision
level, and trace every graceful-shutdown drain step plus the
ShuttingDown event emission. Domain events inherit the OBS-2 per-RPC
span (request_id) rather than duplicating its entry/exit lines. Only
ids, counts, transport/op/rule kinds, folder names, and status are
logged -- never bodies, subjects, addresses, credentials, or tokens.

Refs #359
2026-07-31 18:56:48 -05:00