[FIX][PLUGINS]: Allow external plugins to be tested without symbolic link and config hack#3022
Merged
crivetimihai merged 2 commits intoIBM:mainfrom Feb 20, 2026
Conversation
crivetimihai
previously approved these changes
Feb 19, 2026
Member
crivetimihai
left a comment
There was a problem hiding this comment.
Makes sense — plugin_config.hooks contains the raw config hook type enums, while plugin_ref.hooks contains the actual loaded hook references. Using the plugin ref ensures external plugins without symlinks can be profiled correctly.
… hack Signed-off-by: habeck <habeck@us.ibm.com>
Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>
8d11908 to
bc56c02
Compare
Member
Review ChangesRebased onto Triage
Fixes
Notes
@tedhabeck — please review the changes and let me know if anything looks off. |
vishu-bh
pushed a commit
that referenced
this pull request
Feb 24, 2026
…link and config hack (#3022) * fix: allow external plugins to be tested w/o symbolic link and config hack Signed-off-by: habeck <habeck@us.ibm.com> * fix: add None check for get_plugin return value in performance profiler Signed-off-by: Mihai Criveti <crivetimihai@gmail.com> --------- Signed-off-by: habeck <habeck@us.ibm.com> Signed-off-by: Mihai Criveti <crivetimihai@gmail.com> Co-authored-by: Mihai Criveti <crivetimihai@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 Related Issue
Closes #
📝 Summary
Previously, running performance benchmarks on external plugins required soft linking the external plugin's plugin-manifest.yaml folder to the project root, and adding the plugins spec from resources/plugins/config.yaml to tests/performance/plugins/config.yaml. This process was counter-intuitive and inconsistent with how external plugins are registered.
External plugins can now be registered in
tests/performance/plugins/config.yamlthe same way they are registered inplugins/config.yamlE.g. for the LLMGuardPlugin:
🏷️ Type of Change
🧪 Verification
make lintmake testmake coverage✅ Checklist
make black isort pre-commit)📓 Notes (optional)
Screenshots, design decisions, or additional context.