Skip to content

Comments

[WIP] Fix bug causing tasks to run indefinitely without timeout#699

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/fix-task-timeout-issue
Closed

[WIP] Fix bug causing tasks to run indefinitely without timeout#699
Copilot wants to merge 1 commit intomainfrom
copilot/fix-task-timeout-issue

Conversation

Copy link
Contributor

Copilot AI commented Feb 13, 2026

Thanks for assigning this issue to me. I'm starting to work on it and will keep this PR's description up to date as I form a plan and make progress.

Original prompt

This section details on the original issue you should resolve

<issue_title>🐛 Bug - Executing tasks run indefinitely; no timeout (hangs for 30+ minutes)</issue_title>
<issue_description>▶️ Watch the video (00:30)

Cc:
Hi Josh

Describe the Bug

When processing a 30-second video, the app's MCP starts executing tasks but they run for ~30 minutes and never finish. There is no timeout or failover, so the task appears to hang indefinitely.

To Reproduce

Steps to reproduce the behavior:

  1. Open YakShaver Desktop.
  2. Start a shave using the provided 30-second video: https://www.youtube.com/watch?v=KNWyjkeD4fc
  3. Observe the executing tasks panel — tasks continue running for 30+ minutes and never complete.
  4. No timeout is raised and there's no option to retry the task from the UI.

Expected Behavior

Tasks that run longer than a reasonable threshold should time out. After a timeout, the UI should allow the user to retry the task (e.g., a Retry button) and optionally provide a custom prompt for retry configuration.

Tasks

  • Investigate
  • Fix

More Information

  • Reporter: Josh
  • Suggested changes: Add a configurable timeout limit for task execution, display a timeout error when reached, and provide a Retry button in the UI that allows re-running the failed task (optionally with a custom prompt).

Environment

  • App: YakShaver Desktop
  • Video: 30-second repro video (link above)

Screenshots

N/A

Thanks!
</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

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 - Executing tasks run indefinitely; no timeout (hangs for 30+ minutes)

2 participants