Comments (4)
To add a bit more color here, in our repo we check for unexpected dependencies of our binaries. This is done to reduce binary bloat, to avoid side effects of those dependencies (eg. importing "testing" use to register flags that are exposed by the final binary, but this is no longer the case), and just generally to have a cleaner dependency tree.
A dependency we disallow in production binaries is "testing", which is how we noticed that grpc started depending on it.
from grpc-go.
@aaronbee : Thanks for filing this issue. How do you check for unexpected dependencies of your binaries in your repo? Is that something that you can share with us?
from grpc-go.
We have a small program (that's not open source, sorry) that uses golang.org/x/tools/go/packages to load a package and walk its dependency tree, reporting any uses of forbidden dependencies. Another simple way to this is with go list -deps
which will just print out all the dependencies of a package.
from grpc-go.
Related Issues (20)
- pickfirst: Don't use internal.ShuffleAddressListForTesting directly HOT 1
- grpc usage on unix sockets: strange grpc registry behaviour HOT 2
- Question about option experimental.WithRecvBufferPool HOT 2
- Flake: Test/BlockingPickSCNotReady
- Valid allow-all Authz Policy return permission denied HOT 10
- bug: `FATAL: [core] grpc: Server.RegisterService found duplicate service registration for "grpc.health.v1.Health"` HOT 3
- dualstack: Move resolver re-resolution out of subconn and into pickfirst HOT 1
- Issue: DirectPath side effect imports increase binary size by ~16MiB HOT 2
- xDS load reporting is not populating `total_issued_requests` field in LRS reports
- Reasoning about retry throttling parameters
- Add cancel cause when client sends RST_STREAM frame HOT 3
- Requests go through after about 1000s (16-17 minutes) HOT 11
- NewClient functions behaviour is incompatible with secure forward-proxies HOT 7
- How to give grpc connection Creating a Listener HOT 2
- server.ServeHTTP Experimental Status HOT 9
- encoding.GetCodec(proto.Name) broke in 1.66.0
- Create tests for two potential cardinality violation bugs
- Backport #7571 to 1.66 once merged HOT 1
- Why is Metadata still being used instead of Attributes in clientconn.go?
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 grpc-go.