GitLab reviewer and refiner never post on a local Agent Server
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 76/100
Hướng nghiên cứu
Bắt đầu với _remove_checkout() trong skills/gitlab-mr-reviewer/scripts/common.py và so sánh hành vi của nó với _release_checkout() trong đường dẫn mã gitlab-issue-to-mr, vốn theo issue đã ghi log và tiếp tục. Kiểm tra cách xử lý các đường dẫn nằm ngoài WORKSPACE_BASE hiện tại, sau đó xác minh rằng việc bỏ qua checkout như vậy sẽ giữ nó trên đĩa, đồng thời cho phép tiếp tục ghi chú và cập nhật bản ghi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happens
On a local Agent Canvas, the GitLab MR reviewer starts a review, the review conversation finishes, but the review note is never posted to the merge request. The work item refiner shares the same code path, so its notes don't appear either.
Cause
On a local Agent Canvas each automation run gets its own WORKSPACE_BASE (.../workspaces/automation-runs/<run-id>). The reviewer and refiner start a conversation in one run and publish its result in a later one.
When they publish, _remove_checkout() in skills/gitlab-mr-reviewer/scripts/common.py resolves the checkout root from the current run's WORKSPACE_BASE. The earlier run's checkout is outside that root, so it raises:
ValueError: Refusing to remove a workspace outside GitLab review checkouts
This happens before the note is posted and before the record is updated, so every later run fails the same way.
gitlab-issue-to-mr uses the same layout, but its _release_checkout() logs "Refusing to remove …" and continues.
Proposed fix
Do the same in _remove_checkout(): skip a path outside the current root with a warning instead of raising. Nothing outside the root is deleted. A checkout skipped this way stays on disk under its own run's directory.
Environment
Local Agent Canvas (Docker), openhands-agent-server 1.62.0, extensions main at cfd1d0f. Found together with #969.
- Ngôn ngữ chính
- Python
- Star
- 184
- Fork
- 137
- Merge trung bình
- 1 ngày 16 giờ
- Pull request đã merge (30 ngày)
- 60
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của OpenHands/extensions
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OpenHands/extensions#969 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add a `maven` skill: agents install Debian's `maven` package, which can't load plugins built for Java 17+Có thể đã có người làm @sumitvairagar đã nhận 1 ngày trước. Đang mởpriority:medium ready-for-dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
OpenHands/extensions#963 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-readiness-report: scan_build_env.sh misses lowercase `justfile` and `just` build commandsCó thể đã có người làm @austinchennn đã nhận hôm nay. Đang mởpriority:low ready-for-dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
OpenHands/extensions#955 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Update Slack MCP integration to Slack's official hosted MCP server (replace zencoderai/slack-mcp-server)Có thể đã có người làm @all-hands-bot đã nhận 13 ngày trước. Đang mởcustomer-support enhancement priority:medium ready-for-dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
OpenHands/extensions#900 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority:low ready-for-dev
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
OpenHands/extensions#887 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của OpenHands/extensions
Issue tương tự
-
documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 74/100
BrainLesion/BraTS#200 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
rl-institut/enetra#91 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
huggingface/datasets#9100 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
NVIDIA/garak#2486 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
O-X-L/ansible-opnsense#520 ·
Maintainer thường phản hồi trong vòng 2 ngày