[web] add email notifications dry run split test (#34653)

GitOrigin-RevId: 62f73ce3850b994bf2a4a054edd6fa62134213a9
This commit is contained in:
Kristina
2026-06-26 08:08:18 +00:00
committed by Copybot
parent 33b8f27097
commit 28ad3b03b7
+14 -3
View File
@@ -4,10 +4,21 @@ import { processNotifications } from '../modules/notifications/app/src/ProcessNo
async function main() {
logger.info({}, 'Processing notifications...')
const { notificationsFound, notificationsReady, emailsSent } =
await processNotifications()
const {
notificationsFound,
notificationsReady,
emailsSent,
dryRunProcessed,
dryRunWouldHaveSent,
} = await processNotifications()
logger.info(
{ notificationsFound, notificationsReady, emailsSent },
{
notificationsFound,
notificationsReady,
emailsSent,
dryRunProcessed,
dryRunWouldHaveSent,
},
'Notifications processed successfully.'
)
}