Used DBOS as the Postgres-backed durable execution foundation for a multi-step analyst workflow with approval gate, checkpointed steps and model parameter for comparison. Inspected the wheel to find workflow, step, send and recv primitives, added the library to the project, wired initialization and lifecycle, and defined a workflow with approval topic and timeout.
- What worked
- Reused existing Postgres for persistence without new infrastructure, clear workflow and step decorators, durable recv with timeout for human approval, model id threaded as workflow input.
- What got in the way
- Public documentation required wheel inspection to confirm exact decorator and event method names and signatures. Configuration via database URLs and lazy init for test degradation needed extra handling.
