You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: handle 404 in waitForTaskActive when task is deleted by concurrent run
When a concurrent workflow run deletes a task while waitForTaskActive
is polling getTaskById, the action now catches the 404 and falls
through to create a new task instead of crashing.
- Add TaskDeletedError class for explicit error discrimination
- Catch 404 in waitForTaskActive polling loop, throw TaskDeletedError
- Wrap existing-task path in action.ts run() with try-catch to
handle TaskDeletedError and fall through to task creation
Closes#12
0 commit comments