💡 Lesson learned building an agent on Cloud Run: don't schedule work to run after you send the response. On Cloud Run's default request-based CPU mode it freezes mid-run — do the latency-critical work before you respond.


I had a webhook receiver that acknowledged events in well under a second. Fast, clean, exactly what you want from a webhook...