Skip to content

T2098: Investigate TaskCore daemon claim timeout issue#62

Open
krandder wants to merge 6 commits into
mainfrom
task/T2098
Open

T2098: Investigate TaskCore daemon claim timeout issue#62
krandder wants to merge 6 commits into
mainfrom
task/T2098

Conversation

@krandder

Copy link
Copy Markdown
Contributor

Task 2098

Investigate TaskCore daemon claim timeout issue

Branch: task/T2098main

When piping task output to head or similar commands, Node.js throws
EPIPE if the pipe closes before all output is written. This fix adds
an error handler on stdout that exits cleanly on EPIPE instead of
throwing an uncaught exception.

Test: task list | head -5 now exits with code 0 instead of EPIPE error
Coordinator/parent tasks delegate their work to child task branches.
verifyArtifacts() now returns passed:true immediately when task.children.length > 0,
with a reason explaining delegation. Includes a new test covering this case.
Prevents indefinite hang when daemon is blocked on git I/O during claim.
Also documents the underlying execFileSync event-loop-blocking pattern in GAPS.md.
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.

1 participant