Skip to content

CI: retry the Maestro download and fail fast if it doesn't install - #144

Merged
joreilly merged 1 commit into
mainfrom
maestro-install-retry
Nov 8, 2026
Merged

joreilly merged 1 commit into
mainfrom
maestro-install-retry

Conversation

@joreilly

@joreilly joreilly commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • On 2026-11-08, between about 09:50 and 10:10 UTC, GitHub Releases returned 504 for maestro.zip. The get.maestro.mobile.dev installer doesn't retry, and after a failed download it prints "Downloaded zip archive is corrupt" and then runs a bare exit, which returns 0. So "Install Maestro" passed and the job failed one step later with maestro: command not found (exit 127). That broke the Maestro jobs in PeopleInSpace and Confetti.
  • The Android and iOS workflows now download the release zip directly with curl --retry 6 --retry-delay 30 --retry-all-errors, unpack it into ~/.maestro (the same layout the installer creates), and run maestro --version. A failed download now fails the install step with a clear error.
  • This is the same change as CI: retry the Maestro download and fail fast if it doesn't install PeopleInSpace#575, which is merged and green on both platforms. ~/.maestro isn't cached because the zip is 315 MB and would push other caches out of the 10 GB Actions quota.

Test plan

  • Ran the step locally: maestro --version prints 2.11.0, and a missing version fails the step with curl exit 56 instead of passing.
  • PeopleInSpace#575: the iOS and Android Maestro jobs both pass with this step.
  • The Android Maestro job is green here.
  • The iOS Maestro job is green here.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XcDRQmWjTnUPBkg4WQBxBb

…t land

get.maestro.mobile.dev doesn't retry, and exits 0 when the zip download
fails, so a 504 from GitHub Releases on 2026-11-08 passed the install step
and only showed up later as "maestro: command not found" (exit 127). Fetch
the release zip directly with curl retries and check `maestro --version`.
Same change as joreilly/PeopleInSpace#575.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XcDRQmWjTnUPBkg4WQBxBb
@joreilly
joreilly merged commit 3b40216 into main Nov 8, 2026
4 checks passed
@joreilly
joreilly deleted the maestro-install-retry branch November 8, 2026 13:52
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.

1 participant