-
-
Notifications
You must be signed in to change notification settings - Fork 52.7k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
GitHub Issue: Smoke test returns exit code 1
Title
🐛 scripts/package-mac-app.sh: Smoke test returns exit code 1 (even with || true)
Description
The smoke test in scripts/package-mac-app.sh (line 258) returns exit code 1:
CLAWDBOT_SMOKE_QR=1 "$RELAY_OUT" >/dev/null || trueEven though || true is added to suppress the error, the script logs:
🎿 Exit code: 1
📡 clawdbot 2026.1.5-3 — Send, receive, and auto-reply on WhatsApp (web) and Telegram (bot).
🏺️ Это баг — smoke test возвращает exit code 1.
Root Cause
The CLAWDBOT_SMOKE_QR argument handling was removed from the CLI, but the smoke test call remains in the build script. The bundled relay doesn't recognize the CLAWDBOT_SMOKE_QR environment variable, causing it to fail with exit code 1.
Suggested Fix
Option 1: Remove the smoke test entirely
Delete lines 256-258 from scripts/package-mac-app.sh:
- echo "🧪 Smoke testing bundled relay QR modules"
- CLAWDBOT_SMOKE_QR=1 "$RELAY_OUT" >/dev/null || trueOption 2: Replace with proper health check
If health checking is needed, use a different approach:
echo "🧪 Health checking bundled relay..."
"$RELAY_OUT" --version >/dev/null || {
echo "❌ Relay health check failed"
exit 1
}Environment
- Clawdbot version: 2026.1.5-3
- File:
scripts/package-mac-app.sh(line 258)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working