Menu

#435 fix(ci): force Tauri DMG Finder decoration on GitHub-hosted runners

closed
nobody
None
2026-07-10
2026-07-10
Anonymous
No

Originally created by: Akarsh-Hegde

Summary

  • The drag-to-Applications DMG background from [#426] was silently not rendering in Finder for real installs. Root cause: Tauri's DMG bundler skips the AppleScript step that writes .DS_Store (background image reference, icon positions, window bounds) whenever CI is set, assuming CI runners can't drive Finder ([tauri-apps/tauri#1731](https://github.com/tauri-apps/tauri/issues/1731)). GitHub Actions sets CI=true on every job by default, so every DMG built by release.yml/release-staging.yml shipped background.png as an inert bundled file with no .DS_Store pointing Finder at it.
  • Verified by downloading Meridian.dmg from the latest staging release (v1.70.0-staging.5), mounting it, and confirming background.png was present and byte-identical to the repo's asset, but .DS_Store was completely absent from the volume.
  • GitHub-hosted macos-26 runners have a full interactive desktop session (unlike headless/self-hosted CI), so it's safe to force the decoration step via TAURI_BUNDLER_DMG_IGNORE_CI=true in both release workflows' job-level env.

Test plan

  • [ ] Trigger a staging release build ([staging-release] marker commit or workflow_dispatch on release-staging.yml) and confirm the run succeeds
  • [ ] Download the resulting Meridian.dmg, mount it, and confirm .DS_Store is now present and Finder renders the themed background + curved arrow
  • [ ] No change expected to non-DMG artifacts (Meridian.app.tar.gz, latest.json)

🤖 Generated with Claude Code

https://claude.ai/code/session_017ADhKy7AoHqknbZwTwLFkS

Related

Tickets: #426
Tickets: #440

Discussion

  • Anonymous

    Anonymous - 2026-07-10

    Originally posted by: coderabbitai[bot]

    [!IMPORTANT]

    Review skipped

    Auto reviews are disabled on base/target branches other than the default branch.

    Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.


    ⚙️ Run configuration

    Configuration used: Organization UI

    Review profile: ASSERTIVE

    Plan: Pro Plus

    Run ID: 49a190cb-56f3-4c4e-903d-ed86bcc4a977

    You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

    Use the checkbox below for a quick retry:
    - [ ] 🔍 Trigger review

    ✨ Finishing Touches
    🧪 Generate unit tests (beta) - [ ] Create PR with unit tests - [ ] Commit unit tests in branch `fix/dmg-background-ci-decoration`

    Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

    ❤️ Share - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code)

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

     
  • Anonymous

    Anonymous - 2026-07-10

    Ticket changed by: Akarsh-Hegde

    • status: open --> closed
     

Log in to post a comment.