v5.2.7: Retry failed mise downloads with backoff and show the HTTP status
- The action logs the HTTP status and host for each failed mise download attempt instead of only the curl exit code
- Download retries use exponential backoff from about 2 seconds up to a 30 second cap with random jitter, and the retry count increased from five to six attempts
- Only transient download failures are retried, including connection errors, timeouts, and HTTP 408, 429 and 5xx responses, while 404, other 4xx responses and local file-write errors fail immediately
- Log output shows only the host and file name of each download URL, omitting signed query strings and curl or wget stderr
- Partial files are deleted before the next download attempt
- wget downloads run with --tries=1 so its own default retries no longer stack on top of the action's retries
- packslip, used to verify downloaded mise releases, is updated from 1.11.0 to 1.11.2 to include upstream verifier hardening
From jdx/mise-action
When the action can't download mise, the log now shows the HTTP status and host for each failed attempt. Retries wait longer between attempts, so a short GitHub outage is less likely to fail the job.
Fixed
-
Download failures now show what went wrong, and brief outages are retried for longer. Before this release, a failed mise download logged only
The process '/usr/bin/curl' failed with exit code 22and retried five times with a fixed 2-second wait. From that message you couldn't tell a rate limit from a missing asset or a server error. Each failed attempt now logs the HTTP status and the host that answered:Download attempt 1/6 failed: Could not download github.com/…/mise-v2026.10.21-linux-x64.tar.zst (HTTP 503 from github.com). Retrying in 3.4 seconds.The wait between attempts doubles from about 2s up to a 30s cap, with random jitter, so the five retries cover roughly a minute. Only transient failures are retried: connection errors and timeouts, and HTTP 408, 429 and 5xx responses. A 404, any other 4xx, or a local file-write error fails at once. The log shows only the host and file name of each URL, never signed query strings or curl/wget stderr. Partial files are deleted before the next attempt. wget now runs with
--tries=1, so its own 20-retry default no longer stacks on top of the action's retries. This applies to every download the action makes: the release archive, checksums and the packslip bundle. Checksum and signature verification are unchanged, and there are no new inputs. (#722 by @jdx, fixes #721)
Changed
- packslip, which the action uses to verify downloaded mise releases, is updated from 1.11.0 to 1.11.2. This version includes upstream hardening of its verifier checks. (#726)
Full Changelog: https://github.com/jdx/mise-action/compare/v5.2.6...v5.2.7