dbos-inc / dbos-transact

The Transactional TypeScript Framework
https://docs.dbos.dev
MIT License
278 stars 19 forks source link

Workflow Management CLI #527

Closed kraftp closed 1 week ago

kraftp commented 1 week ago

This PR adds a command-line interface for workflow management. There are five new commands:

qianl15 commented 1 week ago
  • npx dbos workflow retry<uuid>: Retry a workflow from the last step it executed, keeping its UUID.
  • npx dbos workflow restart<uuid>: Resubmit a workflow, restarting it from the beginning with the same arguments but a new UUID.

Retry and restart are confusing to me. Maybe consider resume vs retry? resume naturally means it starts from where it left off, and retry naturally means it starts from the beginning with a different UUID.