[PR #549] [MERGED] fix PluginDaemonInternalServerError: no available node, plugin runtime not found #575

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/549
Author: @SongYippee
Created: 12/22/2025
Status: Merged
Merged: 12/22/2025
Merged by: @Yeuoly

Base: mainHead: fix_no_available_node_when_upgrade_plugin


📝 Commits (2)

  • 76efeb5 fix PluginDaemonInternalServerError: no available node, plugin runtime not found
  • f6e6d61 raise error if failed

📊 Changes

1 file changed (+7 additions, -1 deletions)

View changed files

📝 internal/types/models/curd/atomic.go (+7 -1)

📄 Description

Fix the bug where after a plugin is successfully upgraded, new requests result in the plugin daemon service responding with "no available node, plugin runtime not found".

The root cause is that when the plugin is upgraded successfully, the corresponding value in Redis is not updated. Consequently, when a new request arrives, it reads the outdated plugin version from Redis and fails to locate the correct runtime.

Description

Please provide a brief description of the changes made in this pull request.
Please also include the issue number if this is related to an issue using the format Fixes #123 or Closes #123.

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/549 **Author:** [@SongYippee](https://github.com/SongYippee) **Created:** 12/22/2025 **Status:** ✅ Merged **Merged:** 12/22/2025 **Merged by:** [@Yeuoly](https://github.com/Yeuoly) **Base:** `main` ← **Head:** `fix_no_available_node_when_upgrade_plugin` --- ### 📝 Commits (2) - [`76efeb5`](https://github.com/langgenius/dify-plugin-daemon/commit/76efeb5b3b86d24e836fb09df703c48bda350c51) fix PluginDaemonInternalServerError: no available node, plugin runtime not found - [`f6e6d61`](https://github.com/langgenius/dify-plugin-daemon/commit/f6e6d6124c8ea58de458b30cb0e4ee03fe760554) raise error if failed ### 📊 Changes **1 file changed** (+7 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `internal/types/models/curd/atomic.go` (+7 -1) </details> ### 📄 Description Fix the bug where after a plugin is successfully upgraded, new requests result in the plugin daemon service responding with "no available node, plugin runtime not found". The root cause is that when the plugin is upgraded successfully, the corresponding value in Redis is not updated. Consequently, when a new request arrives, it reads the outdated plugin version from Redis and fails to locate the correct runtime. ## Description Please provide a brief description of the changes made in this pull request. Please also include the issue number if this is related to an issue using the format `Fixes #123` or `Closes #123`. ## Type of Change - [x] Bug fix - [ ] New feature - [ ] Refactor - [ ] Performance improvement - [ ] Other ## Essential Checklist ### Testing - [x] I have tested the changes locally and confirmed they work as expected - [x] I have added unit tests where necessary and they pass successfully ### Bug Fix (if applicable) - [x] 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:22 -05:00
yindo closed this issue 2026-02-16 01:16: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#575