[PR #510] [MERGED] enterprise related adjustment #551

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/510
Author: @wylswz
Created: 11/25/2025
Status: Merged
Merged: 12/3/2025
Merged by: @wylswz

Base: mainHead: fix/global-ref


📝 Commits (8)

📊 Changes

12 files changed (+118 additions, -112 deletions)

View changed files

📝 internal/core/control_panel/launcher_local.go (+1 -0)
📝 internal/core/plugin_manager/installer.go (+18 -0)
📝 internal/server/controllers/plugins.go (+17 -9)
📝 internal/server/http_server.go (+1 -0)
📝 internal/server/server.go (+1 -0)
📝 internal/service/install_plugin.go (+2 -51)
internal/service/install_plugin_enterprise.go (+0 -16)
📝 internal/service/manage_plugin.go (+13 -0)
📝 internal/tasks/recycle.go (+65 -0)
📝 internal/types/app/config.go (+0 -4)
📝 internal/types/models/curd/atomic.go (+0 -26)
📝 pkg/entities/constants/identity.go (+0 -6)

📄 Description

Description

  • Implicit logics of global tenant may break some semantics, thus removed.
  • Add an API to change endpoint of serverless runtime, in order to support rollback if reinstalled instance is problematic
  • Added a scanner that scans timeout tasks

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/510 **Author:** [@wylswz](https://github.com/wylswz) **Created:** 11/25/2025 **Status:** ✅ Merged **Merged:** 12/3/2025 **Merged by:** [@wylswz](https://github.com/wylswz) **Base:** `main` ← **Head:** `fix/global-ref` --- ### 📝 Commits (8) - [`39a3833`](https://github.com/langgenius/dify-plugin-daemon/commit/39a38333ef9198ed3e8403279a3cbf7b5ef9e4c4) remove enterprise logics - [`dcffd32`](https://github.com/langgenius/dify-plugin-daemon/commit/dcffd3240637eb4adaa99e8e985c6113d7f3f515) release lock if runtime already installed - [`985a1ff`](https://github.com/langgenius/dify-plugin-daemon/commit/985a1ff61df0ee7032d4329d6a378c92b635d5c3) support setting serverless endpoint by api - [`a2824ff`](https://github.com/langgenius/dify-plugin-daemon/commit/a2824ff243cde000e53d0e71fdc0fcac85738788) remove global tenant id totally - [`fd15e5e`](https://github.com/langgenius/dify-plugin-daemon/commit/fd15e5e7a62a02f39884df66b1dd905133a177f9) scan timeout tasks - [`a1e2a91`](https://github.com/langgenius/dify-plugin-daemon/commit/a1e2a91f5bdc413b99a55a1c879064eca9c009ea) adding comments - [`4e69a25`](https://github.com/langgenius/dify-plugin-daemon/commit/4e69a2568775fdc9318c49e75c69abc0181df909) use index in loop - [`c73eff4`](https://github.com/langgenius/dify-plugin-daemon/commit/c73eff4769dff147cdd0a5fa454cef8fe5e5feeb) add log ### 📊 Changes **12 files changed** (+118 additions, -112 deletions) <details> <summary>View changed files</summary> 📝 `internal/core/control_panel/launcher_local.go` (+1 -0) 📝 `internal/core/plugin_manager/installer.go` (+18 -0) 📝 `internal/server/controllers/plugins.go` (+17 -9) 📝 `internal/server/http_server.go` (+1 -0) 📝 `internal/server/server.go` (+1 -0) 📝 `internal/service/install_plugin.go` (+2 -51) ➖ `internal/service/install_plugin_enterprise.go` (+0 -16) 📝 `internal/service/manage_plugin.go` (+13 -0) 📝 `internal/tasks/recycle.go` (+65 -0) 📝 `internal/types/app/config.go` (+0 -4) 📝 `internal/types/models/curd/atomic.go` (+0 -26) 📝 `pkg/entities/constants/identity.go` (+0 -6) </details> ### 📄 Description ## Description - Implicit logics of global tenant may break some semantics, thus removed. - Add an API to change endpoint of serverless runtime, in order to support rollback if reinstalled instance is problematic - Added a scanner that scans timeout tasks ## 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. --- <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#551