-
Notifications
You must be signed in to change notification settings - Fork 12
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
Handle ERROR: While executing gem ... (Zlib::BufError)
?
#31
Comments
Do you have a suggestion on how to address this? |
Not yet :) |
Try to make the action more stable (main issue is fedora-ruby/gem-compare#31)
Try to make the action more stable (main issue is fedora-ruby/gem-compare#31)
For now I've worked around this issue with retries outside |
Maybe ruby/zlib#61 will make a difference for this (just a guess) |
Could you try with the latest rubygems? We recently added something that will give a better report when a file reaches an eof unexpectedly. It might at least reveal if this is a problem with the downloaded file. For what it's worth, gem-compare is simply calling |
Yes, it would be better to open an issue in RubyGems and/or Zlib, and just link the issue. |
I'm not running Here's a recent run using Ruby 3.1.4 where the problem still showed: https://github.com/Starkast/wikimum/actions/runs/6154045239/job/16698800533#step:2:85 Here's a recent run using Ruby 3.2.2 where the problem still showed: Looks like Ruby 3.2.2 ships with RubyGems 3.4.10? Is that recent enough? I guess I could always install the latest RubyGems at the cost of somewhat slower CI runs. |
I've seen this happening a couple of times:
This is probably not the fault of this plugin, rather a temporary transport/network issue. Maybe rubygems.org does some rate limiting. Nevertheless, it would be cool to handle it, if possible.
We can see that the first
gem compare
command worked, is the second one fetching the gems again from RubyGems.org?GitHub Actions log at https://github.com/Starkast/wikimum/runs/7173057743?check_suite_focus=true#step:2:454
(I've made an action that runs this plugin on Dependabot PRs and makes comment with the comparison, https://github.com/dentarg/gem-compare)
The text was updated successfully, but these errors were encountered: