[PR #528] [MERGED] fix: add unique index for plugin installation to prevent duplicate #561

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-daemon/pull/528
Author: @Mairuis
Created: 12/10/2025
Status: Merged
Merged: 12/10/2025
Merged by: @Mairuis

Base: mainHead: fix/unique-index-for-plugin-installation


📝 Commits (1)

  • e8bc6de fix: add unique index for plugin installation to prevent duplicate entries

📊 Changes

2 files changed (+2 additions, -48 deletions)

View changed files

📝 internal/service/install_plugin.go (+0 -46)
📝 internal/types/models/installation.go (+2 -2)

📄 Description

…tries

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/528 **Author:** [@Mairuis](https://github.com/Mairuis) **Created:** 12/10/2025 **Status:** ✅ Merged **Merged:** 12/10/2025 **Merged by:** [@Mairuis](https://github.com/Mairuis) **Base:** `main` ← **Head:** `fix/unique-index-for-plugin-installation` --- ### 📝 Commits (1) - [`e8bc6de`](https://github.com/langgenius/dify-plugin-daemon/commit/e8bc6de20c78d02499c82d0fc9eb6923dc1fe74b) fix: add unique index for plugin installation to prevent duplicate entries ### 📊 Changes **2 files changed** (+2 additions, -48 deletions) <details> <summary>View changed files</summary> 📝 `internal/service/install_plugin.go` (+0 -46) 📝 `internal/types/models/installation.go` (+2 -2) </details> ### 📄 Description …tries ## 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) - [ ] 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:20 -05:00
yindo closed this issue 2026-02-16 01:16:20 -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#561