Coder Social home page Coder Social logo

Comments (7)

bryanmacfarlane avatar bryanmacfarlane commented on July 20, 2024 3

@VascoFerraro - please report the node issues in the setup-node repo. Note that nodejs is having outages this morning (where that targz is downloaded from).

@de-jcup I think the same thing may have happened with setup go.

I think both should validate the download targz after downloading with a sha or checksum before attempting to extract. In some failure cases, if it's being streamed and they are having issues, it can lead to an incomplete, zero byte or corrupt targz.

from setup-go.

bryanmacfarlane avatar bryanmacfarlane commented on July 20, 2024 1

@de-jcup We are working on a CDN cache to insulate from these type of issues and get better perf from locality of data centers with edge caching. We are also working on getting latest versions directly on the hosted VM images to short circuit any downloads at all in common cases:

actions/toolkit#382

In the meantime, you may also want to try setup-go@v2-beta which added some better error handling and retries. I'm hoping to release v2 today so maybe wait for that.

from setup-go.

VascoFerraro avatar VascoFerraro commented on July 20, 2024

I have been seeing this since this morning.

pipeline

from setup-go.

qnkhuat avatar qnkhuat commented on July 20, 2024

Same here. I got 2/12 success build today.

from setup-go.

de-jcup avatar de-jcup commented on July 20, 2024

@bryanmacfarlane Thank you for your reply. Maybe it would be better for GitHub actions to have a cache mechanism or a proxy server for standard binaries/parts (e.g. gradle, maven, go, java , etc.) so become more independant from other servers?

At business I normally use repository servers (e.g. artifactory, NEXUS, etc.) to reduce network traffic, maybe even check security vulnerabilites in libraries and also become independent from external network.

Another option would be : GitHub does provide GitHub Packages itself. So maybe using GitHub Packages for those dependencies could be an option as well?

from setup-go.

bhautikpip avatar bhautikpip commented on July 20, 2024

Same here. I have been seeing this error since today morning. (https://github.com/aws/aws-xray-sdk-go/pull/194/checks?check_run_id=565254625)

from setup-go.

bryanmacfarlane avatar bryanmacfarlane commented on July 20, 2024

setup-go@v2 is released and has better error handling for this error (with retries). So I'm going to close this. There's a larger effort started to cache some of these distributions but that's tracked elsewhere.

from setup-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.