Commit 6ced1d2
committed
fix: pause routines whose assigned agent is deleted
Unassigning alone left an active routine that could never dispatch.
assertRoutineCanEnable already treats active-with-no-assignee as invalid, so the
teardown was creating a state the service itself refuses to construct. Pause the
routine as well, so the condition is visible instead of silent.1 parent becb986 commit 6ced1d2
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
747 | 747 | | |
748 | 748 | | |
749 | 749 | | |
750 | | - | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
751 | 758 | | |
752 | 759 | | |
753 | 760 | | |
| |||
0 commit comments