Skip to content

A tiny friend in your Mac's notch and on your iPhone that keeps an eye on your AI coding agents: Claude Code, Codex, Cursor, Gemini CLI, Antigravity and more. Approve from the notch or your Lock Screen.

Relay end to end: build the Rust side before the race

Claudec6fca69e7b73
diff --git a/android/relay/tools/e2e.sh b/android/relay/tools/e2e.sh
index c8d08975..f2eb7ee0 100755
--- a/android/relay/tools/e2e.sh
+++ b/android/relay/tools/e2e.sh
@@ -41,6 +41,10 @@ for _ in $(seq 1 120); do
done
curl -fsS "http://127.0.0.1:${PORT}/" | grep -q "Coucou link relay" || { echo "the relay did not start"; cat "$LOG/relay.log"; exit 1; }
+# Build the Rust test binary first: with a cold cache it takes minutes, longer than the phone side waits for the welcome.
+echo "building the computer side (Rust)"
+(cd "$ROOT/windows" && cargo test -p coucou --lib --no-run)
+
echo "starting the computer side (Rust)"
(cd "$ROOT/windows" && cargo test -p coucou --lib relay_client::tests::e2e -- --ignored --nocapture >"$LOG/pc.log" 2>&1) &
PC_PID=$!