From 659a4266319a0090a77fc6b4107704aa979002ca Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Thu, 29 Oct 2026 22:55:59 -0600 Subject: [PATCH] test(cli): the demo-books start test needs the viewer; not in the server-only build The gate on 8ba104a1 passed every workspace test and failed only the server-only build: P5's `books_start_fits_8_kib_on_the_demo_books` builds the demo books with `ledger_gui`, which the no-viewer build does not carry. Gated on the `gui` feature like its neighbours. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01HS8WZziDnyxunC23MUxrLp --- crates/ledger-cli/tests/agent_surface.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/crates/ledger-cli/tests/agent_surface.rs b/crates/ledger-cli/tests/agent_surface.rs index 04c97fe..abf66c1 100644 --- a/crates/ledger-cli/tests/agent_surface.rs +++ b/crates/ledger-cli/tests/agent_surface.rs @@ -505,7 +505,9 @@ fn a_mutating_call_answers_with_the_head_and_a_refusal_names_its_remedy() { /// Done-when (3): `books.start` is at most 8 KiB on the demo company too /// (the books the viewer ships with, a loose end of every kind), and says -/// what it cut. +/// what it cut. (The demo books are the viewer's: not in the server-only +/// build.) +#[cfg(feature = "gui")] #[test] fn books_start_fits_8_kib_on_the_demo_books() { let today = ledger_core::settings::today_in(None);