knexer / llmtaskgraph

20 stars 1 forks source link

Zombie TaskGraphs when stopping execution #14

Closed knexer closed 1 year ago

knexer commented 1 year ago

Pretty sure with the new server implementation, it's easy to get a zombie task graph. It might happen every time the stop button is hit.

Pretty sure we need to handle cancel errors in TaskGraph's run, and cancel all the Tasks it started. Tasks might also need to handle cancel errors - it's unclear