Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
disabled email notifications for gateway and relay health check, keeping the instance relay email for instance admins
x0322054993876ed5cd
diff --git a/backend/src/ee/services/gateway-v2/gateway-v2-service.ts b/backend/src/ee/services/gateway-v2/gateway-v2-service.tsindex fd4954a00d..2ed21e3808 100644--- a/backend/src/ee/services/gateway-v2/gateway-v2-service.ts+++ b/backend/src/ee/services/gateway-v2/gateway-v2-service.ts@@ -931,15 +931,17 @@ export const gatewayV2ServiceFactory = ({})));- await smtpService.sendMail({- recipients: admins.map((admin) => admin.user.email).filter((v): v is string => !!v),- subjectLine: "Gateway Health Alert",- substitutions: {- type: "gateway",- names: gatewayNames- },- template: SmtpTemplates.HealthAlert- });+ // Temporarily disabled email notifications due to excessive noise. Will be revised later+ //+ // await smtpService.sendMail({+ // recipients: admins.map((admin) => admin.user.email).filter((v): v is string => !!v),+ // subjectLine: "Gateway Health Alert",+ // substitutions: {+ // type: "gateway",+ // names: gatewayNames+ // },+ // template: SmtpTemplates.HealthAlert+ // });await Promise.all(gateways.map((gw) => gatewayV2DAL.updateById(gw.id, { healthAlertedAt: new Date() })));} catch (error) {diff --git a/backend/src/ee/services/relay/relay-service.ts b/backend/src/ee/services/relay/relay-service.tsindex b2eb932ed2..096011765b 100644--- a/backend/src/ee/services/relay/relay-service.ts+++ b/backend/src/ee/services/relay/relay-service.ts@@ -1268,15 +1268,17 @@ export const relayServiceFactory = ({})));- await smtpService.sendMail({- recipients: admins.map((admin) => admin.user.email).filter((v): v is string => !!v),- subjectLine: "Relay Health Alert",- substitutions: {- type: "relay",- names: relayNames- },- template: SmtpTemplates.HealthAlert- });+ // Temporarily disabled email notifications due to excessive noise. Will be revised later+ //+ // await smtpService.sendMail({+ // recipients: admins.map((admin) => admin.user.email).filter((v): v is string => !!v),+ // subjectLine: "Relay Health Alert",+ // substitutions: {+ // type: "relay",+ // names: relayNames+ // },+ // template: SmtpTemplates.HealthAlert+ // });}await Promise.all(relays.map((r) => relayDAL.updateById(r.id, { healthAlertedAt: new Date() })));