google / google/wireit

Error Thrown by Wireit GitHub Actions Cache on Node.js Version 20 running on GitHub Enterprise Server

Open
#981 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
6.4k
Forks
128
Avg merge
4d 10h
Merged PRs (30d)
4

Description

### Environment
Node: v18.18.2 => v20.9.0
GitHub Enterprise Server 3.8.11
Wireit: 0.14.1

we use github action cache
~~~yaml
- uses: google/wireit@setup-github-actions-caching/v1
~~~

Upon running tests, we encounter the following error:

~~~
Failed to download GitHub Actions cache tarball: GitHub Cache download TCP error
~~~

The challenge lies in the limited information provided by this error message. The code snippet [here](https://github.com/google/wireit/blob/main/src/caching/github-actions-cache.ts#L568) reveals that only an error message is logged, without details such as the actual URL or specific error messages. This lack of detailed logging makes it challenging to diagnose and resolve the issue effectively.

Notably, reverting to Node.js version 18.18.2 circumvents this error, indicating a potential compatibility issue with Node.js version 20.

I tried with different logging settings and even tried with github debug logging. I see WIRE it environment variables are set properly.

Your support in resolving this matter is greatly appreciated. Thank you.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.