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
Easwar Swaminathan
df8fc99c30
encoding: move codec tests out of top-level test package ( #6728 )
2023-10-13 13:54:26 -07:00
Easwar Swaminathan
ddb026e8a8
experimental: add package and move recv buffer pool APIs into it ( #6692 )
2023-10-12 18:29:29 -07:00
Easwar Swaminathan
3e9b85c6a9
xds/internal/server: stop using a fake xDS client in listenerWrapper tests ( #6700 )
2023-10-12 18:00:12 -07:00
Gina Yeh
afaf31aeeb
deps: update dependencies for all modules ( #6698 )
...
* deps: update dependencies for all modules
* deps: update more dependencies
2023-10-06 12:02:06 -07:00
Peter Štibraný
be7919c3dc
transport: Pass Header metadata to tap handle. ( #6652 )
2023-10-05 14:08:13 -04:00
Doug Fawley
e3f1514cdb
Reapply "status: fix/improve status handling ( #6662 )" ( #6673 ) ( #6688 )
2023-10-05 08:20:01 -07:00
Doug Fawley
9e1fc3e9c0
Revert "status: fix/improve status handling ( #6662 )" ( #6673 )
2023-10-02 12:52:25 -07:00
Doug Fawley
0772ed7355
status: fix/improve status handling ( #6662 )
2023-10-02 09:54:42 -07:00
Easwar Swaminathan
09792b58fb
test: move codec tests to a separate file ( #6663 )
2023-09-26 12:10:12 -07:00
ulas
e61a14d768
fix testing parameter on xds_client_custom_lb_test ( #6646 )
2023-09-22 14:31:07 -07:00
ulas
130bc4281c
Improve testutils.MarshalAny ( #6617 )
2023-09-18 14:05:29 -07:00
Doug Fawley
18059002a5
deps: update dependencies for all modules ( #6582 )
2023-08-29 13:46:27 -07:00
Doug Fawley
81b9df233e
idle: move idleness manager to separate package and ~13s of tests into it ( #6566 )
2023-08-23 12:50:42 -07:00
Doug Fawley
7d35b8ece0
test: speed up TestServiceConfigTimeoutTD from 1.8s to 0.03s ( #6571 )
2023-08-23 08:53:38 -07:00
Doug Fawley
fe1519ecf7
client: fix ClientStream.Header() behavior ( #6557 )
2023-08-18 08:05:48 -07:00
Doug Fawley
33f9fa2e6e
test: speed up two tests ( #6558 )
2023-08-16 13:15:23 -07:00
Zach Reyes
aca07ce97f
xds/internal/xdsclient: Add least request support in xDS ( #6517 )
2023-08-16 16:12:11 -04:00
Doug Fawley
e5d8eac59b
test: improve and speed up channelz keepalive test ( #6556 )
2023-08-16 08:29:13 -07:00
Doug Fawley
fbff2abb0f
*: update `interface{}` to `any` and `go.mod` version to `go 1.19` ( #6544 )
2023-08-14 09:04:46 -07:00
Doug Fawley
a0100790d9
*: remove references to old versions of go ( #6545 )
2023-08-11 14:14:47 -07:00
Doug Fawley
879faf6bb2
test: update client state subscriber test to be not flaky and more stressful about rapid updates ( #6512 )
2023-08-10 15:12:06 -07:00
Doug Fawley
3fa17cc18f
test: speed up test that was taking 10 seconds to timeout ( #6531 )
2023-08-09 14:40:15 -07:00
Doug Fawley
8f51ca8f58
tests: stop using UpdateSubConnState ( #6527 )
2023-08-09 13:56:05 -07:00
Easwar Swaminathan
67a8e73f82
multiple/test: use stub balancer instead of defining wrapped balancers ( #6514 )
2023-08-09 09:34:59 -07:00
my4
2059c6e46c
grpc: report connectivity state changes on the ClientConn for Subscribers ( #6437 )
...
Co-authored-by: Easwar Swaminathan <easwars@google.com>
2023-08-08 11:13:07 -07:00
Doug Fawley
4832debdaa
test: clean up deadlines set in tests ( #6506 )
2023-08-08 09:23:15 -07:00
Doug Fawley
6c0c69efd5
all: replace RemoveSubConn with Shutdown as much as possible ( #6505 )
2023-08-04 10:19:51 -07:00
Doug Fawley
d06ab0d4b9
pickfirst: receive state updates via callback instead of UpdateSubConnState ( #6495 )
2023-08-04 08:14:18 -07:00
Doug Fawley
7aceafcc52
balancer: add SubConn.Shutdown; deprecate Balancer.RemoveSubConn ( #6493 )
2023-08-04 08:10:48 -07:00
Easwar Swaminathan
5d3d9d7ca5
grpc: perform a blocking close of the balancer in ccb ( #6497 )
2023-08-03 11:41:00 -07:00
Easwar Swaminathan
2db7b17a90
test/xds: increase default test timeout ( #6498 )
2023-08-03 10:53:20 -07:00
Zach Reyes
8f496b2a95
test/kokoro: Add bootstrap generator test into Go Kokoro script ( #6463 )
2023-08-01 17:05:12 -04:00
Doug Fawley
94df716d94
resolver: State: add Endpoints and deprecate Addresses ( #6471 )
2023-07-31 09:42:27 -07:00
Easwar Swaminathan
20c51a9f42
pickfirst: add tests for resolver error scenarios ( #6484 )
2023-07-28 11:17:35 -07:00
Easwar Swaminathan
5ce5686d5e
pickfirst: guard config parsing on GRPC_EXPERIMENTAL_PICKFIRST_LB_CONFIG ( #6470 )
2023-07-26 15:46:56 -07:00
Doug Fawley
41d1232703
resolver/weighted_round_robin: remove experimental suffix from name ( #6477 )
2023-07-26 08:55:14 -07:00
Easwar Swaminathan
d7f45cdf9a
xds/server: create the xDS client when the xDS enabled gRPC server is created ( #6446 )
2023-07-20 17:29:12 -07:00
Easwar Swaminathan
d524b40946
multiple: update dependencies after 1.57 branch cut ( #6452 )
2023-07-18 14:09:46 -07:00
Zach Reyes
7aab9c05b7
stats: Add RPC event for blocking for a picker update ( #6422 )
2023-07-18 13:50:03 -04:00
Doug Fawley
02946a3f37
resolver: remove deprecated AddressType ( #6451 )
2023-07-17 13:29:21 -07:00
Easwar Swaminathan
8e9c8f8e71
grpc: do not use balancer attributes during address comparison ( #6439 )
2023-07-11 18:35:39 -07:00
Anirudh Ramachandra
fc0aa4689c
client: encode the authority by default ( #6428 )
2023-07-10 14:48:27 -07:00
Gregory Cooke
67e881c358
xds: E2E Test for Audit Logging ( #6377 )
...
Add E2E Test for Audit Logging through the XDS path
2023-06-29 15:45:33 -04:00
Jaewan Park
1634254ac6
rpc_util: Reuse memory buffer for receiving message ( #5862 )
2023-06-27 08:58:10 -07:00
Easwar Swaminathan
dd931c8036
xds: clusterresolver e2e test cleanup ( #6391 )
2023-06-23 13:22:48 -07:00
Xuan Wang
10f5b50a11
[PSM interop] Don't fail target if sub-target already failed ( #6390 )
2023-06-23 13:48:41 -04:00
Zach Reyes
3c6084b7d4
xds/outlierdetection: fix config handling ( #6361 )
2023-06-09 19:32:27 -04:00
Zach Reyes
3e8eca8088
Revert "client: encode the authority by default ( #6318 )" ( #6365 )
...
This reverts commit 68576b3c42
.
2023-06-09 19:06:18 -04:00
Doug Fawley
6578ef7224
client: handle empty address lists correctly in addrConn.updateAddrs ( #6354 )
2023-06-07 08:37:11 -07:00
Anirudh Ramachandra
68576b3c42
client: encode the authority by default ( #6318 )
2023-06-06 08:36:01 -07:00
Xuan Wang
47f8ed8172
interop: Don't fail target if sub-target already failed ( #6332 )
2023-05-31 17:46:03 -07:00
Doug Fawley
1f23f6c2e0
client: fix Connect to handle channel idleness properly ( #6331 )
2023-05-31 10:23:01 -07:00
Doug Fawley
6c2529bca8
xds: support pick_first custom load balancing policy (A62) ( #6314 )
2023-05-30 09:52:23 -07:00
Doug Fawley
59134c303c
client: add support for pickfirst address shuffling from gRFC A62 ( #6311 )
2023-05-24 10:37:54 -07:00
Easwar Swaminathan
a6e1acfc44
grpc: support sticky TF in pick_first LB policy ( #6306 )
2023-05-23 13:39:38 -07:00
Easwar Swaminathan
9b7a947cdc
grpc: support channel idleness ( #6263 )
2023-05-22 12:42:45 -07:00
Sergii Tkachenko
92e65c890c
test/kokoro: Add custom_lb_test to the xds_k8s_lb job ( #6290 )
2023-05-16 18:20:55 -04:00
Zach Reyes
68381e7bd2
xds: WRR in xDS ( #6272 )
2023-05-12 15:28:07 -04:00
Doug Fawley
fd376a5cbd
test: fix flaky TimeoutOnDeadServer test; some cleanups ( #6276 )
2023-05-12 11:01:06 -07:00
Zach Reyes
1536887cc6
interop/xds: Add Custom LB needed for interop test ( #6262 )
2023-05-11 12:29:32 -04:00
Zach Reyes
5e587344ee
xds: Add support for Custom LB Policies ( #6224 )
2023-05-08 21:29:36 -04:00
Doug Fawley
417cf84607
test: deflake TestBalancerProducerHonorsContext ( #6257 )
2023-05-05 11:08:42 -07:00
Easwar Swaminathan
ccad7b7570
grpc: use CallbackSerializer in resolver_wrapper ( #6234 )
2023-05-04 16:05:13 -07:00
Doug Fawley
ed3ceba605
balancer: make producer RPCs block until the SubConn is READY ( #6236 )
2023-05-02 10:09:23 -07:00
Arvind Bright
da1a5eb25d
tests: nix TestClientDoesntDeadlockWhileWritingErroneousLargeMessages ( #6227 )
2023-04-26 16:58:00 -07:00
Arvind Bright
16651f60dd
go.mod: update all dependencies ( #6214 )
2023-04-18 17:02:56 -07:00
Sergii Tkachenko
eab9e20d1b
test/kokoro: increase PSM Security test timeout to 4h ( #6193 )
2023-04-14 15:26:20 -07:00
Easwar Swaminathan
fe72db9589
testing: add helpers to start test service, and retrieve port ( #6187 )
2023-04-12 09:30:30 -07:00
Easwar Swaminathan
89ec9609a5
grpc: read the service config channel once instead of twice ( #6186 )
2023-04-11 14:51:15 -07:00
Zach Reyes
efb2f45956
test/xds: Fix test_grpc import path ( #6180 )
2023-04-10 17:08:17 -04:00
Easwar Swaminathan
bfb57b8b49
testing: delete internal copy of test service proto, and use canonical one ( #6164 )
2023-04-05 17:12:57 -07:00
Arvind Bright
ea0a038347
xds/xdsclient: ignore resource deletion as per gRFC A53 ( #6035 )
2023-04-04 10:11:54 -07:00
Easwar Swaminathan
415ccdf154
go.mod: update all dependencies after 1.54 branch cut ( #6132 )
2023-03-28 16:03:41 -07:00
Easwar Swaminathan
a8a25ce994
transport: use prefix logging ( #6135 )
2023-03-22 09:20:36 -07:00
Easwar Swaminathan
22608213b8
go.mod: upgrade golang.org/x/net to address CVE-2022-41723 ( #6106 )
2023-03-09 16:30:30 -08:00
Easwar Swaminathan
60a1aa38f8
testutils: add support for creating endpoint resources with options ( #6103 )
2023-03-09 14:35:40 -08:00
Zach Reyes
55d8783479
gcp/observability: Link logs and traces by logging Trace and Span IDs ( #6056 )
2023-03-09 13:56:23 -05:00
Arvind Bright
8ba23be961
cmd/protoc-gen-go-grpc: bump -version to 1.3.0 for release ( #6064 )
2023-03-01 09:58:20 -08:00
Easwar Swaminathan
d53f0ec318
test: move compressor tests out of end2end_test.go ( #6063 )
2023-02-28 11:30:48 -08:00
KT
dba41efd93
metadata: fix validation issues ( #6001 )
2023-02-28 13:43:56 -05:00
Easwar Swaminathan
75bed1de3d
test: move e2e health checking tests out of end2end_test.go ( #6062 )
2023-02-28 09:36:06 -08:00
Easwar Swaminathan
5353eaa440
testing: add helpers to configure cluster specifier plugin type ( #5977 )
2023-02-21 19:30:13 -08:00
Arvind Bright
081499f2e8
xds: remove support for v2 Transport API ( #6013 )
2023-02-14 13:35:52 -08:00
大可
d655f404da
internal/transport: fix severity of log when receiving a GOAWAY with error code ENHANCE_YOUR_CALM ( #5935 )
2023-02-08 16:36:09 -05:00
Borja Lazaro Toralles
3151e834fa
cmd/protoc-gen-go-grpc: export consts for full method names ( #5886 )
2023-02-01 13:20:35 -08:00
Ronak Jain
0954097276
server: expose API to set send compressor ( #5744 )
...
Fixes https://github.com/grpc/grpc-go/issues/5792
2023-01-31 13:27:34 -08:00
Doug Fawley
2a1e9348ff
server: after GracefulStop, ensure connections are closed when final RPC completes ( #5968 )
...
Fixes https://github.com/grpc/grpc-go/issues/5930
2023-01-25 16:28:29 -08:00
Sergii Tkachenko
4e4d8288ff
xds interop: Fix buildscripts not continuing on a failed test suite ( #5937 )
2023-01-17 16:25:48 -08:00
Sergii Tkachenko
cde2edce6b
Revert "xds interop: Fix buildscripts not continuing on a failed test suite ( #5932 )" ( #5936 )
2023-01-17 18:18:44 -05:00
Sergii Tkachenko
2a9e970f94
xds interop: Fix buildscripts not continuing on a failed test suite ( #5932 )
2023-01-13 13:02:53 -05:00
Doug Fawley
bf3ad35240
*: update all dependencies ( #5924 )
2023-01-11 13:49:41 -08:00
Arvind Bright
6de8f50f91
transport: drain client transport when streamID approaches maxStreamID ( #5889 )
...
Fixes https://github.com/grpc/grpc-go/issues/5600
2023-01-11 12:58:00 -08:00
Easwar Swaminathan
9b73c42daa
test/xds: add tests for scenarios where authority in resource name is not specified in bootstrap config ( #5890 )
...
Fixes https://github.com/grpc/grpc-go/issues/5429
2023-01-10 16:31:19 -08:00
Arvind Bright
12b8fb52a1
test: move e2e HTTP header tests to http_header_end2end_test.go ( #5901 )
2022-12-28 17:23:09 -06:00
Easwar Swaminathan
68b388b26f
balancer: support injection of per-call metadata from LB policies ( #5853 )
2022-12-20 15:13:02 -08:00
Arvind Bright
b2d4d5dbae
test: fix raceyness check to deflake test http server ( #5866 )
...
Fixes https://github.com/grpc/grpc-go/issues/4990
2022-12-19 12:57:49 -06:00
Doug Fawley
81ad1b550f
*: update all dependencies ( #5874 )
2022-12-16 15:04:12 -08:00
Easwar Swaminathan
a0e8eb9dc4
test: rename race.go to race_test.go ( #5869 )
2022-12-16 09:45:36 -08:00
Zach Reyes
9373e5cb26
transport: Fix closing a closed channel panic in handlePing ( #5854 )
2022-12-13 15:44:03 -05:00
Easwar Swaminathan
f54bba9af7
test/xds: minor cleanup in xDS e2e test ( #5843 )
2022-12-08 19:21:56 -08:00
Easwar Swaminathan
aba03e1ab1
xds: pass options by value to helper routines which setup the management server in tests ( #5833 )
2022-12-08 16:26:21 -08:00
Doug Fawley
22c1fd2e10
deps: update golang.org/x/net to latest in all modules ( #5847 )
2022-12-07 10:52:31 -08:00
Easwar Swaminathan
f7c110af15
test: remove use of deprecated WithInsecure() API ( #5836 )
2022-12-06 10:27:30 -08:00
Doug Fawley
99ba98231e
transport/server: flush GOAWAY before closing conn due to max age ( #5821 )
...
Fixes https://github.com/grpc/grpc-go/issues/4859
2022-12-01 09:02:41 -08:00
Doug Fawley
c91396d4e1
pickfirst: do not return initial subconn while connecting ( #5825 )
...
Fixes https://github.com/grpc/grpc-go/issues/5293
2022-11-30 08:57:17 -08:00
Zach Reyes
087387ca18
Deflake Outlier Detection xDS e2e test ( #5819 )
2022-11-29 17:48:52 -05:00
Easwar Swaminathan
dd123b7f86
testutils/pickfirst: move helper function to testutils ( #5822 )
2022-11-29 12:03:36 -08:00
Doug Fawley
9f97673ba4
test: move e2e goaway tests to goaway_test.go ( #5820 )
2022-11-29 10:08:03 -08:00
Doug Fawley
3011eaf70e
test/tools: update staticcheck version to latest ( #5806 )
2022-11-18 13:51:43 -08:00
Doug Fawley
fefb3ec0c0
test/tools: update everything to latest versions except staticcheck ( #5805 )
2022-11-18 11:26:37 -08:00
wby
0238b6e1ce
transport: new stream with actual server name ( #5748 )
2022-11-18 08:57:37 -08:00
Zach Reyes
36d14dbf66
Fix binary logging bug which logs a server header on a trailers only response ( #5763 )
2022-11-02 19:46:50 -04:00
Doug Fawley
9127159caf
client: synchronously verify server preface in newClientTransport ( #5731 )
2022-10-20 09:29:17 -07:00
Doug Fawley
778860e606
testing: update Go to 1.19 ( #5717 )
2022-10-17 15:04:34 -07:00
Easwar Swaminathan
912765f749
xds: move bootstrap config generating utility package to testutils ( #5713 )
2022-10-17 09:34:01 -07:00
Ronak Jain
7b817b4d18
client: set grpc-accept-encoding to full list of registered compressors ( #5541 )
2022-10-11 16:37:02 -07:00
Zach Reyes
5fc798be17
Add binary logger option for client and server ( #5675 )
...
* Add binary logger option for client and server
2022-10-06 13:36:05 -04:00
Doug Fawley
12db695f16
grpc: restrict status codes from control plane (gRFC A54) ( #5653 )
2022-10-04 15:13:23 -07:00
Doug Fawley
be4b63b1fc
test: minor test cleanup ( #5679 )
2022-10-03 08:37:41 -07:00
Zach Reyes
d83070ec0d
Changed Outlier Detection Env Var to default true ( #5673 )
2022-09-30 16:46:17 -04:00
Jan Lamecki
54521b22e0
client: remove trailing null from unix abstract socket address ( #5678 )
2022-09-30 09:34:05 -07:00
Zach Reyes
b1d7f56b81
transport: Fix deadlock in transport caused by GOAWAY race with new stream creation ( #5652 )
...
* transport: Fix deadlock in transport caused by GOAWAY race with new stream creation
2022-09-21 14:35:08 -04:00