kantord / kantord/optative

process pool: I/O thread errors vanish silently

Open
#9 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1
Forks
0
Avg merge
3d 5h
Merged PRs (30d)
17

Description

Came up while planning the optative-process-pool extraction.

The stdin writer thread breaks on `write_all` failure without telling anyone. The user keeps calling the per-child sender and either gets swallowed-success (if the channel still accepts) or a generic SendError that doesn't say why the child is no longer reachable.

At minimum log via `tracing` when an I/O thread exits abnormally, with the process key and the error. Ideally route the error to a side-channel the consumer can observe.

Drafted by Claude (AI assistant) during a design review.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.