Commit Graph

5173 Commits

Author SHA1 Message Date
Nathan Baulch 3b626a7b52
*: fix more typos (#7619) 2024-09-16 10:58:27 -07:00
Purnesh Dixit 04e78b0faf
.*: fix lint issues of not having comments for exported funcs and vars along with any remaining issues and enable remaining disabled rules (#7575)
* .*: fix lint issues of not having comments for exported funcs and vars along with any remaining issues and enable remaining disabled rules
2024-09-16 09:09:49 +05:30
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
Easwar Swaminathan cf5d5411d5
stubserver: support xds-enabled grpc server (#7613) 2024-09-12 15:00:20 -07:00
Purnesh Dixit b6fde8cdd1
vet: add check for trailing spaces (#7576)
* vet: trailing spaces check
2024-09-12 11:40:38 +05:30
Mikhail Mazurskiy 7fb7ac747b
mem: replace flate.Reader reference (#7595) 2024-09-11 10:14:38 -07:00
Purnesh Dixit 8f920c6c56
Change version to 1.68.0-dev (#7601) 2024-09-09 13:34:11 -07:00
janardhanvissa 3ffb98b2c9
.*: fix revive lints `redefines-builtin-id` (#7552)
* Fix revive identified linter issues: redefines-builtin-id
---------

Co-authored-by: Vissa Janardhan Krishna Sai <vissajanardhan@google.com>
Co-authored-by: Purnesh Dixit <purnesh.dixit92@gmail.com>
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
2024-09-08 01:36:51 +05:30
Purnesh Dixit 56660492e4
vet: enforce revive linter (#7589)
* enforce revive for issues that are already fixed
2024-09-06 23:13:30 +05:30
janardhanvissa c6ad07fa04
protoc: regenerate protos (#7590)
* Regenerating proto files

---------

Co-authored-by: Vissa Janardhan Krishna Sai <vissajanardhan@google.com>
2024-09-06 21:03:53 +05:30
Arjan Singh Bal 70f19eecd1
credentials/tls: default GRPC_ENFORCE_ALPN_ENABLED to true (#7535) 2024-09-04 16:54:56 +05:30
Easwar Swaminathan 92111dc366
xds: keep ads flow control local to xdsclient/transport package (#7578) 2024-09-03 11:21:57 -07:00
Easwar Swaminathan 535bdce10d
estats: remove dependency on testing package (#7579) 2024-09-03 11:21:12 -07:00
janardhanvissa 0f03c747b1
.*: fix revive lint issues `unused-parameter` (#7580) 2024-09-03 09:32:50 -07:00
Mikhail Mazurskiy 6147c81cd0
stats/opentelemetry: Optimize slice allocations (#7525) 2024-09-03 08:13:28 -07:00
Purnesh Dixit cd05c9e58f
.*: fix revive package-comments lint issues (#7574)
* .*: fix revive package-comments lint issues

* add example names to package comment

* improve grammer
2024-09-03 11:35:19 +05:30
Abhishek Ranjan 00514a78b1
xds/clusterimpl: update UpdateClientConnState to handle updates synchronously (#7533) 2024-08-30 11:48:58 -07:00
Codey Oxley 093e099925
grpc: fix regression by freeing request bufferslice after processing unary (#7571) 2024-08-30 11:14:41 -07:00
Arvind Bright 8320224ff0
.*: revive from unused_parameters (#7577) 2024-08-30 10:41:30 -07:00
Arvind Bright 845f62caf4
stats/otel: upgrade grpc version that contains the experimental/stats package (#7545) 2024-08-29 14:34:13 -07:00
Arjan Singh Bal 55d820d900
clusterresolver/e2e_test: Avoid making DNS requests (#7561)
* Avoid making a DNS request in aggregated_cluster_test

* Mock DNS resolver
2024-08-29 21:05:17 +05:30
janardhanvissa 52961f77b0
grpc: add docs for generic stream interfaces (#7470)
* Adding Inline comments for stream interfaces in stream_interfaces.go

* Updating the Inline comments for stream interface in detail

* Removing Inline comments for parent interfaces(ClientStream,ServerStream)

* Updating the description of stream interfaces in stream_interfaces.go file

* Updated the description as per the comments

* Updating the description as per the comments addressed

* Updating the description as per the comments addressed

* Reverting generated code line

* Removing extra space in generated code line

* Updated the stream interfaces description as per the documentation and comments

* Moving error and end of stream to interface docstring

* dummy commit for re-trigger

* Moved bidi handler line to interface docstring, updated the send in server stream and moved error lines to separate line

* Fixed linter issues for superfluous-else, increment-decrement, indent-error-flow, var-declaration

* Reverting context-as-argument in server.go

* Revert "Optimising the code by fixing var-declaration, indent-error-flow, increment-decrement, superfluous-else"

* Formatting comments and updating the docstring

* Formatting comments

* Updated the description by adding newline before the sentence.

* updating file for format description

* Doc updates

* Remove leading spaces

* Add comment to explain how to close streams from Servers

---------

Co-authored-by: Doug Fawley <dfawley@google.com>
2024-08-29 11:02:05 +05:30
Gregory Cooke 005b092ca3
examples/advancedtls: example code for different security configurations for grpc-go using `advancedtls` (#7474)
Add examples of advanced tls usage
2024-08-26 17:30:18 -07:00
Arjan Singh Bal 0b6f354315
xdsclient: Populate total_issued_requests count in LRS load reports (#7544)
* Populate isssued count in LRS load report

* Test success, error and issued counts

* Make pass/faiil fractions unequal
2024-08-27 02:09:57 +05:30
Arjan Singh Bal c535946889
grpc: Fix flaky picker_wrapper tests (#7560)
* Wait for go routines to finish before cancelling the context

* improve error messages
2024-08-27 00:18:44 +05:30
Abhishek Ranjan 9feed00eee
balancer/wrr: prefer calling Equal() method of time.Time (#7529) 2024-08-26 10:35:54 -07:00
bytetigers a8e6e11cf0
.*: Use `strings.ReplaceAll(.....)` (#7554) 2024-08-26 10:09:35 -07:00
Arjan Singh Bal 6d976887d4
xds/xdsclient: Fix flaky test TestLRSClient (#7559) 2024-08-26 22:16:55 +05:30
Doug Fawley cfd14baa82
encoding: delete v1 proto codec and use one map for registry (#7557) 2024-08-23 16:26:07 -07:00
janardhanvissa 3d95421758
Fix revive identified linter issues: var-declaration, indent-error-flow, increment-decrement, superfluous-else (#7528)
* Fixed linter issues for superfluous-else, increment-decrement, indent-error-flow, var-declaration

* Reverting context-as-argument in server.go

* Revert "Optimising the code by fixing var-declaration, indent-error-flow, increment-decrement, superfluous-else"

* Optimising the code by fixing var-declaration, indent-error-flow, increment-decrement, superfluous-else

* dummy commit for re-trigger
2024-08-23 17:00:29 +05:30
Arjan Singh Bal e4b09f111d
Remove trailing whitespace in testing.yml (#7551) 2024-08-22 23:02:59 +05:30
Doug Fawley 0a5b8f7c9b
balancer: disallow producer streams until SubConn has reported READY (#7523) 2024-08-21 15:36:02 -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
Antoine Tollenaere ee5cbce343
ringhash: fix bug where ring hash can be stuck in transient failure despite having available endpoints (#7364) 2024-08-20 10:39:14 -07:00
Menghan Li 1e2bb717e0
doc: update keepalive ClientParameters doc about doubling the interval upon GOAWAY (#7469) 2024-08-20 10:10:37 -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
Doug Fawley f8d98a477c
rbac: fix usage of AuthInfo (#7522) 2024-08-16 15:03:58 -07:00
Abhishek Ranjan 4e29cc6e31
transport: add timeout for writing GOAWAY on http2Client.Close() (#7371) 2024-08-16 14:57:44 -07:00
Arjan Singh Bal b45fc413ca
Change version to 1.67.0-dev (#7520) 2024-08-16 23:05:38 +05:30
Abhishek Ranjan 63853fd5d2
rls: update picker synchronously on configuration update (#7412) 2024-08-16 10:00:19 -07:00
Easwar Swaminathan 86135c37f3
csds: unskip e2e test (#7502) 2024-08-15 12:48:46 -07:00
Ricardo Fernández 5d07b636a7
transport: change `*http2Client` to interface `ClientTransport` (#7512) 2024-08-15 09:09:27 -07:00
Easwar Swaminathan c98235b960
grpclog: refactor to move implementation to grpclog/internal (#7465) 2024-08-14 16:54:38 -07:00
Zach Reyes 7ec3fd2860
balancer/rls: Fix RLS Cache metrics (#7511) 2024-08-14 17:55:11 -04:00
Easwar Swaminathan 6d7f07c99f
test/tools: update staticcheck version to latest (#7509) 2024-08-14 14:32:55 -07:00
Zach Reyes 9706bf8035
balancer/rls: Add cache metrics (#7495) 2024-08-14 15:25:44 -04:00
Nathan Baulch c8951abc16
*: fix minor typos (#7487)
* Fix typos

* Fix reflecton tests
2024-08-14 22:43:01 +05:30