evals: run-validity calls runs VALID when every Bash call failed to start the sandbox (long TMPDIR)
メンテナーはふだん 1 日以内に返信
関連するプルリクエストがすでにマージされています。
- #10077 @kyle-sexton による — マージ済み
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
調査の方向性
plugins/evals/skills/plugin-eval/scripts/run-validity.pyから始め、保持されたトレースをどのように読み取り、ツールの結果を評価しているかを確認します。それを報告されたサンドボックス初期化の失敗と比較します。次に、plugins/evals/skills/plugin-eval/reference/sandboxes.mdを読み、TMPDIRに関するガイダンスを確認します。これらの失敗したBash呼び出しをvalidityが検出するか警告し、リファレンスがCLIドキュメントを参照してパスの制約を説明した時点で完了です。
索引モデルが issue の本文から書いたものです。
説明
What happened
claude plugin eval (Claude Code 2.1.310, WSL2) with TMPDIR set to a directory on disk at a 50-character path (<home>/<dir>/<dir>/eval-tmp) ran 150 session-flow runs (--scaffold --keep-temp --runs 3 --allow-tools Bash Write Edit).
- 129 of the 150 kept traces show every Bash call failing with
Sandbox is required but failed to initialize: Failed to create bridge sockets after 5 attempts. Restart to retry. Running it outside the sandbox (dangerouslyDisableSandbox) is not allowed either.The runs finished normally (error: null), and their scores measured a session with no shell. plugins/evals/skills/plugin-eval/scripts/run-validity.pyreportedverdict: VALIDfor 20 of the 25 cases. Its run-error check reads the run'serrorfield and the trace's final state, not tool-result errors.- A one-case probe isolates the cause: a Bash-only case fails the same way at that
TMPDIR. The same case prints its output at a 24-characterTMPDIR. Likely the sandbox's socket paths under$TMPDIR/claude-eval-<id>/tmp/...exceed the Unix socket path limit (UNVERIFIED; the exact limit was not measured).
Expected
run-validity.pyreports a run as invalid, or at least warns, when its trace holds a sandbox start failure on a tool call.- The plugin-eval skill says that a long
TMPDIRbreaks the sandbox, with the limit stated by pointer to wherever the CLI documents it.
Suggested fix location
plugins/evals/skills/plugin-eval/scripts/run-validity.py: asandboxcheck that scans kept traces forSandbox is required but failed to initialize.plugins/evals/skills/plugin-eval/reference/sandboxes.md: theTMPDIRlength note.
Related
- #9514: the same gate also misses 0-turn runs caused by a sandbox write failure.
Found while running the session-flow handoff-efficiency baselines (branch feat/session-flow-handoff-efficiency).
- 主要言語
- Shell
- スター
- 22
- フォーク
- 2
- 平均マージ
- 2時間 45分
- マージ済み PR(30日)
- 940
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
melodic-software/claude-code-plugins のほかの issue
-
admission-deferred priority: medium status: ready work-class: scoped
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
melodic-software/claude-code-plugins#10128 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
pr-pipeline: clear a feedback-not-landed escalation once the head moves and no lane thread is openオープンpriority: medium status: needs-decision work-class: scoped
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
melodic-software/claude-code-plugins#10074 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信
-
agent-ready priority: medium status: ready work-class: scoped
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
melodic-software/claude-code-plugins#9914 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
fix(harness-ops): bound the OTEL hot tier's total size, not only each file対応中かも @melodic-automation-lanes が今日担当しました。 オープンagent-ready priority: medium status: ready work-class: scoped
難易度 2/5 1〜2日 初心者へのやさしさ 78/100
melodic-software/claude-code-plugins#9865 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
priority: medium status: needs-decision work-class: scoped
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
melodic-software/claude-code-plugins#9855 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
melodic-software/claude-code-plugins の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
awsdocs/amazon-eks-user-guide#1257 ·
-
deep-dive-feedback
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
aws-samples/sample-apex-skills#292 ·
メンテナーはふだん 1 日以内に返信
-
fm-spawn: bash 5.2 patsub_replacement turns '&' in a home or project path into the placeholder textオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
kunchenguid/firstmate#7786 ·
メンテナーはふだん 1 日以内に返信
-
TLS guide repeats certs/ in the certificate directory対応中かも @maheshrijal が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
prometheus/docs#3156 ·
メンテナーはふだん 2 日以内に返信
-
triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
fullsend-ai/agents#1786 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信