fix(install): expect collab protocol v2 in smoke

The tarball install smoke imports @oh-my-pi/pi-wire and asserts the
exported COLLAB_PROTO value. The chunked welcome protocol bump changed
that contract from 1 to 2, so the smoke must assert the new protocol
value alongside the package constant and tests.

Fixes #3144
This commit is contained in:
roboomp
2026-06-20 18:59:27 +00:00
parent 459fb10441
commit 404471f000
+1 -1
View File
@@ -170,7 +170,7 @@ mkdir -p "$TARBALL_APP_DIR"
exit 1
}
wire_proto="$(bun -e 'import { COLLAB_PROTO } from "@oh-my-pi/pi-wire"; process.stdout.write(String(COLLAB_PROTO));')"
[ "$wire_proto" = "1" ] || {
[ "$wire_proto" = "2" ] || {
echo "Unexpected @oh-my-pi/pi-wire COLLAB_PROTO: $wire_proto"
exit 1
}