[PR #484] [CLOSED] fix: An exception in calling the plugin caused the coroutine pool to be full, triggering a 504 error #531

Closed
opened 2026-02-16 01:16:15 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/484
Author: @devenami
Created: 10/29/2025
Status: Closed

Base: mainHead: fix-plugin-runtime-error


📝 Commits (2)

  • b61796f fix: return error when invoke plugin failure
  • 00e97fe fix: remove duplicate log

📊 Changes

8 files changed (+21 additions, -18 deletions)

View changed files

📝 internal/cluster/plugin_test.go (+3 -1)
📝 internal/core/plugin_daemon/generic.go (+2 -2)
📝 internal/core/plugin_manager/debugging_runtime/io.go (+4 -3)
📝 internal/core/plugin_manager/local_runtime/io.go (+2 -2)
📝 internal/core/plugin_manager/serverless_runtime/io.go (+4 -6)
📝 internal/core/plugin_manager/watcher_test.go (+3 -1)
📝 internal/core/session_manager/session.go (+2 -2)
📝 pkg/entities/plugin_entities/runtime.go (+1 -1)

📄 Description

Description

return error when invoke plugin error

Fixes #483

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

more information link to #483


🔄 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/484 **Author:** [@devenami](https://github.com/devenami) **Created:** 10/29/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-plugin-runtime-error` --- ### 📝 Commits (2) - [`b61796f`](https://github.com/langgenius/dify-plugin-daemon/commit/b61796f1d71e318699ea7cb448846a9cbf80b276) fix: return error when invoke plugin failure - [`00e97fe`](https://github.com/langgenius/dify-plugin-daemon/commit/00e97fed7226921862ccc826388e56da74a2fc9f) fix: remove duplicate log ### 📊 Changes **8 files changed** (+21 additions, -18 deletions) <details> <summary>View changed files</summary> 📝 `internal/cluster/plugin_test.go` (+3 -1) 📝 `internal/core/plugin_daemon/generic.go` (+2 -2) 📝 `internal/core/plugin_manager/debugging_runtime/io.go` (+4 -3) 📝 `internal/core/plugin_manager/local_runtime/io.go` (+2 -2) 📝 `internal/core/plugin_manager/serverless_runtime/io.go` (+4 -6) 📝 `internal/core/plugin_manager/watcher_test.go` (+3 -1) 📝 `internal/core/session_manager/session.go` (+2 -2) 📝 `pkg/entities/plugin_entities/runtime.go` (+1 -1) </details> ### 📄 Description ## Description return error when invoke plugin error Fixes #483 ## 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 - [x] 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 more information link to #483 --- <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:15 -05:00
yindo closed this issue 2026-02-16 01:16:15 -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#531