fix: add retry logic for snap installs across CI workflows
Metadata
Current evaluation
Maintainer-authored CI-only PR adding retry/backoff around snap installs (astral-uv, osv-scanner, codespell, ruff, shellcheck) in lint-python/scan-python/scan-golang, plus actionlint/prettier/shellcheck fixes. All checks green except macos-14.
Suggested action: needs review
Reason: All 22 relevant checks pass (lint-python, python/golang OSV-scanner, zizmor, actionlint, prettier, files, contributors, CLA) and there are zero review comments or unresolved feedback on this maintainer-authored PR; the single failure, 'Default inputs (macos-14)', is an unrelated deprecated-runner issue already fixed by merged starflow#187 ('chore: replace deprecated macos-14 runner with macos-26'). Diff is +100/-40 across CI YAML and a shellcheck helper script only, so it is low-risk but still needs a maintainer to review the inline retry functions and the newly broadened skip logic in .github/shellcheck-actions.sh, which could mask real shellcheck findings. Confidence is moderate rather than high because the underlying diff files could not be inspected directly (repo tool calls returned 'no pinned SHA'), so the exact retry implementation and the macos-14 failure cause are inferred from the PR body and CI metadata.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
42
Quick Win:
21
Complexity:
33
Confidence:
78
Actionability:
76
|
needs review | Maintainer-authored CI-only PR adding retry/backoff around snap installs (astral-uv, osv-scanner, codespell, ruff, shellcheck) in lint-python/scan-python/scan-golang, plus actionlint/prettier/shellcheck fixes. All checks green except macos-14. | |
| stealth/space-bunny-alpha |
Impact:
40
Quick Win:
15
Complexity:
42
Confidence:
58
Actionability:
65
|
needs review | Adds retry-with-backoff for snap installs in lint-python/scan-python/scan-golang workflows, plus actionlint/prettier/shellcheck lint fixes in the shellcheck script and setup-python-runner action. Maintainer-authored, all checks green except macos-14, awaiting review. | |
| stealth/space-bunny-alpha |
Impact:
38
Quick Win:
12
Complexity:
32
Confidence:
84
Actionability:
45
|
needs review | Adds exponential-backoff retries for snap installs in Python/Go lint and scan workflows, plus lint cleanup and runner matrix changes. Relevant scans pass, but 16 integration jobs fail and 3 checks remain pending. | |
| qwen/qwen3.6-35b-a3b |
Impact:
35
Quick Win:
20
Complexity:
10
Confidence:
75
Actionability:
65
|
needs review | Adds retry logic with exponential backoff to snap install commands in scan-python workflow to handle transient 502 errors from the snap store. CI passing, awaiting review with 2 unresolved comments. |
Update history
| Date | Change |
|---|---|
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| updated | |
| created |
Related work
-
Likely Fixed By:
starflow#187
(confidence 82%)
Merged PR replacing the deprecated macos-14 runner with macos-26 in self-test-setup, the same matrix job that is the only red check on this PR.
-
Related To:
canonical/craft-parts#1728
(confidence 55%)
PR body cites this craft-parts run as the source of the transient snap-store 502 failures motivating the retry logic.
Related issues
No related issues found above the similarity threshold.