Skip to content

ci: add macOS smoke test to catch startup crashes#106

Merged
robcohen merged 1 commit intomainfrom
ci/macos-smoke-test
Apr 3, 2026
Merged

ci: add macOS smoke test to catch startup crashes#106
robcohen merged 1 commit intomainfrom
ci/macos-smoke-test

Conversation

@robcohen
Copy link
Copy Markdown
Member

@robcohen robcohen commented Apr 3, 2026

Summary

The desktop app has been crashing on all macOS Apple Silicon devices (M1/M2/M3/M4) since at least v0.1.5 (#91), but CI never caught it because we build on macOS ARM64 runners but never actually launch the app.

This adds a smoke test that:

  1. Launches the built .app bundle using open -a
  2. Waits 5 seconds for the app to initialize
  3. Verifies the process is still running (didn't crash)
  4. Reports failure with crash log location if it did crash

Why This Matters

6 users have reported this issue affecting M1, M2, M3, and M4 Macs across macOS Sonoma, Sequoia, and Tahoe. The workaround is using uv tool install rustfava (Python CLI), but the desktop app is completely broken.

Expected Outcome

This PR will fail CI if the crash still exists, which will:

  1. Confirm the bug is real and reproducible
  2. Give us crash logs from the CI runner
  3. Prevent future releases with startup crashes

Fixes #91

🤖 Generated with Claude Code

The desktop app has been crashing on all macOS Apple Silicon devices
(M1/M2/M3/M4) since at least v0.1.5, but CI never caught it because
we build on macOS ARM64 runners but never actually launch the app.

This adds a smoke test that:
1. Launches the built .app bundle
2. Waits 5 seconds
3. Verifies the process is still running (didn't crash)
4. Reports failure with crash log location if it did crash

Fixes #91
@robcohen robcohen merged commit 75b040c into main Apr 3, 2026
23 checks passed
@robcohen robcohen deleted the ci/macos-smoke-test branch April 3, 2026 16:30
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.

Rustfava 0.1.8 (and 0.1.5) crash on start on Mac M2 running Sequoia

1 participant