Commit Graph

849 Commits

Author SHA1 Message Date
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