Repository navigation
fix(mise): adopt resilient downloads and 14-day cache rotation - #52
Merged
Merged
Conversation
GitHub Actions Integration
✅ All 1 passed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
👋 Background
GitHub Releases HTTP 504 responses exhausted mise-action v4's short, fixed download retries before Gitleaks could run. The common setup action also needs a bounded cache retry policy and periodic cache refresh.
🔗 Related Issues
Port of merged https://github.com/datarize-infra/github-actions/pull/29
Failing Helm charts job
mise-action v5.2.7 release
⚙️ Description
Upgrade the single setup step to
jdx/mise-action@v5.2.7and configure:mise_minimum_release_age72hmise_versionis empty.cache_max_age_days14cache_restore_retry_budget60scache_save_retry_budget120sfetch_from_githubtruepersist_github_tokentruemonorepofalseThe wrapper input
mise_minimum_release_ageis forwarded to upstreamminimum_release_age.Download retries use the upstream exponential backoff with jitter: five waits of 1–2s, 2–4s, 4–8s, 8–16s and 15–30s, retrying transport errors and HTTP 408/429/5xx. There are no wrapper retries or duplicated setup steps.
Cache retries apply only to HTTP 429, honor Retry-After plus jitter, and stop when the next wait would exceed the budget. Cache misses and save-reservation conflicts are not retried. The budgets cover retry waits, not total network-operation time. Custom
cache_keyvalues must include{{cache_period}}or{{default}}to retain periodic rotation.Download fallback is available for future callers, but is not active by default. The mise CLI stays pinned to
v2026.10.8. In v5.2.7, fallback requires both the version and release age to be empty; evenmise_minimum_release_age: 0sis treated as an age-filtered install. A caller can explicitly opt into latest-only GitHub → CDN fallback with:Setting
fetch_from_github: "false"reverses source preference when eligible. Pinned or age-filtered installs always use GitHub. Signed verification still applies; this is not independence from all GitHub endpoints.🚨 To Reviewers
@main, so its bootstrap does not execute this branch's new action version before merge.