Files
Sami 5dc1ad10a2 test(agent): cover the unsupported-image loop guard
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>
2026-08-05 10:42:55 -04:00
..
2026-07-27 14:18:24 -04:00