Orchestrates long-running Edge Function work via waitUntil, pg_cron, and pgmq patterns.
97
97%
Does it follow best practices?
Impact
Pending
No eval scenarios have been run
Passed
No known issues
await a background promise before returning the HTTP response when using the waitUntil pattern. Doing so defeats the purpose and risks timeouts.EdgeRuntime.waitUntil(promise) and return 200 OK immediately.console.error with structured context (function name, request ID).pgmq and pg_cron extensions are enabled before writing any queue or cron SQL. HALT if extensions are missing.