Where Do You Put the await When Approval Comes a Deploy Later?

dr_renner · reddit · 2026-12-02

A TypeScript agent developer poses a core durable-workflow puzzle: an agent posts "Approve $312.40" to Slack, the user clicks the next morning, and a deploy happened in between — you need to record the amount the user actually saw, not re-extract it with a fresh agent that may disagree.

His first-pass design: a Postgres row holding the extracted invoice with pending status, row ID attached to the Slack button. The sticking point is edits: someone corrects the amount and sends a second approval request, both buttons point to the same row, and clicking yesterday's button could approve a different amount.

He asks the community: if you've shipped this in Node/TypeScript, are you still happy with table + worker? If you switched to built-in pause/resume, what finally made it worth it?

Original post →

More from coding & agent

coding & agent channel →