fix: include stderr in error messages for failed agent executions#89
Conversation
|
@sambostock is attempting to deploy a commit to the plgeek Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughWhen a task finishes with a non-'completed' status, the code now computes a single Changes
Sequence Diagram(s)(omitted) Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
📜 Recent review detailsConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used📓 Path-based instructions (2)**/*.{js,ts,jsx,tsx}📄 CodeRabbit inference engine (CLAUDE.md)
Files:
**/*.{js,ts,tsx,jsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
🔇 Additional comments (1)
✏️ Tip: You can disable this entire section by setting Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
3402625 to
ac6c316
Compare
When an agent execution fails with a non-zero exit code, the error message was showing 'Execution failed' with no useful content. This happened because result.error is only set for process spawn errors, while the actual error from the agent is in result.stderr. Now checks stderr when result.error is empty, so users see the actual error message from the agent. Co-Authored-By: Claude Opus 4.5 <[email protected]>
ac6c316 to
cd6de55
Compare
|
@subsy I notice you merged |
|
thanks @sambostock nice PR |
fix: include stderr in error messages for failed agent executions
Motivation
When using
ralph-tui create-prd --chatand sending a message, if the agent fails the error displayed is just "Execution failed" with no actionable information. This makes it impossible to diagnose what went wrong.Summary
Test plan
ralph-tui create-prd --chatand trigger an agent failure🤖 Generated with Claude Code
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.