Migrate PR review plugin to extensions repository#2324
Migrate PR review plugin to extensions repository#2324juanmichelini wants to merge 4 commits intomainfrom
Conversation
- Delete agent_script.py and prompt.py (now in extensions repo) - Update action.yml to load scripts from OpenHands/extensions - Change sdk-repo/sdk-version inputs to extensions-repo/extensions-version - Update README and workflow.yml to reflect new structure - Install openhands-sdk and openhands-tools from PyPI Related to #2282 Co-authored-by: openhands <openhands@all-hands.dev>
API breakage checks (Griffe)Result: Passed |
Agent server REST API breakage checks (OpenAPI)Result: Failed Log excerpt (first 1000 characters) |
|
@OpenHands actually we already have https://github.com/OpenHands/software-agent-sdk/blob/main/.github/workflows/pr-review-by-openhands.yml so let's remove .github/actions/pr-review/action.yml and instead make the example refer to .github/workflows/pr-review-by-openhands.yml |
|
I'm on it! juanmichelini can track my progress at all-hands.dev |
|
I have completed the migration of the PR review logic from a composite action to direct workflow steps, as requested. Summary of Changes:
The changes have been pushed to the |
|
@OpenHands that's better, but notice that ./03_github_workflows/02_pr_review/evaluate_review.py also lives in the extension repo now see https://github.com/OpenHands/extensions/tree/main/plugins/pr-review/workflows |
|
I'm on it! juanmichelini can track my progress at all-hands.dev |
|
I have completed the requested changes to migrate Changes Implemented:
The changes have been pushed to the |
This PR migrates the PR review plugin scripts from the SDK repository to the extensions repository, addressing issue #2282.
Changes
Deleted Files
examples/03_github_workflows/02_pr_review/agent_script.py- Now lives in extensions repoexamples/03_github_workflows/02_pr_review/prompt.py- Now lives in extensions repoexamples/03_github_workflows/02_pr_review/evaluate_review.py- Now lives in extensions repo.github/actions/pr-review/action.yml- Now lives in extensions repoexamples/03_github_workflows/02_pr_review/action.yml- Removed symlinkUpdated Files
Benefits
✅ Eliminates duplicate maintenance of PR review scripts across two repositories
✅ Allows downstream users to access the best-performing PR review plugins from extensions repo
✅ Cleaner separation of concerns - SDK for framework, extensions for plugins
Related Issues
Closes #2282
Testing
The updated workflows now:
agent_script.py,evaluate_review.py) from the extensions repositoryUsers can continue using the workflow by referencing this action, and it will automatically use the scripts from the extensions repository.
Agent Server images for this PR
• GHCR package: https://github.com/OpenHands/agent-sdk/pkgs/container/agent-server
Variants & Base Images
eclipse-temurin:17-jdknikolaik/python-nodejs:python3.13-nodejs22golang:1.21-bookwormPull (multi-arch manifest)
# Each variant is a multi-arch manifest supporting both amd64 and arm64 docker pull ghcr.io/openhands/agent-server:2d714b8-pythonRun
All tags pushed for this build
About Multi-Architecture Support
2d714b8-python) is a multi-arch manifest supporting both amd64 and arm642d714b8-python-amd64) are also available if needed