-
Notifications
You must be signed in to change notification settings - Fork 45
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
Please provide archives for releases #43
Comments
Using https://mirror.bazel.build/github.com/bazelbuild/rules_android/archive/v0.1.1.zip for now I suppose |
Github made a change that caused the zips to change, they've since rolled it back: Let's leave this issue open though in case Github decides against making guarantees around these zip files. |
Per that thread (emphasis mine):
Given this should the README for this repo update the URL in its example to the URL available from the release page rather than the download URL ? Download URL: For me at least the former is still producing inconsistent output and the latter is consistent |
Previous URL started returning a zip archive with a different checksum: bazelbuild/rules_android#43 Signed-off-by: JP Simard <jp@jpsim.com>
Previous URL started returning a zip archive with a different checksum: bazelbuild/rules_android#43 Signed-off-by: JP Simard <jp@jpsim.com>
They all seem to match for me now:
Perhaps the rollback is gradual? |
Worked with @ahumesky to get to the bottom of what might be going on right now (and a huge thank you to him for helping me with this) As of right now it appears that the link
this explains why @ahumesky discovered that the difference between the http/1.1 and http2 versions was the timestamps between the files inside the zip archives. Per https://twitter.com/tgummerer/status/1488493440103030787 the hashes should be matching but there still appears to be a lingering bug for http/1.1 responses, presumably the repackaged zip files are cached incorrectly. Updating the link to instead be it is hard to say if this is by design ( |
There's some discussion in the Bazel slack community about this as well. https://bazelbuild.slack.com/archives/CA31HN1T3/p1643720300781339 |
Using one of the examples from that Slack thread I can see that it's not only http/2 causing the issue as one of the examples there does produce differing files despite not forcing http/1.1
consistent with emscripten and this repo, replacing If I make multiple requests over time to At this point I believe the following are true:
Unproven (but not disproven afaik, I'm hoping this is true):
Hopefully this sorts itself out tomorrow, I raised a bug against GitHub, hopefully we can get some sort of guarantee around archive consistency. |
This is a work around for the issue described in bazelbuild/rules_android#43. PiperOrigin-RevId: 425808991
@ahumesky both that tweet you linked to and the issue I linked to mention that GitHub does not guarantee these are stable, the only way is to download the tarball at release creation and upload it as an asset. Even though this time the archive/ref links didn't change GitHub is reserving the right too https://twitter.com/tgummerer/status/1488493481874055173?s=20&t=447rsX6z1sn19TUvqSdVzw |
Related: bazelbuild/bazel#15128 (comment) |
Previous URL started returning a zip archive with a different checksum: bazelbuild/rules_android#43 Signed-off-by: JP Simard <jp@jpsim.com>
We're getting a failure in our CI because Github Actions is getting a different tarball shasum for this repo, this is a known issue that those shas can change over time: Homebrew/homebrew-core#18044
Please upload a stable release asset for these rules
The text was updated successfully, but these errors were encountered: