[PR #481] [MERGED] fix(manager): remove stale plugins with missing directories #3330

Closed
opened 2026-07-15 02:02:19 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/481
Author: @anhkhoakz
Created: 6/22/2026
Status: Merged
Merged: 6/27/2026
Merged by: @gschier

Base: mainHead: fix/handle-missing-directory


📝 Commits (3)

  • 53c1129 fix(manager): remove stale plugins with missing directories
  • 03ff602 fix(manager): keep missing plugins manageable
  • 27e9a66 Merge branch 'main' into fix/handle-missing-directory

📊 Changes

3 files changed (+51 additions, -6 deletions)

View changed files

📝 apps/yaak-client/lib/initGlobalListeners.tsx (+13 -0)
📝 crates-tauri/yaak-app-client/src/lib.rs (+29 -4)
📝 crates/yaak-plugins/src/install.rs (+9 -2)

📄 Description

Summary

Even the plugin directory missing, Yaak plugin manager still count it and try to exec it. Causing this error Failed to load plugin "yaak-plugin": IO error: No such file or directory (os error 2)

Submission

  • This PR is a bug fix or small-scope improvement.
  • If this PR is not a bug fix or small-scope improvement, I linked an approved feedback item below.
  • I have read and followed CONTRIBUTING.md.
  • I tested this change locally.
  • I added or updated tests when reasonable.

Approved feedback item (required if not a bug fix or small-scope improvement):


🔄 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/mountain-loop/yaak/pull/481 **Author:** [@anhkhoakz](https://github.com/anhkhoakz) **Created:** 6/22/2026 **Status:** ✅ Merged **Merged:** 6/27/2026 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `fix/handle-missing-directory` --- ### 📝 Commits (3) - [`53c1129`](https://github.com/mountain-loop/yaak/commit/53c1129d4e0710486301c959daa1256f895c557d) fix(manager): remove stale plugins with missing directories - [`03ff602`](https://github.com/mountain-loop/yaak/commit/03ff602db1d6cab39ddd2bb81627e2c0f6982ed9) fix(manager): keep missing plugins manageable - [`27e9a66`](https://github.com/mountain-loop/yaak/commit/27e9a669e1c6ec3e173623a9009b1d93926e47cd) Merge branch 'main' into fix/handle-missing-directory ### 📊 Changes **3 files changed** (+51 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `apps/yaak-client/lib/initGlobalListeners.tsx` (+13 -0) 📝 `crates-tauri/yaak-app-client/src/lib.rs` (+29 -4) 📝 `crates/yaak-plugins/src/install.rs` (+9 -2) </details> ### 📄 Description ## Summary Even the plugin directory missing, Yaak plugin manager still count it and try to exec it. Causing this error `Failed to load plugin "yaak-plugin": IO error: No such file or directory (os error 2)` ## Submission - [x] This PR is a bug fix or small-scope improvement. - [x] If this PR is not a bug fix or small-scope improvement, I linked an approved feedback item below. - [x] I have read and followed [`CONTRIBUTING.md`](CONTRIBUTING.md). - [x] I tested this change locally. - [ ] I added or updated tests when reasonable. Approved feedback item (required if not a bug fix or small-scope improvement): <!-- https://yaak.app/feedback/... --> ## Related <!-- Link related issues, discussions, or feedback items. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-07-15 02:02:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/yaak#3330