Skip to content

fix(build): remove non-functional smoke test from package-mac-app.sh#615

Merged
steipete merged 2 commits intoopenclaw:mainfrom
YuriNachos:fix/smoke-test-exit-code
Jan 9, 2026
Merged

fix(build): remove non-functional smoke test from package-mac-app.sh#615
steipete merged 2 commits intoopenclaw:mainfrom
YuriNachos:fix/smoke-test-exit-code

Conversation

@YuriNachos
Copy link
Contributor

Summary

Fixes the macOS app build failing with exit code 1 due to a non-functional smoke test.

Changes

  • scripts/package-mac-app.sh: Removed lines 275-276
    • Removed: echo "🧪 Smoke testing bundled relay QR modules"
    • Removed: "$RELAY_OUT" --smoke qr >/dev/null

Root Cause

The --smoke qr argument was removed from the relay CLI, but the smoke test call remained in the macOS app packaging script. When the bundled relay doesn't recognize this argument, it exits with code 1, causing the entire build to fail (due to set -euo pipefail at the top of the script).

Testing

  • Syntax check: Ran bash -n scripts/package-mac-app.sh - passed
  • Git diff: Verified only the 2 smoke test lines were removed
  • The fix follows the principle: remove dead code rather than keep broken tests

Related Issues

Fixes #317

AI-Assisted PR

This PR was created with assistance from Claude Code (Anthropic).

  • Testing level: Lightly tested (syntax check + code review)
  • Prompts/session logs available upon request

Co-Authored-By: Claude noreply@anthropic.com

Yurii Chukhlib and others added 2 commits January 9, 2026 23:37
The --smoke qr argument was removed from the relay CLI, but the smoke
test remained in the macOS app packaging script. This caused the build
to fail with exit code 1 when the bundled relay didn't recognize the
argument.

Removes the 2-line smoke test section to fix the build.

Fixes openclaw#317

Co-Authored-By: Claude <noreply@anthropic.com>
@steipete steipete force-pushed the fix/smoke-test-exit-code branch from c9b46a0 to 0730e15 Compare January 9, 2026 22:42
@steipete steipete merged commit 90d6a55 into openclaw:main Jan 9, 2026
19 checks passed
@steipete
Copy link
Contributor

steipete commented Jan 9, 2026

Landed via temp rebase onto main.

  • Gate: pnpm lint && pnpm build && pnpm test
  • Land commit: 0730e15
  • Merge commit: 90d6a55

Thanks @YuriNachos!

zooqueen pushed a commit to hanzoai/bot that referenced this pull request Mar 6, 2026
fix(build): remove non-functional smoke test from package-mac-app.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛 scripts/package-mac-app.sh: Smoke test returns exit code 1

2 participants