[PR #317] [MERGED] Feat: Replace the internal/oss module with dify-cloud-kit #443

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/317
Author: @41tair
Created: 5/29/2025
Status: Merged
Merged: 5/30/2025
Merged by: @41tair

Base: mainHead: feat/new-oss-lib


📝 Commits (4)

📊 Changes

24 files changed (+329 additions, -1591 deletions)

View changed files

📝 .env.example (+16 -0)
📝 go.mod (+53 -56)
📝 go.sum (+120 -205)
📝 internal/core/persistence/init.go (+2 -1)
📝 internal/core/persistence/persistence_test.go (+31 -5)
📝 internal/core/persistence/wrapper.go (+1 -1)
📝 internal/core/plugin_manager/debugging_runtime/server_test.go (+11 -3)
📝 internal/core/plugin_manager/manager.go (+1 -1)
📝 internal/core/plugin_manager/media_transport/assets_bucket.go (+1 -1)
📝 internal/core/plugin_manager/media_transport/installed_bucket.go (+2 -1)
📝 internal/core/plugin_manager/media_transport/package_bucket.go (+1 -1)
📝 internal/core/plugin_manager/watcher_test.go (+13 -2)
internal/oss/aliyun/aliyun_oss_storage.go (+0 -194)
internal/oss/azure/blob_storage.go (+0 -122)
internal/oss/gcs/gcs_storage.go (+0 -151)
internal/oss/gcs/gcs_storage_test.go (+0 -223)
internal/oss/gcs/main_test.go (+0 -34)
internal/oss/local/local_storage.go (+0 -104)
internal/oss/s3/s3_storage.go (+0 -184)
internal/oss/tencent_cos/tencent_cos_storage.go (+0 -165)

...and 4 more files

📄 Description

  1. for the better compatibility
  2. fix [PR #84] [MERGED] fix: improve Redis subscription error handling with logging and retry (#303)
  3. fix install plugin in cluster env, InitPythonEnvironment will delete .venv dir causing race conditions and failures (#221)

🔄 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/317 **Author:** [@41tair](https://github.com/41tair) **Created:** 5/29/2025 **Status:** ✅ Merged **Merged:** 5/30/2025 **Merged by:** [@41tair](https://github.com/41tair) **Base:** `main` ← **Head:** `feat/new-oss-lib` --- ### 📝 Commits (4) - [`83fd704`](https://github.com/langgenius/dify-plugin-daemon/commit/83fd7042d63f73cc88f017fae40011c5531eca05) replace internal oss with dify-cloud-kit - [`637a5b1`](https://github.com/langgenius/dify-plugin-daemon/commit/637a5b1036c530e534267b9439bec7642e35c5f4) remove validate - [`d178938`](https://github.com/langgenius/dify-plugin-daemon/commit/d1789387a77ede0f801373eb2c924fc1fa12214a) fix tests - [`5db2e43`](https://github.com/langgenius/dify-plugin-daemon/commit/5db2e430a78efdec6c521408318d36410d62e80b) fix tests ### 📊 Changes **24 files changed** (+329 additions, -1591 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+16 -0) 📝 `go.mod` (+53 -56) 📝 `go.sum` (+120 -205) 📝 `internal/core/persistence/init.go` (+2 -1) 📝 `internal/core/persistence/persistence_test.go` (+31 -5) 📝 `internal/core/persistence/wrapper.go` (+1 -1) 📝 `internal/core/plugin_manager/debugging_runtime/server_test.go` (+11 -3) 📝 `internal/core/plugin_manager/manager.go` (+1 -1) 📝 `internal/core/plugin_manager/media_transport/assets_bucket.go` (+1 -1) 📝 `internal/core/plugin_manager/media_transport/installed_bucket.go` (+2 -1) 📝 `internal/core/plugin_manager/media_transport/package_bucket.go` (+1 -1) 📝 `internal/core/plugin_manager/watcher_test.go` (+13 -2) ➖ `internal/oss/aliyun/aliyun_oss_storage.go` (+0 -194) ➖ `internal/oss/azure/blob_storage.go` (+0 -122) ➖ `internal/oss/gcs/gcs_storage.go` (+0 -151) ➖ `internal/oss/gcs/gcs_storage_test.go` (+0 -223) ➖ `internal/oss/gcs/main_test.go` (+0 -34) ➖ `internal/oss/local/local_storage.go` (+0 -104) ➖ `internal/oss/s3/s3_storage.go` (+0 -184) ➖ `internal/oss/tencent_cos/tencent_cos_storage.go` (+0 -165) _...and 4 more files_ </details> ### 📄 Description 1. for the better compatibility 2. fix #303 3. fix #221 --- <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:58 -05:00
yindo closed this issue 2026-02-16 01:15:58 -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#443