Repository navigation
Let perf-triage run against a local checkout of the perf plugin - #7708
Open
suhaibmujahid wants to merge 2 commits into
Open
suhaibmujahid wants to merge 2 commits into
suhaibmujahid wants to merge 2 commits into
Conversation
suhaibmujahid
force-pushed
the
perf-plugin/local-override
branch
from
November 29, 2026 19:00
928aaf8 to
99c7239
Compare
There was a problem hiding this comment.
🟡 Changes recommended
The tests no longer cover a plugin with SKILL.md but no data/top_sites.json, leaving the shared validator’s rankings requirement without regression protection.
1 open issue
What changed in this PR
Adds an opt-in local perf plugin override so perf-triage can try skill changes without rebuilding the image or changing the pinned plugin.
Changes:
- Mounts a host checkout through
PERF_PLUGIN_LOCAL_DIR, retaining the baked-in plugin by default. - Validates and caches the selected plugin, rejecting invalid explicit overrides.
- Documents the workflow and updates plugin-selection and Compose tests.
| File | Description |
|---|---|
agents/perf-triage/tests/test_plugin.py |
Tests local selection, invalid overrides, and cached selection. |
agents/perf-triage/tests/test_compose_env.py |
Checks the local mount and environment passthrough. |
agents/perf-triage/tests/conftest.py |
Isolates plugin selection and environment settings. |
agents/perf-triage/README.md |
Documents the local checkout workflow and variable. |
agents/perf-triage/hackbot_agents/perf_triage/plugin.py |
Selects, validates, and caches the plugin path. |
agents/perf-triage/compose.yml |
Adds the read-only local mount and opt-in variable. |
Review effort: Balanced
pslawless
reviewed
Nov 30, 2026
pslawless
approved these changes
Nov 30, 2026
pslawless
left a comment
Contributor
There was a problem hiding this comment.
Left comment about 1 test that was removed, but overall LGTM
Setting PERF_PLUGIN_LOCAL_DIR to an internal-aidev-plugins checkout's plugins/perf mounts it at /plugins-local/perf, and plugin.py then uses it instead of the baked-in plugin, to try a skill change without pinning it or rebuilding. Unset, compose mounts an empty placeholder that plugin.py never reads. An explicit choice that is not the plugin stops the run.
suhaibmujahid
force-pushed
the
perf-plugin/local-override
branch
from
December 3, 2026 00:25
99c7239 to
6f666e2
Compare
suhaibmujahid
force-pushed
the
perf-plugin/local-override
branch
from
December 3, 2026 00:36
92b47e5 to
bde4421
Compare
suhaibmujahid
enabled stacked auto-merge (squash)
December 3, 2026 00:40
This branch has not been deployed
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.

Part of #7610
Setting PERF_PLUGIN_LOCAL_DIR to an internal-aidev-plugins checkout's
plugins/perf mounts it at /plugins-local/perf, and plugin.py then uses it
instead of the baked-in plugin, to try a skill change without pinning it
or rebuilding. Unset, compose mounts an empty placeholder that plugin.py
never reads. An explicit choice that is not the plugin stops the run.
Stack created with GitHub Stacks CLI • Give Feedback 💬