Comments (5)
This is a widespread issue due to a change by GitHub. A lot of other Bazel repos are getting hit too. Follow here for updates:
from rules_proto_grpc.
This might happen again in the future as Github does not guarantee that tarballs under a release archive (urls like archive/refs/tags/$tag) won't change.
The recommended way is to generate the tarball as a part of the release manually/via CI, as per: https://github.com/orgs/community/discussions/22979#discussioncomment-3238584
"So if you need to be absolutely certain that a release artifact wonβt change, uploading a release artifact is the way to go, whether itβs a duplication in the common case or not."
from rules_proto_grpc.
I can't see GitHub making this change again without a long deprecation period, due to the level of backlash they've seen in the last 24 hours. It'll likely happen accidentally again in the future, but will again be rolled back.
For context of why they cannot realistically ever make this change: for this repo alone I could not publish a static release tar with pinned hashes until every one of our dependencies (of which there are many) have first published a static release tar that I can take the hash of, for which they first have to wait for their dependencies to publish their static release tar, etc etc etc. This process would probably take months and would only take a single core dependency being sluggish to deadlock the entire ecosystem. During this time everyone's builds would be broken, again for maybe months.
When I was considering my next steps yesterday on the chance that it was not not rolled back: the above was becoming a mountain of work (mostly waiting though) just for this repo, so the change would have represented an absurd amount of various maintainers' time just in updating hashes. This is what made the change completely untenable.
However, I agree that publishing a static release tar is prudent now and I shall be looking to add that for upcoming releases but I likely won't be rolling this back into all the old releases.
from rules_proto_grpc.
FYI this is getting reverted upstream, so your builds should come back to green soon β
from rules_proto_grpc.
I've pulled the only local action out of this thread into #251; closing this as the checksums are 'stable' again now
from rules_proto_grpc.
Related Issues (20)
- Allow python_proto_library (and others?) to pass data attribute HOT 2
- Newest version of rules_dotnet HOT 1
- Issues with [email protected] HOT 1
- Need to bump the version of rules_proto from 5.3.0-21.5 to higher version HOT 1
- Allow reducing transitive includes arguments for many generated C++ headers HOT 6
- Python rules_proto_grpc causes Import errors? HOT 3
- Bzlmod integration HOT 16
- handling "." in python_path HOT 2
- python_grpc_library build fail HOT 1
- gateway_grpc_library is broken with latest version of rules_go and gazelle HOT 3
- What is the real difference between compile and library? HOT 3
- Using `extra_protoc_args = ["--csharp_opt=internal_access"],` does not apply to generated services HOT 5
- Investigate using aspect for Rust extern dependency naming
- Bump rules_python HOT 1
- C# `base_namespace` option does not work
- How to build a Cargo crate?
- C# module doesn't build. Missing rules_dotnet definition. HOT 2
- Upgrade `com_google_protobuf` from v21.10 to v24.4 HOT 2
- Dependencies of `com_github_grpc_grpc` are not loaded HOT 3
- Rules break with Bazel 7 due to nocopts HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rules_proto_grpc.