Failing to install latest version
- Dominant language
- TypeScript
- Stars
- 153
- Forks
- 23
- Avg merge
- 13h 50m
- Merged PRs (30d)
- 17
Description
### Describe the problem
Run arduino/setup-task@b91d5d2c96a56797b48ac1e0e89220bf64044611
with:
version: 3.x
repo-token: ***
Error: Failed to download version v3.51.0: Error: Unexpected HTTP response: 404
This seems to be because https://github.com/go-task/task/actions/runs/25972099690/job/76345815598 failed.
Can we make the logic more resilient to this? The release doesn't exist yet in github
### To reproduce
Try running `arduino/setup-task@b91d5d2c96a56797b48ac1e0e89220bf64044611`
### Expected behavior
It should work
### 'arduino/setup-task' version
b91d5d2c96a56797b48ac1e0e89220bf64044611
### Additional context
_No response_
### Issue checklist
- [x] I searched for previous reports in [the issue tracker](https://github.com/arduino/setup-task/issues?q=)
- [x] I verified the problem still occurs when using the latest version
- [x] My report contains all necessary details
Contributor guide
Research direction
Start by reproducing the failure with arduino/setup-task@b91d5d2c96a56797b48ac1e0e89220bf64044611 using version 3.x, then inspect the action's version-download logic around the failed workflow run. Done means the action handles a missing GitHub release without failing unexpectedly and still installs the requested version when it becomes available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100