storkit: create 452_bug_claude_code_pty_crashes_with_fatal_runtime_error_on_agent_restart
This commit is contained in:
+3
-3
@@ -31,7 +31,7 @@ All child processes should be properly reaped after exit. No zombie accumulation
|
|||||||
|
|
||||||
## Acceptance Criteria
|
## Acceptance Criteria
|
||||||
|
|
||||||
- [ ] `child.wait()` is called in all exit paths in `agents/pty.rs` and `llm/providers/claude_code.rs`
|
- [ ] Zombie processes do not accumulate during normal operation (including grandchildren from npm/cargo)
|
||||||
- [ ] No zombie `[claude] <defunct>` processes accumulate during normal operation
|
- [ ] `child.wait()` is called after `child.kill()` in all code paths in `claude_code.rs`
|
||||||
- [ ] Agent restart after gate failure does not crash the PTY
|
- [ ] Agent restart after gate failure does not crash the PTY
|
||||||
- [ ] If Claude Code fails to start, the error is handled gracefully without burning retries
|
- [ ] Verified with `ps aux | grep '<defunct>'` after running multiple agent sessions
|
||||||
|
|||||||
Reference in New Issue
Block a user