[PR #501] [MERGED] Refine install task orchestration #540

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/501
Author: @Yeuoly
Created: 11/9/2025
Status: Merged
Merged: 11/9/2025
Merged by: @Yeuoly

Base: refactor/local-runtimeHead: codex/refactor-service-layer-based-on-provided-plan


📝 Commits (1)

  • 681736f Refine install task orchestration

📊 Changes

2 files changed (+409 additions, -140 deletions)

View changed files

📝 internal/core/plugin_manager/getter.go (+12 -0)
📝 internal/service/install_plugin.go (+397 -140)

📄 Description

Summary

  • replace mirrored install task tracking with a registry that treats tenant and global tasks uniformly
  • install plugins for every resolved tenant, including global references, using shared helpers for synchronous and async flows
  • update plugin reinstall streaming to use the unified task registry helpers

Testing

  • go test ./... (fails: internal/core/license/private_key/key.go:5:12: pattern PRIVATE_KEY.pem: no matching files found)

Codex Task


🔄 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/501 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 11/9/2025 **Status:** ✅ Merged **Merged:** 11/9/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `refactor/local-runtime` ← **Head:** `codex/refactor-service-layer-based-on-provided-plan` --- ### 📝 Commits (1) - [`681736f`](https://github.com/langgenius/dify-plugin-daemon/commit/681736fce30627ced89663f611eaefdae8723628) Refine install task orchestration ### 📊 Changes **2 files changed** (+409 additions, -140 deletions) <details> <summary>View changed files</summary> 📝 `internal/core/plugin_manager/getter.go` (+12 -0) 📝 `internal/service/install_plugin.go` (+397 -140) </details> ### 📄 Description ## Summary - replace mirrored install task tracking with a registry that treats tenant and global tasks uniformly - install plugins for every resolved tenant, including global references, using shared helpers for synchronous and async flows - update plugin reinstall streaming to use the unified task registry helpers ## Testing - go test ./... *(fails: internal/core/license/private_key/key.go:5:12: pattern PRIVATE_KEY.pem: no matching files found)* ------ [Codex Task](https://chatgpt.com/codex/tasks/task_b_690dc3fb75808326bdd61e558b8e8245) --- <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:16 -05:00
yindo closed this issue 2026-02-16 01:16:16 -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#540