[PR #429] [CLOSED] fix: resolve concurrent map access panic in tool validation #501

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/429
Author: @41tair
Created: 8/26/2025
Status: Closed

Base: mainHead: 71cef04


📝 Commits (1)

  • 71cef04 fix: resolve concurrent map access panic in tool validation

📊 Changes

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

View changed files

📝 internal/core/plugin_daemon/tool_service.go (+14 -1)

📄 Description

Description

fix: resolve concurrent map access panic in tool validation

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/429 **Author:** [@41tair](https://github.com/41tair) **Created:** 8/26/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `71cef04` --- ### 📝 Commits (1) - [`71cef04`](https://github.com/langgenius/dify-plugin-daemon/commit/71cef04bfa090c0e5400b1adec2cdb61ecca8c93) fix: resolve concurrent map access panic in tool validation ### 📊 Changes **1 file changed** (+14 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `internal/core/plugin_daemon/tool_service.go` (+14 -1) </details> ### 📄 Description ## Description fix: resolve concurrent map access panic in tool validation ## 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) - [ ] 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:09 -05:00
yindo closed this issue 2026-02-16 01:16:09 -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#501