Skip to content

fix(desktop): set linux.executableName for AppImage build - #298

Merged
github-actions[bot] merged 1 commit into
developfrom
fix/linux-executable-name
Jun 9, 2026
Merged

fix(desktop): set linux.executableName for AppImage build#298
github-actions[bot] merged 1 commit into
developfrom
fix/linux-executable-name

Conversation

@tomymaritano

Copy link
Copy Markdown
Collaborator

Why

v0.15.1 Build run (27212685957) failed on linux:

```
⨯ failed to build AppImage error=executableName contains characters that
cannot be safely used in file paths: @readieddesktop. Please use only
letters, digits, hyphens, underscores, dots, and spaces.
```

electron-builder defaults Linux's `executableName` to the package.json `name` field, stripped of unsafe chars. `@readied/desktop` → `@readieddesktop`, still leading with `@`, still invalid.

mac and win didn't fail because they use `productName` ("Readied") and the `appId` (`app.readied.desktop`) respectively — Linux is the strict one for the on-disk binary name.

Fix

Add `linux.executableName: "readied"` to apps/desktop/package.json's `build` config.

Knock-on

v0.15.1 Build flow was:

  1. linux job ⨯ fails at AppImage step
  2. `publish` job (`needs: build`) skipped
  3. `sync-develop` (`needs: publish`) skipped
  4. Release left with no binary assets, no electron-updater feed

After this lands, the next Release will produce binaries for all 3 platforms.

v0.15.1 cleanup

The published v0.15.1 GitHub Release will be marked as draft via gh api so it doesn't surface to users with electron-updater. v0.15.2 will be cut after this PR merges.

electron-builder's Linux AppImage builder rejects names with characters
outside [letters digits hyphens underscores dots spaces]. By default
it derives the executable name from package.json's `name` field —
`@readied/desktop` strips to `@readieddesktop`, still leading with `@`,
still invalid.

Explicit override: `linux.executableName: "readied"`. mac and win don't
hit this because they use productName ("Readied") or the appId
(app.readied.desktop) instead. Linux is the strict one.

Root cause behind the v0.15.1 release shipping with no binaries — the
linux job failed at AppImage build, the publish job (needs build) was
skipped, no electron-updater feed was produced.
@vercel

vercel Bot commented Jun 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
readide Ready Ready Preview, Comment Jun 9, 2026 2:44pm

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@tomymaritano, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 18 minutes and 24 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

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.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: 35c6ad11-688f-440a-9bcc-a8d1fbcb6e2e

📥 Commits

Reviewing files that changed from the base of the PR and between 57895f0 and b98fe15.

📒 Files selected for processing (1)
  • apps/desktop/package.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/linux-executable-name

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

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

@github-actions
github-actions Bot enabled auto-merge (squash) June 9, 2026 14:43
@github-actions github-actions Bot added dependencies Pull requests that update a dependency file app:desktop size/XS labels Jun 9, 2026
@github-actions
github-actions Bot merged commit c9acaa4 into develop Jun 9, 2026
16 of 17 checks passed
github-actions Bot pushed a commit that referenced this pull request Jun 9, 2026
## Why

v0.15.1 Build (run 27212685957) failed on linux because electron-builder
rejected the AppImage build: \`executableName contains invalid chars:
@readieddesktop\`. publish job (\`needs: build\`) was skipped, no
binaries reached the GitHub Release, v0.15.1 has been marked draft.

This brings the linux fix from #298 (already on develop) into main as a
cherry-pick so semantic-release can cut v0.15.2.

## Why not the original develop → main PR (#299)

I created a sync PR (#300) earlier to bring main's release-cycle commits
(CHANGELOG + version bump) back to develop. Squash-merging that sync PR
collapsed the merge ancestry — develop has main's content but not main's
commit history, so #299 stayed permanently BEHIND.

Cherry-picking the linux fix straight to main sidesteps that. After this
lands and Release cuts v0.15.2, the auto sync-develop job in build.yml
will bring the v0.15.2 release commits back to develop with proper
ancestry.

## Diff

\`apps/desktop/package.json\`: \`"executableName": "readied"\` added to
\`build.linux\`. Single line. mac+win already build cleanly because they
use \`productName\` ("Readied") and \`appId\` (\`app.readied.desktop\`)
respectively.

## Expected Build flow

semantic-release reads main's commit log since v0.15.1:
- \`fix(desktop): set linux.executableName for AppImage build (#298)\` →
patch bump

→ v0.15.2 cut as draft → Build runs on mac/win/linux → all 3 publish to
draft → \`publish\` job undrafts → \`sync-develop\` PRs main → develop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app:desktop dependencies Pull requests that update a dependency file size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant