yams/src/daemon/client
trvon 0b48eed50c
fix(daemon): answer requests during startup with a not-ready error
A get that reached the daemon before its content store and database were
ready received a StatusResponse. DaemonClient::get ignored it and returned
an empty GetResponse, so yams cat printed "Document content not found"
for a stored document. This failed the v0.23.1 Arch upgrade check; 0.23.0
behaves the same.

The dispatcher now answers with ErrorResponse InvalidState "Daemon not
ready yet (status=...)" plus the status retry hint, which every client,
including 0.23.0, reports as an error. The client also turns a
StatusResponse to any non-status streaming request into the same
not-ready error, for daemons that still send one.

Signed-off-by: trvon <me@trevon.dev>
2026-11-20 17:14:20 -07:00
..
asio_connection.cpp fix(client): report a daemon that closes mid-write as a closed connection 2026-11-16 08:08:48 -07:00
asio_connection_pool.cpp fix(client): report a daemon that closes mid-read as a closed connection 2026-11-19 08:45:06 -07:00
asio_transport.cpp fix(client): report a daemon that closes mid-read as a closed connection 2026-11-19 08:45:06 -07:00
daemon_client.cpp fix(daemon): answer requests during startup with a not-ready error 2026-11-20 17:14:20 -07:00
global_io_context.cpp fix(client): never block an IO thread on the reset lock 2026-11-15 17:59:01 -07:00
in_process_transport.cpp fix(daemon): deliver immediate in-process responses once 2026-09-05 11:52:46 -06:00
meson.build feat(profiling): Tracy for every library, zones on p2p and memory-sync, per-test CPU/RSS (#294) 2026-10-14 08:32:56 -06:00
process_discovery.cpp fix: resolve clang-tidy correctness findings (#475) 2026-11-06 22:29:34 -07:00
sandbox_detection.cpp fix: resolve clang-tidy correctness findings (#475) 2026-11-06 22:29:34 -07:00
sandbox_probe.cpp fix: resolve clang-tidy correctness findings (#475) 2026-11-06 22:29:34 -07:00
systemd_user_unit.cpp fix(cli): close the remaining gaps in daemon lifecycle scoping and start reporting 2026-11-12 14:41:03 -07:00
transport_disconnect.h fix(client): report a daemon that closes mid-read as a closed connection 2026-11-19 08:45:06 -07:00