fix(issue): headless classifies child exit code 0 as 'exited unexpectedly' when no terminal notify observed (headless.js:780)#6169
Conversation
…edly' when no terminal notify observed (headless.js:780)
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe child process exit handler in the headless supervisor now treats exit code 0 as a clean exit (sets EXIT_SUCCESS) when no terminal notification was observed; a helper and unit tests were added to validate mapping of exit codes to success/error. ChangesChild exit code handling
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add 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 |
🟢 PR Risk Report — LOW
Affected Systems
File Breakdown
|
Summary
Verification
Related Issue
Repo
gsd-build/gsd-2Branch
issue/5737-headless-classifies-child-exit-code-0-as-1778892823Summary by CodeRabbit
Bug Fixes
0/missing exits are treated as errors) and completion is resolved consistently, improving status accuracy.Tests