[PR #54] [MERGED] feat: add Python plugin pre-compilation and update plugin upgrade logic #282

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/54
Author: @Yeuoly
Created: 3/4/2025
Status: Merged
Merged: 3/4/2025
Merged by: @Yeuoly

Base: mainHead: enhance/increase-installing-process


📝 Commits (2)

  • 7fb417a feat: add Python plugin pre-compilation and update plugin upgrade logic
  • 79f087c refactor: update plugin installation deletion to use PluginID consistently

📊 Changes

2 files changed (+94 additions, -15 deletions)

View changed files

📝 internal/core/plugin_manager/local_runtime/environment_python.go (+82 -0)
📝 internal/types/models/curd/atomic.go (+12 -15)

📄 Description

This commit introduces two main changes:

  1. Pre-compilation of Python plugins during environment initialization to improve initial runtime performance
  2. Updated plugin upgrade logic to use PluginID instead of string identifier for agent strategy installation

🔄 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/54 **Author:** [@Yeuoly](https://github.com/Yeuoly) **Created:** 3/4/2025 **Status:** ✅ Merged **Merged:** 3/4/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `enhance/increase-installing-process` --- ### 📝 Commits (2) - [`7fb417a`](https://github.com/langgenius/dify-plugin-daemon/commit/7fb417afbe7bbdbd0ee43b3f61b23091ecbf1370) feat: add Python plugin pre-compilation and update plugin upgrade logic - [`79f087c`](https://github.com/langgenius/dify-plugin-daemon/commit/79f087c926cbce950e39995f664e5b445dad4648) refactor: update plugin installation deletion to use PluginID consistently ### 📊 Changes **2 files changed** (+94 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `internal/core/plugin_manager/local_runtime/environment_python.go` (+82 -0) 📝 `internal/types/models/curd/atomic.go` (+12 -15) </details> ### 📄 Description This commit introduces two main changes: 1. Pre-compilation of Python plugins during environment initialization to improve initial runtime performance 2. Updated plugin upgrade logic to use PluginID instead of string identifier for agent strategy installation --- <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:15:22 -05:00
yindo closed this issue 2026-02-16 01:15:22 -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#282