ci(evals): run the eval dispatch with TMPDIR outside /tmp so Bash cases can write
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
- 74/100
Hướng nghiên cứu
Bắt đầu từ tệp workflow eval-browser-dispatch.yml, nơi bước claude plugin eval chạy với TMPDIR mặc định của runner. Đặt TMPDIR cho bước đó thành một thư mục ngắn nằm ngoài /tmp (từ 24 ký tự trở xuống), sau đó kiểm tra các thiết lập sandbox mà bước này tạo ra. Hoàn thành khi một lần dispatch của một case được cấp quyền Bash, có ghi vào workspace của nó, không hiển thị dòng 'Read-only file system' nào trong trace.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Refs: #12070
Outcome
eval-browser-dispatch.yml runs claude plugin eval with the runner's default TMPDIR, so every run root lands under /tmp. On Claude Code 2.1.316 the run's own sandbox settings then make that root read-only to Bash: sandbox.filesystem.allowWrite lists the run's home and tmp directories, and denyWrite lists //tmp, which covers both and wins. Any Bash-granting case that writes in its workspace (a git fetch, git merge, the verify record, the gh-forge stand-in's state) fails with Read-only file system in CI.
Evidence from the #12070 host run (2026-11-01, Claude Code 2.1.316, --runs 1 --ablation none, the two pull-request-ready-* cases):
- Default
TMPDIR:cannot lock ref 'ORIG_HEAD': Unable to create '<run>/home/cwd/.git/ORIG_HEAD.lock': Read-only file system, andzsh:2: read-only file system: <run>/tmp/claude-1000/cwd-*. Neither case reachedgh pr ready. TMPDIRoutside/tmp: no read-only write in either trace, both cases reachedgh pr readyand scored 1.0, validity gate VALID.
/evals:plugin-eval already tells local runs on Linux and WSL2 to set TMPDIR to a short directory outside the system temp directory.
Done when
- The eval dispatch workflow runs
claude plugin evalwithTMPDIRset to a short directory outside/tmp(at most 24 characters, per/evals:plugin-eval's sandbox-start reference, so the sandbox's bridge sockets still fit). - A dispatch of a Bash-granting case that writes in its workspace shows no
Read-only file systemline in its trace.
Out of scope
- Changing the eval cases or the gh-forge stand-in: with a writable root they need no change.
- Ngôn ngữ chính
- Shell
- Star
- 22
- Fork
- 2
- Merge trung bình
- 1 giờ 38 phút
- Pull request đã merge (30 ngày)
- 911
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
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
melodic-software/claude-code-plugins#9179 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: low status: confirmed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
melodic-software/claude-code-plugins#8799 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-human priority: low work-class: read-only
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
melodic-software/claude-code-plugins#5696 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
admission-deferred priority: medium status: ready work-class: scoped
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 40/100
melodic-software/claude-code-plugins#12299 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
rendered-views: migrate the grandfathered HTML-emitting surfaces to the convention (fleet ladder sweep + evals reconciliation) - part 1 of 3Có thể đã có người làm @melodic-automation-lanes đã nhận hôm nay. Đang mởagent-ready priority: medium status: ready work-class: scoped
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 18/100
melodic-software/claude-code-plugins#12296 · 3 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ự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
danielmiessler/LifeOS#2567 ·
Maintainer thường phản hồi trong vòng 9 ngày
-
area:docs documentation good first issue priority:medium
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
rtk-ai/rtk#4958 · 1 bình luận ·
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 72/100
PostHog/posthog-js#5524 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
`company import <dir>` drops non-markdown skill files (references/*.json, scripts/*, *.yaml)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
paperclipai/paperclip#18671 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày