From fab59cf8e669fe9ec34b30586f07b7478e897c31 Mon Sep 17 00:00:00 2001 From: Claudomator Agent Date: Sun, 8 Mar 2026 22:11:53 +0000 Subject: task: add BLOCKED→READY to ValidTransition MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/task/task_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/task/task_test.go') diff --git a/internal/task/task_test.go b/internal/task/task_test.go index 5d997ac..5cb12d0 100644 --- a/internal/task/task_test.go +++ b/internal/task/task_test.go @@ -24,6 +24,7 @@ func TestValidTransition_AllowedTransitions(t *testing.T) { {"timed out to queued (retry)", StateTimedOut, StateQueued}, {"running to blocked (question)", StateRunning, StateBlocked}, {"blocked to queued (answer resume)", StateBlocked, StateQueued}, + {"blocked to ready (parent unblocked by subtasks)", StateBlocked, StateReady}, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { -- cgit v1.2.3