feat(evals): report leftover eval sandboxes and temp free space in plugin-eval preflight
维护者通常 1 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 84/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- shell
调研方向
从 plugin-eval skill 的 preflight 块开始,找出其报告字段和清理说明的定义位置。为 leftover_sandboxes 和 tmp_free 实现报告功能,在探测失败时包含 unknown,且不删除任何内容。运行 skill-quality check-skill.sh 检查 plugin-eval,并运行 scripts/check-changelog-fragments.sh 验证此更改。
由索引模型根据 Issue 内容生成。
描述
Refs: #7431
Agent Brief
Type: Feature
Summary: plugin-eval preflight reports leftover claude-eval-* sandbox directories and free temp space, and gives the cleanup commands.
Current behavior:
Preflight prints the CLI version, floors, platform, sandbox backend, target type, suite tools, model, estimate and ceiling. It says nothing about earlier runs' sandbox directories, which pile up in the temp directory (observed: 569 directories, about 8G, filling a 20G tmpfs and killing agent loops).
Desired behavior:
- Preflight prints a
leftover_sandboxesfield: the count and total size ofclaude-eval-*directories in the temp directory ($TMPDIR, else/tmp), and atmp_freefield with the free space there. - When the count is above zero, preflight prints the cleanup: restore write permission (
chmod -R u+w) then remove, and notes that subdirectories it cannot enter are owned by the sandbox user and needsudo rm -rf. - Preflight deletes nothing and does not block the run on this field.
- A path the probe cannot read reports
unknown, not zero.
Key interfaces:
- plugin-eval preflight report: new
leftover_sandboxesandtmp_freefields.
Acceptance criteria:
- The preflight block in the plugin-eval skill lists both new fields and the cleanup text.
- The skill states that preflight removes nothing.
-
skill-quality check-skill.shpasses for plugin-eval. -
scripts/check-changelog-fragments.shpasses.
Out of scope:
- Deleting sandboxes automatically after a run.
- Finding out whether
claude plugin evalcleans up on a normal exit (a separate item). - Other preflight fields.
This was generated by AI during backlog shaping. Split from #7431; the owner approved filing it in an attended backlog-shaping session on 2026-10-18.
- 主要语言
- Shell
- 星标
- 22
- 派生
- 2
- 平均合并
- 7 小时 8 分钟
- 30 天内合并 PR
- 874
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
melodic-software/claude-code-plugins 的其他 Issue
-
needs-human
难度 2/5 1-3 小时 新手友好度 75/100
melodic-software/claude-code-plugins#8405 · 1 条评论 ·
维护者通常 1 天内回复
-
needs-human
难度 2/5 1-3 小时 新手友好度 72/100
melodic-software/claude-code-plugins#8374 · 1 条评论 ·
维护者通常 1 天内回复
-
needs-human priority: low
难度 2/5 1-3 小时 新手友好度 85/100
melodic-software/claude-code-plugins#8366 · 1 条评论 ·
维护者通常 1 天内回复
-
priority: medium
难度 2/5 1-3 小时 新手友好度 78/100
melodic-software/claude-code-plugins#8341 · 1 条评论 ·
维护者通常 1 天内回复
-
priority: low
难度 2/5 1-3 小时 新手友好度 76/100
melodic-software/claude-code-plugins#8338 · 1 条评论 ·
维护者通常 1 天内回复
查看 melodic-software/claude-code-plugins 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
CachyOS/cachyos-hooks#23 ·
-
area/cli good first issue size/S type/feature
难度 2/5 1-3 小时 新手友好度 84/100
lorica-labs/volant#549 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
wazuh/wazuh-installation-assistant#1147 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100