Skip to content

Conversation

@7HR4IZ3
Copy link

@7HR4IZ3 7HR4IZ3 commented Aug 27, 2025

Introduce callbacks for plugin loading and completion, along with a mechanism to track installed plugins. This enhances the plugin management system by allowing asynchronous handling of plugin states.

Copy link
Member

@bajrangCoder bajrangCoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good but make sure to handle failed or broken plugin cases

For formatting run : pnpm run check

@sebastianjnuwu
Copy link
Contributor

?

@7HR4IZ3
Copy link
Author

7HR4IZ3 commented Dec 28, 2025

Sorry about the late reply, forgot about this (wanted to use this feature in a plugin but I found a workaround)

Updated the code, and ran the linter

@7HR4IZ3
Copy link
Author

7HR4IZ3 commented Dec 28, 2025

/gemini review

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces a more robust plugin loading system with callbacks, tracking for installed and broken plugins, and loading timeouts. These are excellent additions that will improve the stability and user experience of the plugin system. I've identified one high-severity issue related to a potential memory leak in the plugin watcher cleanup and one medium-severity issue where code can be simplified. Overall, this is a valuable enhancement.

7HR4IZ3 and others added 2 commits December 28, 2025 02:52
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants