Skip to content

fix: launch app directly in headless Homebrew smoke - #48

Merged
DevVig merged 1 commit into
mainfrom
fix/v0.2.1-headless-app-smoke
Jul 18, 2026
Merged

fix: launch app directly in headless Homebrew smoke#48
DevVig merged 1 commit into
mainfrom
fix/v0.2.1-headless-app-smoke

Conversation

@DevVig

@DevVig DevVig commented Jul 18, 2026

Copy link
Copy Markdown
Owner

What changed

  • launch the installed app executable directly on headless macOS CI
  • verify the exact process remains alive before terminating it
  • capture and print app output when launch verification fails
  • apply the same check to final public-install verification

Root cause evidence

Release run 29657076770 proved on both architectures that the formula installs, the marker and 0.2.1 app bundle exist, the daemon binds its socket, and Homebrew reports the service started. The only failing assertion was waiting for Launch Services (open) to expose a GUI PID in a headless runner. Direct execution is the deterministic CI launch boundary.

Copilot AI review requested due to automatic review settings July 18, 2026 19:12
@coderabbitai

coderabbitai Bot commented Jul 18, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 9 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: aa8721d0-66da-42d6-97d9-85bcfc4b732b

📥 Commits

Reviewing files that changed from the base of the PR and between ffb31ac and 9b47bcd.

📒 Files selected for processing (2)
  • .github/workflows/finalize-release.yml
  • scripts/smoke-formula.sh

Comment @coderabbitai help to get the list of available commands.

@DevVig
DevVig merged commit ee8fc80 into main Jul 18, 2026
8 checks passed
@DevVig
DevVig deleted the fix/v0.2.1-headless-app-smoke branch July 18, 2026 19:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the macOS Homebrew smoke verification to launch the installed Microbridge UI executable directly (instead of using open) so the checks are deterministic on headless CI runners, and improves diagnostics by capturing UI output to a log file.

Changes:

  • Run Microbridge.app/Contents/MacOS/microbridge-ui directly during smoke and public-install verification instead of relying on Launch Services (open).
  • Add per-run UI log capture and include it in diagnostics / failure output.
  • Verify the launched UI process is alive before terminating it, and apply the same approach in the release finalization workflow.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
scripts/smoke-formula.sh Launches the installed UI binary directly during formula smoke tests and adds app log capture to diagnostics.
.github/workflows/finalize-release.yml Updates public-tap install verification to directly run the UI binary and emit app logs when launch verification fails.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripts/smoke-formula.sh
Comment on lines +83 to +86
"$APP/Contents/MacOS/microbridge-ui" >"$APP_LOG" 2>&1 &
APP_PID=$!
sleep 3
kill -0 "$APP_PID"
Comment on lines +78 to +85
APP_LOG="$RUNNER_TEMP/microbridge-app.log"
"$APP/Contents/MacOS/microbridge-ui" >"$APP_LOG" 2>&1 &
APP_PID=$!
sleep 3
if ! kill -0 "$APP_PID"; then
cat "$APP_LOG"
exit 1
fi
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.

2 participants