Files
moonwell-client-core/scripts
Sam Sung 07ed1e2729 smoke.sh no longer fails clean runs when grep -q quits early (#2735)
`scripts/smoke.sh` and `scripts/summon-live.sh` run under `set -o pipefail` and checked their log markers as `printf '%s' "$log" | grep -q marker`. `grep -q` exits at its first match, so on a long log `printf` died of SIGPIPE, the pipeline returned 141, and a clean run failed: "no roster came on the same link after the logout", with the line right there in the log. Replaying the check on one 73 KB run log failed 15 times in 50.

Each check now reads a here-string (`grep -q marker <<<"$log"`), which no early exit can break. The same replay passes 200 of 200, and a missing marker still fails the check.

Fixes #2733

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 05:15:30 +07:00
..