Very funny to me how much everyone went away from the db to achieve idempotent behavior, and now we're back to just using a db as a complicated queue with state.
Then the DBOS cloud platform optimizes those interactions between the database and code so that you get a superior experience to running locally.