Commit Graph

931 Commits

Author SHA1 Message Date
eshitachandwani f9bc335fc5
deps: update dependencies for all modules (#7987)
deps: update dependencies for all modules
2025-01-13 09:39:03 +05:30
Doug Fawley e8d5feb181
rbac: add method name to :path in headers (#7965) 2024-12-24 17:03:29 +05:30
Arjan Singh Bal e912015fd3
cleanup: Fix usages of non-constant format strings (#7959) 2024-12-23 13:34:22 -08:00
janardhanvissa 681334a461
cleanup: replace dial with newclient (#7943) 2024-12-23 11:11:43 -08:00
Arjan Singh Bal bce0535003
test: Add a test for decompression exceeding max receive message size (#7938) 2024-12-23 09:48:51 +05:30
Arjan Singh Bal e957825109
test: Workaround slow SRV lookups in flaking test (#7957) 2024-12-20 22:29:13 +05:30
janardhanvissa 56a14ba1f8
cleanup: replace dial with newclient (#7920) 2024-12-18 14:13:10 -08:00
pvsravani b3bdacbb55
test: switching to stubserver in tests instead of testservice (#7925) 2024-12-18 10:14:42 -08:00
Arjan Singh Bal cc161defef
xds: Add support for multiple addresses per endpoint (#7858) 2024-12-16 10:18:25 +05:30
Arjan Singh Bal 38a8b9a705
health, grpc: Deliver health service updates through the health listener (#7900) 2024-12-12 11:50:25 +05:30
janardhanvissa b1f70ce055
test: replace grpc.Dial with grpc.NewClient 2024-12-10 16:18:57 +05:30
Easwar Swaminathan adad26df18
test/kokoro: Add psm-fallback build config (#7899) 2024-12-05 15:50:47 -08:00
Purnesh Dixit 645aadf4bd
deps: update dependencies for all modules (#7904) 2024-12-05 17:46:58 +05:30
Arjan Singh Bal 634497b758
test: Split import paths for generated message and service code (#7891) 2024-12-03 12:30:29 +05:30
Arjan Singh Bal 00272e8024
dns: Support link local IPv6 addresses (#7889) 2024-12-03 11:06:10 +05:30
janardhanvissa dcba136b36
test/xds: remove redundant server when using stubserver in tests (#7846) 2024-11-25 12:57:01 +05:30
janardhanvissa 1e7fde9308
test: Add unit test for channel state waiting for first resolver update (#7768) 2024-11-19 13:54:19 -08:00
Purnesh Dixit 36d5ca0fae
stats: deprecate trace and tags methods and remove all usages from internal code (#7837) 2024-11-19 09:37:12 +05:30
Easwar Swaminathan 66385b28b3
clusterimpl: propagate state update from child when drop/request config remains unchanged (#7844) 2024-11-14 14:11:05 -08:00
Arjan Singh Bal 274830d67a
balancer: Add a SubConn.RegisterHealthListener API and default implementation (#7780) 2024-11-13 12:22:49 +05:30
Arjan Singh Bal 3db86e2e4b
deps: Remove go patch version from go.mod (#7831) 2024-11-13 01:21:41 +05:30
Arjan Singh Bal 74738cf4aa
grpc: Remove health check func dial option used for testing (#7820) 2024-11-08 11:27:35 +05:30
janardhanvissa ada6787961
cleanup: switching to stubserver in tests instead of testservice implementation (#7708) 2024-10-28 19:51:57 +05:30
Purnesh Dixit 98959d9a49
deps: update dependencies for all modules (#7755)
* Update gRPC-Go's dependency versions on master

* update protos

* disabled redefines-builtin-id lint rule
2024-10-18 21:07:37 +05:30
Arjan Singh Bal 00b9e140ce
pickfirst: New pick first policy for dualstack (#7498) 2024-10-10 09:33:47 +05:30
Arjan Singh Bal b8ee37db62
pickfirst: Move var for mocking the shuffle func from internal/internal to pickfirst/internal (#7698) 2024-10-09 15:09:17 +05:30
Easwar Swaminathan 5e6f4b9acc
xds: misc test cleanup (4/N) (#7695) 2024-10-07 16:35:58 -07:00
Arjan Singh Bal 67e47fc3c1
xds: Fix flaky test TestUnmarshalListener_WithUpdateValidatorFunc (#7675) 2024-10-03 10:58:15 +05:30
Doug Fawley ca4865d6dd
balancer: automatically stop producers on subchannel state changes (#7663) 2024-09-30 08:42:42 -07:00
Daniel Liu 7aee163272
xds: add xDS transport custom Dialer support (#7586) 2024-09-26 22:15:17 -07:00
Arjan Singh Bal 31ffeeeb00
Deps: Bump Go version in Dockerfiles and test/kokoro/xds.sh (#7629) 2024-09-13 22:12:37 +05:30
Arjan Singh Bal 393fbc3ad6
Update dependencies after 1.67 branch cut (#7624) 2024-09-13 11:01:29 +05:30
Arvind Bright 8320224ff0
.*: revive from unused_parameters (#7577) 2024-08-30 10:41:30 -07:00
Abhishek Ranjan 9feed00eee
balancer/wrr: prefer calling Equal() method of time.Time (#7529) 2024-08-26 10:35:54 -07:00
Paul Chesnais 9ab8b62505
Implement new Codec that uses `mem.BufferSlice` instead of `[]byte` (#7356) 2024-08-21 14:11:39 -07:00
Easwar Swaminathan 7e12068baf
bootstrap: add `String` method to ServerConfigs type (#7537) 2024-08-20 14:08:51 -07:00
Jonathan Halterman 6a5a283b69
Use builtin min and max functions (#7478)
* Use builtin min and max functions

Go added builtin min and max functions in 1.21. This commit removes existing functions and uses the built-ins in stead.

* Revert gofmt changes
2024-08-20 10:42:02 +05:30
Arjan Singh Bal 90caeb34c8
deps: update dependencies for all modules (#7531)
* Bump dependencies after release branch cut

* Regenerate protos
2024-08-19 22:54:01 +05:30
Easwar Swaminathan 6d7f07c99f
test/tools: update staticcheck version to latest (#7509) 2024-08-14 14:32:55 -07:00
Nathan Baulch c8951abc16
*: fix minor typos (#7487)
* Fix typos

* Fix reflecton tests
2024-08-14 22:43:01 +05:30
Zach Reyes 54b48f7e46
balancer/weightedroundrobin: Add recording point for endpoint weight not yet usable and add metrics tests (#7466) 2024-08-09 20:04:05 -04:00
Gayathri625 6d0aaaec1d
grpc: make client report `Internal` status when server response contains unsupported encoding (#7461) 2024-08-06 10:57:21 -07:00
Purnesh Dixit e524655bec
tools: Add github.com/mgechev/revive (#7472)
* Add github.com/mgechev/revive

* only print the linting issues

* remove redirection to file

* print the revive output

* default formatter to grep easily

* exclude unused-parameter

* plain formatter for excluding only unused-parameter
2024-08-02 21:39:53 +05:30
Zach Reyes 1feeaecf24
stats: Add optional locality label in cluster_impl picker (#7434) 2024-07-24 20:06:57 -04:00
Arjan Singh Bal ac5a7fe417
xds: Fix flaky test Test/ServerSideXDS_WithValidAndInvalidSecurityConfiguration (#7411) 2024-07-23 22:06:59 +05:30
Easwar Swaminathan e54f441abe
xds: make fallback bootstrap configuration per-process (#7401) 2024-07-10 13:32:13 -07:00
Ricardo Fernández f64a6a3977
test/channelz: change channelz_test to use write data (#7396) 2024-07-09 13:09:21 -07:00
Sreenithi Sridharan 53a5c415e6
interop/lb: Increase Go PSM LB test timeout to 300min (#7393) 2024-07-08 13:46:35 -07:00
hasson82 bdd707e642
scripts: add linter rule for using context.WithTimeout on tests (#7342) 2024-07-03 19:22:54 -04:00
Mike Kruskal 98e5deebae
cmd/protoc-gen-go-grpc: enable edition 2023 support (#7351) 2024-06-26 10:34:11 -07:00
Easwar Swaminathan f1b7f4132e
xds/bootstrap: add testing support to generate config (#7326) 2024-06-21 07:01:24 -07:00
Ikko Eltociear Ashimine 970f390476
test: fix typo in pickfirst_test.go (#7332) 2024-06-20 10:20:35 -07:00
Arjan Singh Bal e40eb2e2c1
deps: update dependencies for all modules (#7310) 2024-06-07 09:56:56 -07:00
Easwar Swaminathan 7e5898e7c5
xds: unify xDS client creation APIs meant for testing (#7268) 2024-06-03 15:32:58 -07:00
Arvind Bright 32f60917be
*: update deps (#7282) 2024-05-31 13:36:20 -07:00
Arvind Bright 8bf2b3ee6e
grpcrand: delete all of grpcrand and call the rand package directly (#7283) 2024-05-31 11:32:53 -07:00
Zach Reyes 0756c0d67e
stats: Various CSM Observability bug fixes (#7278) 2024-05-29 19:23:32 -04:00
Arvind Bright 58cfe27883
deps: update dependencies for all modules (#7274) 2024-05-29 09:40:18 -07:00
Ian Moore 03da31acc6
client: implement maxAttempts for retryPolicy (#7229) 2024-05-24 11:20:00 -07:00
Sergii Tkachenko 092e793c64
test/kokoro: Add psm-csm build config (#7263) 2024-05-23 17:36:33 -04:00
Zach Reyes 1db6590e40
grpc: Move Pick First Balancer to separate package (#7255) 2024-05-22 16:26:02 -04:00
Abhishek Ranjan a639c40f57
test: fix flaky test ClientSendsAGoAway (#7224) 2024-05-22 11:18:28 -07:00
Zach Reyes 0a0abfadb7
stats/opentelemetry: Add CSM Plugin Option (#7205) 2024-05-21 19:23:44 -04:00
Sergii Tkachenko f2d6421186
test/kokoro: simplify PSM Interop Kokoro buildscripts (#7171) 2024-05-03 19:13:26 -07:00
Arvind Bright f167ad675d
test: fix possible leaked goroutine in TestDetailedConnectionCloseErrorPropagatesToRpcError (#7183) 2024-05-03 11:02:22 -07:00
Doug Fawley a87e923c4b
channelz: fix missing Target on SubChannel type (#7189) 2024-05-03 10:50:09 -07:00
hakusai22 273fe145d0
*: fix typos (#7178) 2024-05-02 16:54:22 -07:00
Abhishek Ranjan 796c61536a
grpc: update clientStreamAttempt context with transport context (#7096) 2024-05-02 10:30:00 -07:00
Elisha Silas 09e6fddbcd
Update docs and examples and tests to use NewClient instead of Dial (#7068)
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
Co-authored-by: Doug Fawley <dfawley@google.com>
2024-04-19 10:55:23 -07:00
Abhishek Ranjan f268126950
Send GOAWAY to server on Client Transport Shutdown (#7015) 2024-04-17 14:20:12 -07:00
Zach Reyes 431436d66b
examples: Add custom load balancer example (#6691) 2024-04-17 13:04:30 -04:00
Zach Reyes b37cd8133a
xds: Process telemetry labels from CDS in xDS Balancers (#7116) 2024-04-15 19:01:54 -04:00
Sergii Tkachenko 0baa668e3d
test/kokoro: Migrate PSM Interop to Artifact Registry (#7102) 2024-04-08 15:53:21 -07:00
Doug Fawley ec257b4e1c
channelz: pass parent pointer instead of parent ID to RegisterSubChannel (#7101) 2024-04-08 10:01:16 -07:00
Zach Reyes ba1bf9e7e0
deps: update dependencies for all modules (#7061) 2024-03-27 14:42:11 -04:00
Doug Fawley c003fdf4be
channelz: add LocalAddr to listen sockets and test (#7062) 2024-03-21 20:48:10 -04:00
Doug Fawley faf9964afe
gracefulswitch: add ParseConfig and make UpdateClientConnState call SwitchTo if needed (#7035) 2024-03-19 11:35:17 -07:00
Doug Fawley 800a8e02b5
channelz: re-add state for subchannels (#7046) 2024-03-19 10:53:53 -07:00
Doug Fawley dadbbfa286
channelz: re-add target and state (#7042) 2024-03-18 15:31:19 -07:00
Doug Fawley 55cd7a68b3
channelz: major cleanup / reorganization (#6969) 2024-03-15 11:13:53 -07:00
yeahyear 4f43d2e91d
chore: remove repetitive words (#7036) 2024-03-13 09:43:37 -07:00
Gina Yeh 27c5d98b94
deps: update dependencies for all modules (#7007) 2024-02-28 11:15:27 -08:00
Arvind Bright 90fc697165
xdsclient: use dataplane authority for virtualhost lookup (#6997) 2024-02-28 11:08:09 -08:00
Sercan Değirmenci 76a23bf37a
fix enabling compression by trimming whitespaces in accept encoding header (#6952) 2024-02-20 15:12:22 -08:00
Anand Inguva 7525e9885f
test: add test for invalid streamID (#6940) 2024-02-20 11:15:18 -08:00
Clément Jean 02858ee506
deps: move from github.com/golang/protobuf to google.golang.org/protobuf/proto (#6919)
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
Co-authored-by: Doug Fawley <dfawley@google.com>
2024-01-30 10:59:10 -08:00
Zach Reyes 5051eeae53
grpc: Update go mod (#6939) 2024-01-24 19:10:36 -05:00
Zach Reyes 52e23632fc
test/xds: Use different import path for gRPC Messages (#6933) 2024-01-22 19:31:38 -05:00
Zach Reyes ddd377f198
xds/server: fix RDS handling for non-inline route configs (#6915) 2024-01-16 19:03:18 -05:00
James Roper 3a8270f8b6
grpc: skip compression of empty messages (#6842)
Fixes #6831.

This avoids compressing messages that are empty, since you can't compress zero
bytes to anything smaller than zero bytes, and most compression algorithms
output headers and trailers which means the resulting message will be non-zero
bytes.
2024-01-09 10:18:23 -08:00
Gina Yeh 5a36bb7be5
fix 'identitiy' typo in error message (#6909)
* Typo fixing.
2024-01-08 14:05:43 -08:00
Antoine Tollenaere 6bc19068a7
xds: add support for mTLS Credentials in xDS bootstrap (#6757) 2024-01-04 12:34:53 -08:00
Easwar Swaminathan bb0d32f078
xds: don't fail channel/server startup when xds creds is specified, but bootstrap is missing certificate providers (#6848) 2023-12-19 16:30:43 -08:00
Sergii Tkachenko df02c114bb
test/kokoro: Use the Kokoro shared install lib from the new repo (#6859) 2023-12-15 14:54:22 -08:00
Easwar Swaminathan 477bd62419
xds/internal/resolver: switch to generic xDS API for LDS/RDS (#6729) 2023-12-07 14:39:06 -08:00
Doug Fawley 232054a883
client: remove deprecated WithServiceConfig DialOption (#6800) 2023-11-15 11:17:10 -08:00
Arvind Bright 40c279a85d
deps: update dependencies for all modules (#6795) 2023-11-14 12:58:37 -08:00
Doug Fawley 8b17a4dbc3
vet: various cleanups (#6780) 2023-11-10 13:01:59 -08:00
Fabian Holler 70f1a4045d
grpc: Wait until resources finish cleaning up in Stop() and GracefulStop() (#6489) 2023-10-31 13:12:43 -04:00
Doug Fawley 8190d883e0
envconfig: remove env vars for on-by-default features (#6749) 2023-10-26 13:08:20 -07:00