feat: notification service

This commit is contained in:
Ilia Denisov
2026-04-22 08:49:45 +02:00
committed by GitHub
parent 5b7593e6f6
commit 32dc29359a
135 changed files with 21828 additions and 130 deletions
+14 -3
View File
@@ -806,10 +806,21 @@ Notification routing is triggered only when:
- `country_review_recommended` transitions to `true`
- Email notifications are enabled
`Notification Service` may then fan out e-mail delivery through
`Mail Service`.
`Geo Profile Service` publishes normalized notification intent
`geo.review_recommended` into `notification:intents` with
`audience_kind=admin_email`.
Go implementations should use the shared `galaxy/notificationintent` module
for this publication path.
`Notification Service` then resolves the administrator email list from its own
configuration and fans out e-mail delivery through `Mail Service`.
Geo Profile Service itself never sends mail directly.
That path is auxiliary and must not be required for business correctness.
This path is unrelated to auth-code delivery, which remains a direct
`Auth / Session Service -> Mail Service` flow and bypasses
`Notification Service`.
That path is auxiliary and must not be required for business correctness. If
the notification intent append fails after the review state transition is
stored, the transition remains committed and the failure is handled as
notification degradation.
## Event Bus Integration