[PR #561] feat: add recover, make sure the process is killed #582

Open
opened 2026-02-16 01:16:23 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/561
Author: @fatelei
Created: 1/8/2026
Status: 🔄 Open

Base: mainHead: issue-30740


📝 Commits (1)

  • f46c536 feat: add recover, make sure the process is kill

📊 Changes

5 files changed (+107 additions, -16 deletions)

View changed files

📝 internal/core/local_runtime/instance.go (+31 -16)
internal/core/local_runtime/proc_others.go (+11 -0)
internal/core/local_runtime/proc_unix.go (+40 -0)
internal/core/local_runtime/proc_windows.go (+23 -0)
📝 internal/core/local_runtime/subprocess.go (+2 -0)

📄 Description

Description

Please provide a brief description of the changes made in this pull request.
Please also include the issue number if this is related to an issue using the format Fixes #123 or Closes #123.

fix #30740 https://github.com/langgenius/dify/issues/30740

add recover, make sure the process is killed

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Performance improvement
  • Other

Essential Checklist

Testing

  • I have tested the changes locally and confirmed they work as expected
  • I have added unit tests where necessary and they pass successfully

Bug Fix (if applicable)

  • I have used GitHub syntax to close the related issue (e.g., Fixes #123 or Closes #123)

Additional Information

Please provide any additional context that would help reviewers understand the changes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugin-daemon/pull/561 **Author:** [@fatelei](https://github.com/fatelei) **Created:** 1/8/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `issue-30740` --- ### 📝 Commits (1) - [`f46c536`](https://github.com/langgenius/dify-plugin-daemon/commit/f46c536552275eae0f81b2805ab586e5a0016315) feat: add recover, make sure the process is kill ### 📊 Changes **5 files changed** (+107 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `internal/core/local_runtime/instance.go` (+31 -16) ➕ `internal/core/local_runtime/proc_others.go` (+11 -0) ➕ `internal/core/local_runtime/proc_unix.go` (+40 -0) ➕ `internal/core/local_runtime/proc_windows.go` (+23 -0) 📝 `internal/core/local_runtime/subprocess.go` (+2 -0) </details> ### 📄 Description ## Description Please provide a brief description of the changes made in this pull request. Please also include the issue number if this is related to an issue using the format `Fixes #123` or `Closes #123`. fix #30740 https://github.com/langgenius/dify/issues/30740 add recover, make sure the process is killed ## Type of Change - [x] Bug fix - [ ] New feature - [ ] Refactor - [ ] Performance improvement - [ ] Other ## Essential Checklist ### Testing - [x] I have tested the changes locally and confirmed they work as expected - [ ] I have added unit tests where necessary and they pass successfully ### Bug Fix (if applicable) - [x] I have used GitHub syntax to close the related issue (e.g., `Fixes #123` or `Closes #123`) ## Additional Information Please provide any additional context that would help reviewers understand the changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 01:16:23 -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#582