Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

feat(evals): report leftover eval sandboxes and temp free space in plugin-eval preflight

未关闭 适合新手
#8,018 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

@melodic-automation-lanes 已经在做这个了。

开始于 2026年10月18日。

  • #8171 来自 @melodic-automation-lanes —— 未关闭

评估

难度
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 内容生成。

描述

agent-ready work-class: scoped

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_sandboxes field: the count and total size of claude-eval-* directories in the temp directory ($TMPDIR, else /tmp), and a tmp_free field 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 need sudo 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_sandboxes and tmp_free fields.

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.sh passes for plugin-eval.
  • scripts/check-changelog-fragments.sh passes.

Out of scope:

  • Deleting sandboxes automatically after a run.
  • Finding out whether claude plugin eval cleans 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 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

melodic-software/claude-code-plugins 的其他 Issue

查看 melodic-software/claude-code-plugins 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。