summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorClaudomator Agent <agent@claudomator>2026-03-09 08:04:07 +0000
committerClaudomator Agent <agent@claudomator>2026-03-09 08:04:07 +0000
commitc8e3b467afdfcee9c5047902662d49d33c862764 (patch)
treee39df5351d6624edc531a76ada0c0c15fd9b862a /cmd
parent441ed9eef3d9691cd9269772857307b84a7f5700 (diff)
executor: unblock parent task when all subtasks complete
Add maybeUnblockParent helper that transitions a BLOCKED parent task to READY once every subtask is in the COMPLETED state. Called in both execute() and executeResume() immediately after a subtask is marked COMPLETED. Any non-COMPLETED sibling (RUNNING, FAILED, etc.) keeps the parent BLOCKED. Tests added: - TestPool_Submit_LastSubtask_UnblocksParent - TestPool_Submit_NotLastSubtask_ParentStaysBlocked - TestPool_Submit_ParentNotBlocked_NoTransition
Diffstat (limited to 'cmd')
0 files changed, 0 insertions, 0 deletions