[PR #409] [MERGED] plugin-events: route model/find requests through shared handler #331

Closed
opened 2026-03-22 21:18:07 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/409
Author: @gschier
Created: 2/26/2026
Status: Merged
Merged: 2/28/2026
Merged by: @gschier

Base: mainHead: codex/plugin-events-shared-cleanup


📝 Commits (1)

  • 9ee6e93 plugin-events: move model/find handlers to shared path

📊 Changes

2 files changed (+258 additions, -92 deletions)

View changed files

📝 crates-tauri/yaak-app/src/plugin_events.rs (+3 -68)
📝 crates/yaak/src/plugin_events.rs (+255 -24)

📄 Description

Summary

  • move find_http_responses_request, upsert_model_request, and delete_model_request into shared plugin event handling
  • remove redundant host variants from HostRequest
  • delete now-dead app host match arms for those variants

Validation

  • cargo test -p yaak plugin_events -- --nocapture
  • cargo test -p yaak-cli plugin_events -- --nocapture
  • cargo check -p yaak-app

🔄 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/409 **Author:** [@gschier](https://github.com/gschier) **Created:** 2/26/2026 **Status:** ✅ Merged **Merged:** 2/28/2026 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `codex/plugin-events-shared-cleanup` --- ### 📝 Commits (1) - [`9ee6e93`](https://github.com/mountain-loop/yaak/commit/9ee6e936d8e25e96339f992fee88b5bbbecdce34) plugin-events: move model/find handlers to shared path ### 📊 Changes **2 files changed** (+258 additions, -92 deletions) <details> <summary>View changed files</summary> 📝 `crates-tauri/yaak-app/src/plugin_events.rs` (+3 -68) 📝 `crates/yaak/src/plugin_events.rs` (+255 -24) </details> ### 📄 Description ## Summary - move `find_http_responses_request`, `upsert_model_request`, and `delete_model_request` into shared plugin event handling - remove redundant host variants from `HostRequest` - delete now-dead app host match arms for those variants ## Validation - `cargo test -p yaak plugin_events -- --nocapture` - `cargo test -p yaak-cli plugin_events -- --nocapture` - `cargo check -p yaak-app` --- <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-03-22 21:18:07 -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#331