[PR #470] [MERGED] fix(plugin): support customized stdio buffer size, align serverless runtime with local runtime #528

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/470
Author: @TonloOO
Created: 9/30/2025
Status: Merged
Merged: 10/15/2025
Merged by: @Yeuoly

Base: mainHead: fix/support-customized-stdio-buffer


📝 Commits (5)

  • 54ebdbe fix(plugin): support customized stdio buffer size, align serverless runtime with local runtime
  • 26c00be fix(plugin): update config naming to pluginRuntimeBufferSize & pluginRuntimeMaxBufferSize, and keep the compatibility to stdoutBufferSize
  • b9fb82a fix: provide a default value for PLUGIN_RUNTIME_BUFFER_SIZE & PLUGIN_RUNTIME_MAX_BUFFER_SIZE
  • 3ac4219 fix: remove redundant logic
  • 5bae74b fix: add compatibility to PLUGIN_STDIO_BUFFER_SIZE & PLUGIN_STDIO_MAX_BUFFER_SIZE

📊 Changes

6 files changed (+38 additions, -7 deletions)

View changed files

📝 .env.example (+5 -1)
📝 internal/core/plugin_manager/launcher.go (+2 -2)
📝 internal/core/plugin_manager/serverless.go (+4 -2)
📝 internal/core/plugin_manager/serverless_runtime/io.go (+1 -2)
📝 internal/core/plugin_manager/serverless_runtime/type.go (+3 -0)
📝 internal/types/app/config.go (+23 -0)

📄 Description

Description

support customized stdio buffer size, align serverless runtime with local runtime

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

Please provide any additional context that would help reviewers understand the changes.


🔄 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/470 **Author:** [@TonloOO](https://github.com/TonloOO) **Created:** 9/30/2025 **Status:** ✅ Merged **Merged:** 10/15/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `fix/support-customized-stdio-buffer` --- ### 📝 Commits (5) - [`54ebdbe`](https://github.com/langgenius/dify-plugin-daemon/commit/54ebdbe8ef644c1a4f4c1af19830d63dbc0c1e4e) fix(plugin): support customized stdio buffer size, align serverless runtime with local runtime - [`26c00be`](https://github.com/langgenius/dify-plugin-daemon/commit/26c00be0079cbc55042654da8111078e057da348) fix(plugin): update config naming to pluginRuntimeBufferSize & pluginRuntimeMaxBufferSize, and keep the compatibility to stdoutBufferSize - [`b9fb82a`](https://github.com/langgenius/dify-plugin-daemon/commit/b9fb82a4ac20af0569b52db38f7169b2c4e1996b) fix: provide a default value for PLUGIN_RUNTIME_BUFFER_SIZE & PLUGIN_RUNTIME_MAX_BUFFER_SIZE - [`3ac4219`](https://github.com/langgenius/dify-plugin-daemon/commit/3ac42193bee43f5e2057475808c013ea01732e44) fix: remove redundant logic - [`5bae74b`](https://github.com/langgenius/dify-plugin-daemon/commit/5bae74b45959dc4c56bc13349d7697b4a11f0e6e) fix: add compatibility to PLUGIN_STDIO_BUFFER_SIZE & PLUGIN_STDIO_MAX_BUFFER_SIZE ### 📊 Changes **6 files changed** (+38 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `.env.example` (+5 -1) 📝 `internal/core/plugin_manager/launcher.go` (+2 -2) 📝 `internal/core/plugin_manager/serverless.go` (+4 -2) 📝 `internal/core/plugin_manager/serverless_runtime/io.go` (+1 -2) 📝 `internal/core/plugin_manager/serverless_runtime/type.go` (+3 -0) 📝 `internal/types/app/config.go` (+23 -0) </details> ### 📄 Description ## Description support customized stdio buffer size, align serverless runtime with local runtime ## Type of Change - [x] 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 Please provide any additional context that would help reviewers understand the changes. --- <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:14 -05:00
yindo closed this issue 2026-02-16 01:16:14 -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#528