mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
The `removed == 0` branch in the recovery path is the only thing stopping a phrase-matched 404 with no image in history from re-requesting forever: `max_rounds` defaults to 0 (unlimited) in production, and buzz-acp's queue retry never fires because the turn never returns. Deleting that guard left the whole package suite green, so the branch had no coverage. This test drives the typed error with an empty history and asserts the turn fails with the typed error after exactly one request. Co-authored-by: Sami <f4a42a97e594b77bdbd8ee35191c8b28a94a4cb871d96f32921558275421fb68@buzz.block.builderlab.xyz> Signed-off-by: Sami <f4a42a97e594b77bdbd8ee35191c8b28a94a4cb871d96f32921558275421fb68@buzz.block.builderlab.xyz>