Skip to content

fix: locate Tauri bundles without pipefail find failure - #32

Merged
DevVig merged 1 commit into
mainfrom
fix/release-package-find
Jul 18, 2026
Merged

DevVig merged 1 commit into
mainfrom
fix/release-package-find

Conversation

@DevVig

@DevVig DevVig commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fix Release UI packaging: find + pipefail aborted when a bundle search root was missing after a successful signed Tauri build
  • Search the whole src-tauri/target tree for .app / .dmg and log candidates

Test plan

  • Merge and retag / re-run Release for v0.1.0
  • Confirm DMG + UI tarballs attach to the GitHub Release
  • Formula bump PR opens with real sha256s

Made with Cursor

Release packaging exited early when a search root was missing under
set -o pipefail; walk the target tree instead.
Copilot AI review requested due to automatic review settings July 18, 2026 12:11
@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: 52 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: 3c114243-ed3d-4e09-8c3f-a4031cb521e4

📥 Commits

Reviewing files that changed from the base of the PR and between 14ba7d7 and e6b5678.

📒 Files selected for processing (1)
  • .github/workflows/release.yml

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

@DevVig
DevVig merged commit f2427e0 into main Jul 18, 2026
7 checks passed
@DevVig
DevVig deleted the fix/release-package-find branch July 18, 2026 12:12

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 release packaging workflow to make Tauri bundle discovery more robust under set -euo pipefail, avoiding failures when previously assumed bundle directories are missing after a successful build.

Changes:

  • Reworks .app discovery to search under apps/microbridge-ui/src-tauri/target and fail with a clearer error if not found.
  • Reworks .dmg discovery similarly and logs bundle candidates for debugging.

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

Comment on lines +142 to +145
# Locate bundles without failing under pipefail when a search root is absent.
echo "==> bundle tree (debug)"
find apps/microbridge-ui/src-tauri/target -path '*/bundle/*' \( -name '*.app' -o -name '*.dmg' \) 2>/dev/null | head -50 || true

Comment on lines +146 to +155
APP=""
while IFS= read -r candidate; do
APP="$candidate"
break
done < <(find apps/microbridge-ui/src-tauri/target -type d -name 'Microbridge.app' 2>/dev/null || true)
if [[ -z "$APP" ]]; then
echo "error: Microbridge.app not found under src-tauri/target" >&2
exit 1
fi
echo "Using APP=$APP"
Comment on lines +163 to +167
DMG=""
while IFS= read -r candidate; do
DMG="$candidate"
break
done < <(find apps/microbridge-ui/src-tauri/target -type f -name '*.dmg' 2>/dev/null || true)
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