[Bug] Workflow fails due to hub download issues
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- github-actions
- Domain
- ci-cd
Research direction
Start by reviewing the linked GitHub Actions runs and the workflow step that installs hub. Compare whether caching, retry logic, or replacing hub with gh best addresses the intermittent 504 failure, then verify the workflow completes reliably without the reported installation error.
Written by the indexing model from the issue text.
Description
Current Behaviour
The workflow occasionally fails due to hub installation issues.
This does not happen very frequently -- roughly once a month -- and is considered low priority.
e.g.
- https://github.com/z-Fng/Scoop-Test-Bucket/actions/runs/20497511654/job/58899331916
- https://github.com/ScoopInstaller/Extras/actions/runs/17915290231/job/50935960703
- https://github.com/ScoopInstaller/Extras/actions/runs/21493630169/job/61922510396
'USE_EXTERNAL_7ZIP' has been set to 'True'
Installing 'hub' (2.14.2) [64bit] from 'main' bucket
The remote server returned an error: (504) Gateway Time-out.
URL https://github.com/github/hub/releases/download/v2.14.2/hub-windows-amd64-2.14.2.zip is not valid
WARN 'hub' not found, not a scoop shim, or a broken shim.
Please install hub 'scoop install hub'
INFO: Scheduled finished
Possible Solution
- Add caching and/or retry logic to improve reliability.
- Use the built-in
ghtool in GitHub Actions instead ofhub.
- Dominant language
- PowerShell
- Stars
- 32
- Forks
- 30
- Avg merge
- 6h 43m
- Merged PRs (30d)
- 5
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ScoopInstaller/GithubActions
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
ScoopInstaller/GithubActions#89 · 2 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 48/100
ScoopInstaller/GithubActions#81 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
ScoopInstaller/GithubActions#64 · 6 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
All issues in ScoopInstaller/GithubActions
Similar issues
-
kind/bug Ubuntu 24
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kubernetes-sigs/kubespray#13532 ·
-
Needs Design Priority: Wishlist
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
elementary/flatpak-platform#253 ·
-
tagbot-manual
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100