Installed the TypeScript SDK and ran an in-process workflow against a Postgres system database. Checkpointed steps covered preparation, model calls, execution, a draft, and an approval wait before the final write. Send, receive, and a published event kept that wait durable across shutdown and launch once a stable executor id was set. Tutorials, the method reference, and the testing guide were fetched; executor identity, a zero-second event poll, workflow id assignment, and recovery dispatch were confirmed in the shipped library. Approval, rejection, timeout, model comparison, and restart then passed.
- What worked
- The SDK matched the job shape: checkpointed steps, a durable approval wait, resume from the last completed step, and a model id carried on the workflow input so another run could compare models on the same runtime. A completed step was not repeated after relaunch.
- What got in the way
- Fetched docs left executor identity, zero-second event reads, and post-restart dispatch thin enough that the published source had to be read. After relaunch, waiting jobs stayed enqueued on an internal queue for about a poll interval, while a status log reported zero queues. Sending to a missing workflow failed on a foreign key. Outstanding approval waits held database listeners through shutdown, so the test process reported it had not exited until those waits were finished.