From 45d0d3c5f431688aa9dfbd6a4214256d6fe64122 Mon Sep 17 00:00:00 2001 From: salmonik Date: Wed, 18 Nov 2026 12:34:33 +0100 Subject: 0.9.2: doc accuracy and UX fixes from the review - missing key exits 1, consistent with --doctor - HTML error bodies get a one-line message - no unapprovable diff printed on a non-terminal - weak GLIBC_2.39 fix covers x86_64 gnu as well as i686 - README/PLAN/CHANGELOG brought in line with the actual binary --- README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index e6b83aa..cec5fbd 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,13 @@ binary runs here; `--portable` targets the architecture floor instead. If the binary is for another machine, use `--portable` or run `comp.sh` on that machine — a native build fails with an illegal instruction on older chips. -A glibc build also inherits this machine's glibc floor, which is why the portable -paths are printed next to it: static musl removes the floor entirely, and building -inside an older Debian image lowers it. +A glibc build is bounded by the glibc symbols it references, not by this +machine's glibc version: `check-glibc.sh` reports the real floor (e.g. +`GLIBC_2.34`). Static musl removes the floor entirely, and building inside an +older Debian image lowers it. + +The commands above produce `target//release/agent686`; replace +`./agent686` below with that path. The gate matters: the dev host's glibc is newer than the target's, so a dependency can silently raise the required symbol version. @@ -77,10 +81,10 @@ that is where `rm -rf` lives. `--yolo` skips both, and is refused in `$HOME` and ## Tests ```sh -cargo test # 75 tests, no network +cargo test # 92 tests, no network python3 scripts/mock-provider.py & # canned SSE provider -docker run --rm --platform linux/386 \ - -v "$PWD/target/i686-unknown-linux-gnu/release:/b:ro" debian:12 /b/agent686 --version +# i686 still builds (comp.sh on a 32-bit host picks it up): +cargo build --release --target i686-unknown-linux-gnu ``` `tests/sse.rs` feeds the stream one byte at a time, so splits inside lines and -- cgit v1.2.3