Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

feat: claude review addressed

=83b480a9b8bc
diff --git a/backend/src/db/migrations/20240102152111_secret-rotation.ts b/backend/src/db/migrations/20240102152111_secret-rotation.ts
index 1f8542e6fc..1e3508a728 100644
--- a/backend/src/db/migrations/20240102152111_secret-rotation.ts
+++ b/backend/src/db/migrations/20240102152111_secret-rotation.ts
@@ -38,7 +38,7 @@ export async function up(knex: Knex): Promise<void> {
}
export async function down(knex: Knex): Promise<void> {
+ await dropOnUpdateTrigger(knex, TableName.DeprecatedSecretRotationV1);
await knex.schema.dropTableIfExists(TableName.DeprecatedSecretRotationOutput);
await knex.schema.dropTableIfExists(TableName.DeprecatedSecretRotationV1);
- await dropOnUpdateTrigger(knex, TableName.DeprecatedSecretRotationV1);
}
diff --git a/backend/src/queue/queue-service.ts b/backend/src/queue/queue-service.ts
index 294f443b69..295e840e26 100644
--- a/backend/src/queue/queue-service.ts
+++ b/backend/src/queue/queue-service.ts
@@ -643,7 +643,7 @@ export const queueServiceFactory = (redisCfg: TRedisConfigKeys): TQueueServiceFa
// Remove orphaned job schedulers left in Redis by the QueueInternalRecovery/QueueInternalReconciliation deleted queues.
void (async () => {
- const staleQueueNames = ["queue-internal-recovery", "queue-internal-reconciliation"];
+ const staleQueueNames = ["queue-internal-recovery", "queue-internal-reconciliation", "secret-rotation"];
await Promise.allSettled(
staleQueueNames.map(async (name) => {
const staleQueue = new Queue(name, {