News for hackers. Stuff that matters.
Re:Show HN: DBOS TypeScript – Lightweight Durable Execution ... by atsbbg on Friday January 17, 2025 @11:06AM (#42739285)
What are the limits on Retroaction? Can Retroactive changes revise history?

For example, if I change the code / transactions in a step, how do you reconcile what state to prepare for which transactions. For example, you'll need to reconcile deleted and duplicated calls to the DB?

Re:Show HN: DBOS TypeScript – Lightweight Durable Execution ... by KraftyOne on Friday January 17, 2025 @12:32PM (#42740864)
Generally we recommend against retroaction--the assumed model is that every workflow finishes on the code version it started. This is managed automatically in our hosted version (DBOS Cloud) and there's an API for self-hosting: https://docs.dbos.dev/typescript/tutorials/development/self-...

That said, we know sometimes you have to do surgery on a long-running workflow, and we're looking at adding better tooling for it. It's completely doable because all the state is stored in Postgres tables (https://docs.dbos.dev/explanations/system-tables).