dbos-inc / dbos-transact-ts

The TypeScript framework for backends that scale
https://docs.dbos.dev
MIT License
346 stars 22 forks source link

Workflow Management CLI #527

Closed kraftp closed 2 months ago

kraftp commented 2 months ago

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

qianl15 commented 2 months 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.