Set CLAUDE_PLUGIN_ROOT for review-agent CI job#74539
Set CLAUDE_PLUGIN_ROOT for review-agent CI job#74539openshift-merge-bot[bot] merged 1 commit intoopenshift:masterfrom
Conversation
The address-reviews command now uses ${CLAUDE_PLUGIN_ROOT}/scripts/check_replied.py
to locate a helper script. Export CLAUDE_PLUGIN_ROOT pointing to the utils plugin
directory after cloning ai-helpers so the script path resolves correctly in CI.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
[REHEARSALNOTIFIER]
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals. Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bryan-cox, celebdor The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/pj-rehearse periodic-ci-openshift-hypershift-main-periodic-review-agent |
|
@bryan-cox: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
/pj-rehearse ack |
|
@bryan-cox: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@bryan-cox: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
The address-reviews command now uses ${CLAUDE_PLUGIN_ROOT}/scripts/check_replied.py
to locate a helper script. Export CLAUDE_PLUGIN_ROOT pointing to the utils plugin
directory after cloning ai-helpers so the script path resolves correctly in CI.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
The address-reviews command now uses ${CLAUDE_PLUGIN_ROOT}/scripts/check_replied.py
to locate a helper script. Export CLAUDE_PLUGIN_ROOT pointing to the utils plugin
directory after cloning ai-helpers so the script path resolves correctly in CI.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Summary
CLAUDE_PLUGIN_ROOTenvironment variable after cloning ai-helpers so theaddress-reviewscommand can locate helper scripts (e.g.,check_replied.py) at runtimeaddress-reviewsto useCLAUDE_PLUGIN_ROOTfor path resolution instead of hardcoded pathsContext
The
address-reviewscommand usescheck_replied.pyto prevent duplicate replies. The CI job clones ai-helpers to/tmp/ai-helpersand feeds the command markdown as--system-prompt— it doesn't use the Claude Code plugin system. SettingCLAUDE_PLUGIN_ROOT=/tmp/ai-helpers/plugins/utilsensures the script is found when the agent runs the duplicate check.Test plan
check_replied.pysuccessfully🤖 Generated with Claude Code