eny.space Landingpage
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(dashboard): allow retry for PDS

+4 -2
+4 -2
app/api/webhooks/route.ts
··· 54 54 if (existing.pds_service_id) { 55 55 return { skipped: true, pds_service_id: existing.pds_service_id }; 56 56 } 57 - // If we already deployed but couldn't capture an id, avoid hammering deploy 58 - if (existing.status && existing.status !== "deploy_failed") { 57 + // Retry deploy for known retryable states where id may be missing. 58 + // Keep skipping for everything else to avoid duplicate provisioning. 59 + const retryableStatuses = new Set(["deploy_failed", "deploy_succeeded_no_id"]); 60 + if (existing.status && !retryableStatuses.has(existing.status)) { 59 61 return { skipped: true, pds_service_id: null }; 60 62 } 61 63 }