actions / actions/toolkit

[BUG] - @actions/tool-cache- tc.downloadTool - Error: connect ETIMEDOUT 185.199.109.133:443

Open
#1,236 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
5.9k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

For quite a long time, tc.downloadTool (@actions/tool-cache) has worked fine. Now, intermittent failures are logged:

Error: connect ETIMEDOUT 185.199.109.133:443

Not sure if this is a problem here (improper retry logic) or a temporary CDN issue. Most of the url's are files stored in GitHub releases.

To Reproduce
Steps to reproduce the behavior:
NA

Expected behavior
Download completes

Screenshots
NA

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the @actions/tool-cache tc.downloadTool entry point and inspect how it handles GitHub release URLs and ETIMEDOUT failures. Compare the behavior with the expected completed download, then use the repository's existing test coverage for this path to verify the failure is handled.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.