[PR #515] [MERGED] fix: remote debug not work #554

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/515
Author: @hjlarry
Created: 11/30/2025
Status: Merged
Merged: 12/2/2025
Merged by: @Yeuoly

Base: mainHead: p13


📝 Commits (1)

  • 96f9967 fix: remote debug not work

📊 Changes

2 files changed (+27 additions, -9 deletions)

View changed files

📝 internal/core/plugin_manager/manager.go (+3 -1)
📝 internal/service/install_service/controlpanel.go (+24 -8)

📄 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.

After the refactoring, when you remotely debug a plugin, it will not display on the plugin page.

It seems that the /plugin/.../management/list only reads plugins from the database, but the InstallListener is not mounted by the ControlPanel. As a result, it will not write plugin data to the database, so it will not function properly.

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/515 **Author:** [@hjlarry](https://github.com/hjlarry) **Created:** 11/30/2025 **Status:** ✅ Merged **Merged:** 12/2/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `p13` --- ### 📝 Commits (1) - [`96f9967`](https://github.com/langgenius/dify-plugin-daemon/commit/96f99671cfd2853dd1199cdf778c977fdd4256b5) fix: remote debug not work ### 📊 Changes **2 files changed** (+27 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `internal/core/plugin_manager/manager.go` (+3 -1) 📝 `internal/service/install_service/controlpanel.go` (+24 -8) </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`. After the refactoring, when you remotely debug a plugin, it will not display on the plugin page. It seems that the `/plugin/.../management/list` only reads plugins from the database, but the `InstallListener` is not mounted by the `ControlPanel`. As a result, it will not write plugin data to the database, so it will not function properly. ## 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) - [ ] 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:18 -05:00
yindo closed this issue 2026-02-16 01:16:18 -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#554