Handling unfinished tasks on restart #210

Closed
opened 2026-02-16 00:20:30 -05:00 by yindo · 0 comments
Owner

Originally created by @wylswz on GitHub (Nov 6, 2025).

Originally assigned to: @Yeuoly on GitHub.

Self Checks

To make sure we get to you in time, please check the following :)

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • "Please do not modify this template :) and fill in all the required fields."

Versions

  1. dify-plugin-daemon latest
  2. dify-api latest

Describe the bug
Plugin daemon not picking up running tasks on restart, so I have to manually clean up "zombie" tasks.

To Reproduce

  • Install a plugin
  • restart plugin daemon before the installation finishes

Expected behavior
The task should eventually transit to a final state.

  • Marking running tasks as failed.
    or
  • Picking up the task and watch the previous installation.

Screenshots

Additional context
Serverless runtime.

Originally created by @wylswz on GitHub (Nov 6, 2025). Originally assigned to: @Yeuoly on GitHub. **Self Checks** To make sure we get to you in time, please check the following :) - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify-plugin-daemon/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] "Please do not modify this template :) and fill in all the required fields." **Versions** 1. dify-plugin-daemon latest 2. dify-api latest **Describe the bug** Plugin daemon not picking up running tasks on restart, so I have to manually clean up "zombie" tasks. **To Reproduce** - Install a plugin - restart plugin daemon before the installation finishes **Expected behavior** The task should eventually transit to a final state. - Marking running tasks as failed. or - Picking up the task and watch the previous installation. **Screenshots** **Additional context** Serverless runtime.
yindo closed this issue 2026-02-16 00:20:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-daemon#210