test(source-control): put the eval gh fixture on PATH without relying on zsh's .zshenv
Maintainer thường phản hồi trong vòng 1 ngày
Một pull request liên quan đã được merge.
- #7384 của @kyle-sexton — đã merge
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Start with plugins/source-control/evals/fixtures/gh-forge/install.sh and the case.yaml environment limits described in the issue; review the findings from #7164 and the runner capability options. The change depends on an upstream runner capability request and a kept-trace run on a bash-SHELL host. Done means ready cases reach gh pr ready through the stand-in and install.sh no longer writes ~/.zshenv.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Context
Follow-up to #7164 (#6997). The owner accepted zsh-only coverage for the offline gh fixture so that PR could merge; this issue tracks the shell-independent fix.
Problem
plugins/source-control/evals/fixtures/gh-forge/install.sh puts the stand-in gh on PATH only by appending an export to the run's ~/.zshenv. On a host whose SHELL is bash (a default CI runner, for example), the stand-in is never on PATH: the run falls through to the real gh, which has no login inside the run and no network under the sandbox, so the ready cases stop at the PR lookup again.
Evidence from #7164 (Claude Code 2.1.296 probes):
- A case cannot set
PATH:case.yamlenvkeys are limited toEVAL_*. - The scaffold's
HOMEis the run's temporary home, and the eval run does not source~/.zshrc,~/.bashrcor~/.profile: functions and variables defined there were missing from the run's Bash. - Only
~/.zshenvtook effect, because zsh reads it on everyzsh -c. That is undocumented runner behavior. - No run was made on a bash-
SHELLhost; the fall-through there is inferred from the above.
Ask
The clean fix needs a capability in claude plugin eval itself, for example:
- a case-level
PATHprefix (acase.yamlkey naming a directory under the scaffolded workspace to prepend), or - a scaffold-written env file the runner applies to the run's shell.
This repository cannot add either; record the request upstream through the owner's normal channel, then switch gh-forge/install.sh to the new mechanism and drop the .zshenv append. An operator-level dispatcher gh on PATH (option 3 in #7164) works on any shell but adds a convention to every invocation; it stays the fallback if upstream declines.
Acceptance
- The
pull-requestready cases reachgh pr readythrough the stand-in on a bash-SHELLhost, shown by a kept-trace run. install.shno longer writes~/.zshenv.
Related: #6997, #7164
- Ngôn ngữ chính
- Shell
- Star
- 22
- Fork
- 2
- Merge trung bình
- 8 giờ 24 phút
- Pull request đã merge (30 ngày)
- 947
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọ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 melodic-software/claude-code-plugins
-
needs-human needs-triage priority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
melodic-software/claude-code-plugins#7455 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
melodic-software/claude-code-plugins#7351 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-ready priority: high work-class: scoped
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
melodic-software/claude-code-plugins#7312 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
melodic-software/claude-code-plugins#7288 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
knowledge: docpage-digest dual verification defines no verdict vocabulary or pass/fail thresholdĐang mởneeds-human
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
melodic-software/claude-code-plugins#7286 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của melodic-software/claude-code-plugins
Issue tương tự
-
bug needs-triage
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
mattpocock/skills#1281 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
github_actions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
hiero-ledger/hiero-consensus-node#27621 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Broken app label: JamoviĐang mởapplication-issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Installomator/Installomator#3427 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
area:sessions
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/copilot-cli#5147 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
software-mansion/argent#1483 ·
Maintainer thường phản hồi trong vòng 1 ngày