-
Notifications
You must be signed in to change notification settings - Fork 761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Zipped Artifact Downloads corrupt/incomplete #190
Comments
Any info on this? It's quite important |
I have the same issue. After debugging for so many days, I think the issue with my artifacts is GitHub Actions. I can confirm that the issue is related to the size of the artifact. In my original build, artifact size was ~100MB uncompressed (35MB zipped), and the downloaded file was faulty. But when I reduced the number of artifacts, the downloaded files were normal. |
The code that @actions/upload-artifact uses for artifact uploading is here if anyone wants to take a look: This description of this line of code is interesting to me: |
@aminya I think these functions are for internally uploading the artifacts for use by later jobs in the action (this uses gzip for large files); in my experience downloading in a later job is fine. The download UI and the octokit API for retrieving a download link uses another API (using zip). I think this is not open source but rather on Github's backend? Would be nice if we can at least have a reply on this issue as it is quite severe! |
As far as I can see everything is open source. This library uses |
@aminya I'm not entirely sure about that but see: #107 (comment) |
Oh, yeah. Definitely, GitHub's UI and the code related to the ZIP creation is not open source. What I meant was what this action does here. Maybe we should open a GitHub support ticket instead of an issue in this repository that apparently uploads the files correctly. |
I've opened one :) |
Apologies w.r.t. original issue: the downloaded zip files are in fact not corrupt but just compressed (uncompressing them yields the original expected file). I'm still seeing spotty behavior and files getting dropped, so I've referred to |
Response from Github support |
I am facing this issue : artifact file original size is 245MB but when downloaded it's size is just 22b. |
Closing this as a duplicate of #156 (will be tracked here) Some information on what is going on here: #74 (comment) We've been making gradual updates to the backend so that this happens less frequently. Still no immediate plans for options via the UI or new APIs to download artifacts without zipping given our current priorities and roadmap |
Describe the bug
Version
Environment
Screenshots
N/A
Run/Repo Url
https://github.com/lhl2617/upload-artifacts-dd/actions/runs/729682844
How to reproduce
dd
, but using a different block size yields identical results--is this due to chunking?Additional context
The text was updated successfully, but these errors were encountered: