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
fix: allow errors to propogate in integration sync to facilitate retries unless final attempt
Scott Wilsona44b3efeb7d8
diff --git a/backend/src/services/secret/secret-queue.ts b/backend/src/services/secret/secret-queue.tsindex ce9c58391c..ff4fa595f8 100644--- a/backend/src/services/secret/secret-queue.ts+++ b/backend/src/services/secret/secret-queue.ts@@ -930,6 +930,11 @@ export const secretQueueFactory = ({}});+ // re-throw error to re-run job unless final attempt, then log and send fail email+ if (job.attemptsStarted !== job.opts.attempts) {+ throw err;+ }+await integrationDAL.updateById(integration.id, {lastSyncJobId: job.id,syncMessage: message,