Files
magpie/internal/browsermcp
yetone 0b783b1ddc browsermcp: TestVisionBridgePassesLines takes the messages in any order
The bridge passes each stdio message from its own goroutine, so initialize,
the notification and the call reach the fake gateway in any order; the
test read the call's image at index 2 and went red on mote when the call
landed first (images ["" ".../shots/a.png" ""]). It now checks every path
and that the one image named is the call's, made absolute.

Run (mote-run), with a 50ms hold injected before every message but the
call: the old test red 3 of 3, the new one green 3 of 3; without it,
go test ./internal/browsermcp ok.
2026-11-01 16:10:16 +08:00
..