fix: fix remote debug can not redirect#761
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the NeedRedirecting method in PluginManager to handle remote-like plugin identities by checking their runtime status via the control panel. The review feedback points out that propagating the error when a plugin runtime is not found could mislead callers into treating it as an execution failure. It is recommended to explicitly handle controlpanel.ErrPluginRuntimeNotFound and return true, nil to properly trigger redirection.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Description
because platform is a global config, so it will affect the remote debug plugin
Type of Change
Essential Checklist
Testing
Bug Fix (if applicable)
Fixes #123orCloses #123)Additional Information
Please provide any additional context that would help reviewers understand the changes.