From c9f262c8295df30cdb27892438c1b63d7cc1d9d4 Mon Sep 17 00:00:00 2001 From: imrishabh18 Date: Tue, 13 Jan 2026 19:49:38 +0530 Subject: [PATCH] Remove usercode_api from the ignored service list --- scripts/discord-notification.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/discord-notification.ts b/scripts/discord-notification.ts index 28e5bde682..365b23bc52 100644 --- a/scripts/discord-notification.ts +++ b/scripts/discord-notification.ts @@ -7,7 +7,6 @@ const DISCORD_WEBHOOK_URL = process.env.DISCORD_WEBHOOK_URL const NOTIFICATION_THRESHOLD = 20 * 60 * 1000 // 20 minutes in milliseconds const STATUS_FILE = "./statuses.jsonl" const REPORTED_OUTAGES_FILE = "./reported-outages.json" -const IGNORED_SERVICES = ["usercode_api"] // Services to ignore for notifications console.log("Starting Discord notification script for ongoing outages...") console.log("Webhook URL present:", !!DISCORD_WEBHOOK_URL) @@ -100,11 +99,6 @@ function findCurrentOutages(statusChecks: StatusCheck[]): Map< for (const service of check.checks) { const serviceName = service.service - // Skip ignored services - if (IGNORED_SERVICES.includes(serviceName)) { - continue - } - // Service has an error if (service.status === "error") { if (