Skip to content

fix: parent task not updating when subtask enters FATAL_ERROR state - #638

Open
Roshan931 wants to merge 1 commit into
ovh:masterfrom
Roshan931:prilog/fix-error-parent-task-is-never-woken-when-a-08-21-2026-345c74
Open

fix: parent task not updating when subtask enters FATAL_ERROR state#638
Roshan931 wants to merge 1 commit into
ovh:masterfrom
Roshan931:prilog/fix-error-parent-task-is-never-woken-when-a-08-21-2026-345c74

Conversation

@Roshan931

Copy link
Copy Markdown

Fixes #492

Root cause

Parent task is never woken when a subtask ends BLOCKED

Changes

  • Allow ShouldResumeParentTask to resume a parent when the child task state is BLOCKED, so the engine's wakeParentTask refreshes the parent resolution's next_retry; the parent's subtask step then re-runs, sees the blocked subtask and fails with a client error, blocking the parent task instead of waiting forever. Added a regression test plus two test templates and documented the behaviour in the plugin README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

parent task not updating when subtask enters FATAL_ERROR state

1 participant