review-agent: switch hypershift workflow to app auth with correct fork#82380
Conversation
WalkthroughThe HyperShift review-agent workflow changes from PAT-based authentication with a fork organization to app-based authentication with an explicit fork repository URL. ChangesHyperShift Review Agent
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
this was left inconsistent when enabling pat support in the installer. JIRA_AGENT_FORK_REPO: "hypershift-community/hypershift" then we can rehearsal against openshift/hypershift#9086 to prove it |
The hypershift review-agent workflow was using PAT auth mode with the jira-solve-bot fork, but the review agent's GitHub App is installed on hypershift-community. Switch to app auth mode and set the fork repo to hypershift-community/hypershift to match the actual configuration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
086ad3b to
912dca4
Compare
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@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. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bryan-cox, enxebre 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 skip I'll check it after this merges. |
|
@bryan-cox: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
Summary
jira-solve-bot) to app auth (hypershift-community/hypershift)hypershift-community, notjira-solve-botRoot cause:
REVIEW_AGENT_AUTH_MODEwas set topatwithREVIEW_AGENT_FORK_ORG: jira-solve-bot, but the PR branch lived onhypershift-community/hypershift, causingfatal: couldn't find remote refduring checkout.Failed run: https://prow.ci.openshift.org/view/gs/test-platform-results/logs/periodic-ci-openshift-hypershift-main-periodic-review-agent/2080388818413817856
Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit
Updates HyperShift’s review-agent workflow to use app authentication and the
hypershift-community/hypershiftrepository as the review-agent fork, replacing the previous PAT-based configuration and fork organization setting.