[PR #267] [CLOSED] feat: allow skipping local plugin precompilation #412

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/267
Author: @bowenliang123
Created: 5/8/2025
Status: Closed

Base: mainHead: skip-precompile


📝 Commits (5)

📊 Changes

5 files changed (+41 additions, -19 deletions)

View changed files

📝 internal/core/plugin_manager/launcher.go (+1 -0)
📝 internal/core/plugin_manager/local_runtime/environment_python.go (+29 -19)
📝 internal/core/plugin_manager/local_runtime/type.go (+4 -0)
📝 internal/core/plugin_manager/manager.go (+4 -0)
📝 internal/types/app/config.go (+3 -0)

📄 Description

  • add PLUGIN_SKIP_PRECOMPILATION config to allow skip Python plugin precompilation, which is handy to speed up local plugin launching by skip the overhead time cost in pre-compiling all the Python scripts and their dependencies in each plugin

🔄 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/267 **Author:** [@bowenliang123](https://github.com/bowenliang123) **Created:** 5/8/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `skip-precompile` --- ### 📝 Commits (5) - [`1eb1693`](https://github.com/langgenius/dify-plugin-daemon/commit/1eb169345217bbb0b6ddf34abbe65c5a9085b254) extract precompilePlugin func - [`fffb9e7`](https://github.com/langgenius/dify-plugin-daemon/commit/fffb9e7fcd282d8266005b05167caee6e7d4213b) add SkipPrecompilation config - [`466e0f2`](https://github.com/langgenius/dify-plugin-daemon/commit/466e0f2795c77610699ad2fcd098db463f9a482c) move to outter - [`17dfff4`](https://github.com/langgenius/dify-plugin-daemon/commit/17dfff4ac8e29cd7b13f5e3c6742a67225bfa3e4) fix test - [`47a3784`](https://github.com/langgenius/dify-plugin-daemon/commit/47a3784bb6c17ee49f28c863dfff765b5c5dc340) update config name ### 📊 Changes **5 files changed** (+41 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `internal/core/plugin_manager/launcher.go` (+1 -0) 📝 `internal/core/plugin_manager/local_runtime/environment_python.go` (+29 -19) 📝 `internal/core/plugin_manager/local_runtime/type.go` (+4 -0) 📝 `internal/core/plugin_manager/manager.go` (+4 -0) 📝 `internal/types/app/config.go` (+3 -0) </details> ### 📄 Description - add `PLUGIN_SKIP_PRECOMPILATION` config to allow skip Python plugin precompilation, which is handy to speed up local plugin launching by skip the overhead time cost in pre-compiling all the Python scripts and their dependencies in each plugin --- <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:53 -05:00
yindo closed this issue 2026-02-16 01:15:53 -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#412