Skip to content

Linux build: fixed appimagetool version with retries (fixes the 0.30.0 release) - #85

Merged
sevagjb merged 3 commits into
mainfrom
fix-appimagetool-download
Nov 8, 2026
Merged

sevagjb merged 3 commits into
mainfrom
fix-appimagetool-download

Conversation

@sevagjb

@sevagjb sevagjb commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

The 0.30.0 release build failed on Linux only, in its last step: GitHub's download of appimagetool (the AppImage packing tool) answered 504 Gateway Timeout, on the first run and on the re-run. The app itself built and its tests passed; Windows and both Macs succeeded.

Cause: GitHub fails to deliver appimagetool's continuous file (and 1.9.1) at the moment, while 1.9.0 downloads fine.

Fix (build_linux.sh only):

  • download a fixed version, 1.9.0 (APPIMAGETOOL_VERSION to change it), so every build is packed by the same tool;
  • retry 4 times, then fall back to the continuous build;
  • a clear message if neither can be downloaded.

Merging this runs the build again and publishes 0.30.0 (its tag doesn't exist yet). No version change, no program change.


Generated by Claude Code

…a fallback

The 0.30.0 release build failed on Linux only: GitHub answered "504 Gateway Timeout" for
appimagetool's "continuous" download (twice, and also for 1.9.1), while 1.9.0 downloads fine.
build_linux.sh now gets appimagetool 1.9.0 (APPIMAGETOOL_VERSION to change it), retries a few
times, and falls back to the continuous build if that file can't be had. A fixed version also
means every build is packed by the same tool.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… between builds

GitHub's release downloads answered 504 on and off (also for 1.9.0 on the next try, and also
with a cache-busting query), so a few quick retries were not enough. build_linux.sh now tries
for up to a few minutes, switching between 1.9.0 and the continuous build, and the CI keeps
the tool in GitHub's Actions cache, so later builds don't download it at all.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…appimagetool as fallback

With appimagetool downloaded, the next run failed one step later: appimagetool fetches the
AppImage runtime from GitHub itself, without retries, and got the same 504. build_linux.sh now
fetches the runtime (two rounds) and, if GitHub can't deliver it, uses the runtime at the start of
appimagetool (an AppImage itself: the first --appimage-offset bytes), and passes it with
--runtime-file. Tested: an AppImage built this way runs and reports its update information.
Both files are cached in CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sevagjb
sevagjb merged commit 84ce3e4 into main Nov 8, 2026
6 checks passed
@sevagjb
sevagjb deleted the fix-appimagetool-download branch November 10, 2026 20:10
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