Files
xy/crates/xy/Cargo.toml
T
logaritmiskandClaude Opus 5 38e9af1e3d test(stdin): pin keep-open through the daemon
Covers the parser -> supervisor -> spawn wiring the unit tests miss, and
characterizes the reported symptom: without `keep-open` the reader goes
Stopped, with it the server stays Running.

The harness now gives the daemon /dev/null on stdin. That is what
launchd does, and without it these tests prove nothing — the runner's
own stdin blocks on read, so an unfixed child looks identical to a
fixed one.

Refs #2

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TWLFEoRaRafJm1SpdhWQ6F
2026-09-07 09:51:01 +02:00

42 lines
848 B
TOML

[package]
name = "xy"
edition.workspace = true
version.workspace = true
license.workspace = true
[[bin]]
name = "xy"
path = "src/main.rs"
[[bin]]
name = "xy-test-sleep-server"
path = "src/bin/xy_test_sleep_server.rs"
[[bin]]
name = "xy-test-exit-failure"
path = "src/bin/xy_test_exit_failure.rs"
[[bin]]
name = "xy-test-stdin-reader"
path = "src/bin/xy_test_stdin_reader.rs"
[dependencies]
xy-protocol.workspace = true
xy-supervisor.workspace = true
xy-ipc.workspace = true
tokio.workspace = true
clap.workspace = true
serde.workspace = true
serde_json.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
anyhow.workspace = true
etcetera.workspace = true
nix.workspace = true
humantime.workspace = true
service-manager = { workspace = true }
plist = { workspace = true }
[dev-dependencies]
tempfile.workspace = true