From 2bffba16a753268f1e1647791cc7d65a48153593 Mon Sep 17 00:00:00 2001 From: Ruslan Strazhnyk Date: Fri, 7 Aug 2026 22:11:33 +0200 Subject: [PATCH] docs(changelog): note the httpx egress body-hash race fix (#162) --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1d957a3..14043e1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,12 @@ All notable changes to qmax-code. Versions follow [Semantic Versioning](https:// every token-bearing event, keeping only the final step, while opencode emits usage on each `step-finish` — so a turn that called tools lost every earlier step. Usage now accumulates across steps. +- The egress recorder no longer races net/http's asynchronous request-body + write. `RoundTrip` returns as soon as the response headers arrive, so reading + the body-completion flag synchronously could snapshot mid-write and record a + fully-sent request body as incomplete (`ReqBytes=0`, empty SHA-256) — the + flake behind the red Go Tests run on v1.22.2. The recorder now waits for the + transport to close the body before capturing its byte count and hash. ## [1.22.1] - 2026-08-03