Skip to content

fix(taskctl): add timeout enforcement and logging for Composer agent (#394)#395

Merged
randomm merged 2 commits intodevfrom
feature/issue-394-composer-timeout-fix
Apr 8, 2026
Merged

fix(taskctl): add timeout enforcement and logging for Composer agent (#394)#395
randomm merged 2 commits intodevfrom
feature/issue-394-composer-timeout-fix

Conversation

@randomm
Copy link
Copy Markdown
Owner

@randomm randomm commented Apr 7, 2026

Fixes #394

Summary

Add timeout enforcement and instrumentation logging for the Composer agent during issue decomposition.

Changes

  • Add log instance creation for Composer logging
  • Log when Composer starts, times out, and completes
  • Throw descriptive error on timeout (instead of returning undefined)
  • Track elapsed time for timeout logging

Testing

  • Timeout now throws actionable error message after 5 minutes
  • Logging provides visibility into Composer lifecycle
  • Normal Composer runs unaffected

Verification

  • Type check passes
  • Tests pass

randomm added 2 commits April 8, 2026 01:00
Address code review feedback - success path should log elapsed time
for diagnostic value instead of timedOut (always false on success).
@randomm randomm merged commit 7ec0a25 into dev Apr 8, 2026
1 check passed
@randomm randomm deleted the feature/issue-394-composer-timeout-fix branch April 8, 2026 07:02
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.

Bug: Composer agent hangs indefinitely during issue decomposition (no timeout enforcement)

1 participant