storkit: create 452_bug_claude_code_pty_crashes_with_fatal_runtime_error_on_agent_restart
This commit is contained in:
+5
-3
@@ -41,6 +41,8 @@ No zombie accumulation during normal operation.
|
||||
|
||||
## Acceptance Criteria
|
||||
|
||||
- [ ] Zombie processes do not accumulate during normal operation (including grandchildren from npm/cargo)
|
||||
- [ ] `child.wait()` is called after `child.kill()` in all code paths in `claude_code.rs`
|
||||
- [ ] Verified with `ps aux | grep '<defunct>'` after running multiple agent sessions
|
||||
- [x] `child.wait()` is called after `child.kill()` in all code paths in `claude_code.rs`
|
||||
- [x] Reader threads are joined in both `pty.rs` and `claude_code.rs`
|
||||
- [x] `init: true` added to docker-compose.yml for Docker deployments
|
||||
- [ ] Background reaper thread added for native (non-Docker) deployments
|
||||
- [ ] Verified with `ps aux | grep '<defunct>'` after running multiple agent sessions natively on macOS
|
||||
|
||||
Reference in New Issue
Block a user