diff --git a/front/production_checks/checks/managed_data_sources_gc.ts b/front/production_checks/checks/managed_data_sources_gc.ts index 9cbc4a2d051c..198302b6aa8e 100644 --- a/front/production_checks/checks/managed_data_sources_gc.ts +++ b/front/production_checks/checks/managed_data_sources_gc.ts @@ -5,8 +5,11 @@ import { ModelId } from "@app/lib/databases"; import { Err, Ok, Result } from "@app/lib/result"; import { CheckFunction } from "@app/production_checks/types/check"; -const { CORE_DATABASE_URI_RO, FRONT_DATABASE_URI_RO, CONNECTORS_DATABASE_URI_RO } = - process.env; +const { + CORE_DATABASE_URI_RO, + FRONT_DATABASE_URI_RO, + CONNECTORS_DATABASE_URI_RO, +} = process.env; type CoreDSDocument = { id: number; @@ -31,9 +34,12 @@ export const managedDataSourcesGcCheck: CheckFunction = async ( const front_sequelize = new Sequelize(FRONT_DATABASE_URI_RO as string, { logging: false, }); - const connectorsSequelize = new Sequelize(CONNECTORS_DATABASE_URI_RO as string, { - logging: false, - }); + const connectorsSequelize = new Sequelize( + CONNECTORS_DATABASE_URI_RO as string, + { + logging: false, + } + ); const managedDsData = await front_sequelize.query( 'SELECT id, "connectorId", "connectorProvider", "dustAPIProjectId"\ diff --git a/front/production_checks/temporal/activities.ts b/front/production_checks/temporal/activities.ts index 10ebe1418734..6960cf397819 100644 --- a/front/production_checks/temporal/activities.ts +++ b/front/production_checks/temporal/activities.ts @@ -30,7 +30,10 @@ async function runAllChecks(checks: Check[]) { logger.info({ reportPayload }, "Check succeeded"); }; const reportFailure = (reportPayload: unknown, message: string) => { - logger.error({ reportPayload, errorMessage: message }, "Production check failed"); + logger.error( + { reportPayload, errorMessage: message }, + "Production check failed" + ); }; Context.current().heartbeat({ type: "start",