[PR #440] [MERGED] feat: support orphan plugin #507

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/440
Author: @wylswz
Created: 9/2/2025
Status: Merged
Merged: 9/12/2025
Merged by: @wylswz

Base: mainHead: feat/orphan-plugin


📝 Commits (3)

  • a506b91 support orphan plugin in serverless mode
  • ce7be9c add validation to UpgradePlugin
  • 23eba4c log reinstalls

📊 Changes

8 files changed (+334 additions, -173 deletions)

View changed files

📝 internal/server/controllers/plugins.go (+9 -0)
📝 internal/server/server.go (+3 -0)
📝 internal/service/install_plugin.go (+267 -168)
📝 internal/types/app/config.go (+7 -0)
📝 internal/types/models/curd/atomic.go (+28 -5)
internal/types/models/curd/init.go (+11 -0)
📝 internal/types/models/plugin.go (+2 -0)
pkg/entities/constants/identity.go (+7 -0)

📄 Description

Description

  • Allows installing plugin runtime without associating it with any tenant.
  • Reinstall now generates tasks just like standard installations, so that the logs are visible from management console.

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


🔄 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/440 **Author:** [@wylswz](https://github.com/wylswz) **Created:** 9/2/2025 **Status:** ✅ Merged **Merged:** 9/12/2025 **Merged by:** [@wylswz](https://github.com/wylswz) **Base:** `main` ← **Head:** `feat/orphan-plugin` --- ### 📝 Commits (3) - [`a506b91`](https://github.com/langgenius/dify-plugin-daemon/commit/a506b9178d36f5ab7d48e3fdb06275c48a8621b6) support orphan plugin in serverless mode - [`ce7be9c`](https://github.com/langgenius/dify-plugin-daemon/commit/ce7be9cbaaacda77fb8f3002f792ef3c7797219d) add validation to UpgradePlugin - [`23eba4c`](https://github.com/langgenius/dify-plugin-daemon/commit/23eba4ce4e189f4776800528bde60f7b099c9044) log reinstalls ### 📊 Changes **8 files changed** (+334 additions, -173 deletions) <details> <summary>View changed files</summary> 📝 `internal/server/controllers/plugins.go` (+9 -0) 📝 `internal/server/server.go` (+3 -0) 📝 `internal/service/install_plugin.go` (+267 -168) 📝 `internal/types/app/config.go` (+7 -0) 📝 `internal/types/models/curd/atomic.go` (+28 -5) ➕ `internal/types/models/curd/init.go` (+11 -0) 📝 `internal/types/models/plugin.go` (+2 -0) ➕ `pkg/entities/constants/identity.go` (+7 -0) </details> ### 📄 Description ## Description - Allows installing plugin runtime without associating it with any tenant. - Reinstall now generates tasks just like standard installations, so that the logs are visible from management console. ## Type of Change - [ ] Bug fix - [x] 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 --- <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:10 -05:00
yindo closed this issue 2026-02-16 01:16:10 -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#507