Write eval context to file before passing to Claude#488
Conversation
❌ Issue Linking RequiredThis PR could not be linked to an issue. All PRs must be linked to an issue for tracking purposes. How to fix this:Option 1: Add keyword to PR body (Recommended - auto-removes this comment)
Why is this required?Issue linking ensures proper tracking, documentation, and helps maintain project history. It connects your code changes to the problem they solve.--- This comment was automatically generated by the issue linking workflow |
|
Claude finished @jdcmsd's task in 41s —— View job PR Review: Write eval context to file before passing to Claude
The change is small and sensible — decoupling Improvement (positive side effect): GitHub Actions runs Worth a second look — empty/partial output: If uv run python scripts/run_eval.py ... > /tmp/eval_context.md
[ -s /tmp/eval_context.md ] || { echo "eval context is empty"; exit 1; }
claude --print --allowedTools Bash,Write < /tmp/eval_context.mdMinor — diagnosis vs. fix: A normal pipe shouldn't make Nit — fixed temp path: Note: I can't push changes here — Overall: clean, low-risk change that also quietly improves error propagation. |
Claude CLI timed out waiting for stdin because run_eval.py was still fetching from GitHub. Write output to a temp file first, then feed it to Claude via stdin redirect.