From patchwork Tue Nov 7 07:02:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Marko X-Patchwork-Id: 33970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6EAB7C4332F for ; Tue, 7 Nov 2023 07:03:21 +0000 (UTC) Received: from mta-65-227.siemens.flowmailer.net (mta-65-227.siemens.flowmailer.net [185.136.65.227]) by mx.groups.io with SMTP id smtpd.web11.5044.1699340599621264719 for ; Mon, 06 Nov 2023 23:03:20 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=peter.marko@siemens.com header.s=fm1 header.b=lgNeowbM; spf=pass (domain: rts-flowmailer.siemens.com, ip: 185.136.65.227, mailfrom: fm-256628-20231107070315138b3e48231988c70c-hmnjao@rts-flowmailer.siemens.com) Received: by mta-65-227.siemens.flowmailer.net with ESMTPSA id 20231107070315138b3e48231988c70c for ; Tue, 07 Nov 2023 08:03:16 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=peter.marko@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc:References:In-Reply-To; bh=mku9qSBs5nVjSeco9FuCOhW5Z6D825QW+pAvtj4aTc4=; b=lgNeowbMNRDauknBAxGbOX1mBAsCoRmhHTYkwcX+2Se9phCXGV3tkn+M/8OE4s4Aizu3HX D47Eh7QRtNwPT8w9h9JJnkHu7aYTIXXneOi6wcAAC+luvxp9+g+vB02IPYgJr3UWDDsPO8F3 G7u44uZBXvjaVO7UAf9MePCVIGTgs=; From: Peter Marko To: yocto@lists.yoctoproject.org Cc: Peter Marko Subject: [meta-virtualization][PATCH v2] grpc-go: Upgrade 1.41.0 -> 1.59.0 Date: Tue, 7 Nov 2023 08:02:18 +0100 Message-Id: <20231107070218.6763-1-peter.marko@siemens.com> In-Reply-To: References: MIME-Version: 1.0 X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-256628:519-21489:flowmailer List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 07 Nov 2023 07:03:21 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/61629 CVE: CVE-2023-44487 Bumping grpc-go to version v1.59.0, which comprises the following commits: 7765221f Change version to 1.59.0 (#6695) e88f12e0 server: prohibit more than MaxConcurrentStreams handlers from running at once (#6703) (#6704) be7919c3 transport: Pass Header metadata to tap handle. (#6652) e3f1514c Reapply "status: fix/improve status handling (#6662)" (#6673) (#6688) 696faa98 client: add a test for NewSubConn / StateListener / cc.Close racing (#6678) 318c717a readme: fix badges (#6687) 39972fdd github: add code coverage with codecov.io (#6676) 93dbc059 xds: move virtual host matcher test to the xdsresource package (#6680) 2c004697 github: update actions/setup-go and actions/checkout (#6675) 1f73ed5f Replace the gRFC pull request with the permanent link. (#6674) 9e1fc3e9 Revert "status: fix/improve status handling (#6662)" (#6673) 0772ed73 status: fix/improve status handling (#6662) 1466283c internal/idle: add a test that invokes ClientConn methods concurrently (#6659) fd9ef726 interop: implement rpc-behavior for UnaryCall() (#6575) c6264a9f examples: add an example of flow control behavior (#6648) ee4b62c7 encoding: fix mention of DecompressedSize in docstring (#6665) 09792b58 test: move codec tests to a separate file (#6663) 57cb4d80 internal/backoff: add a helper to run a function with backoff (#6661) 5e4402ff attributes: avoid the use of %#v formatting verb (#6664) 147bd859 balancer: add a warning for balancer names that contain upper case letters (#6647) 4ced6016 googlec2p: remove support for the experimental scheme (#6645) a758b625 xds/googledirectpath: fix google-c2p resolver test case involving bootstrap env config (#6657) e61a14d7 fix testing parameter on xds_client_custom_lb_test (#6646) 58e2f2b1 attributes: print typed nil values instead of panic (#6574) fe0dc227 interop/grpc_testing: regenerate pb.gos (#6653) 130bc428 Improve testutils.MarshalAny (#6617) 3156151a grpclb: teach the manual resolver to handle restarts (#6635) 1457a961 balancer/weightedroundrobin: fix ticker leak on update (#6643) 92f5ba97 xdsclient: completely remove the old WatchCluster API (#6621) 94d8074c grpclb: some minor cleanups (#6634) 1880bd6f resolver/manual: support restarts, required for channel idleness (#6638) 9deee9ba idle: use LB policy close event as a proxy for channel idleness (#6628) 2d1bb21e grpc: ensure transports are closed when the channel enters IDLE (#6620) 552525e5 interop/xds_federation: remove binary file (#6622) 82a568dd cdsbalancer: switch cluster watch to generic xDS client API (#6600) 03172006 health/grpc_health_v1: update pb.go (#6616) 57dcb71f interop/xds: improve error message (#6614) 254bccb3 idle: decrement active call count for streaming RPCs only when the call completes (#6610) b0a946cf xds: fix hash policy header to skip bin headers and use extra metadata (#6609) 1e0d82e9 balancer/leastrequest: Cache atomic load and also add concurrent rpc test (#6602) 8eb4ac4c grpc: Change server stream context handling (#6598) e498bbc9 leastrequest: fix data race in leastrequest picker (#6587) 778e6381 balancergroup: improve observability around balancer cache behavior (#6597) aa6ce35c vet: ensure all usages of grpc_testing package are renamed when importing (#6595) d045b41c interop/grpc_testing: regenerate pb.gos (#6596) 61b7baa4 grpc_test: rename import for grpc_testing (#6594) 18059002 deps: update dependencies for all modules (#6582) 9362f261 grpc: re-enable channel idleness by default (#6585) 8b1a6710 stream: swallow Header errors as we used to; RecvMsg can still return it (#6586) 23ac72b6 update pb.gos by running regenerate.sh (#6584) 2ce7ecd1 cdsbalancer: test cleanup part 3/N (#6564) 7afbb9b9 Change version to 1.59.0-dev (#6581) 4c9777ce clusterresolver: fix deadlock when dns resolver responds inline with update or error at build time (#6563) 81b9df23 idle: move idleness manager to separate package and ~13s of tests into it (#6566) 7d35b8ec test: speed up TestServiceConfigTimeoutTD from 1.8s to 0.03s (#6571) d51b3f41 interop/grpc_testing: update protos from grpc-proto repo (#6567) fe1519ec client: fix ClientStream.Header() behavior (#6557) 8a2c2205 cdsbalancer: test cleanup part 2/N (#6554) 7f66074c vet.sh: fix interface{} check for macos (#6561) b07bf5d0 cdsbalancer: test cleanup part 1/N (#6546) 33f9fa2e test: speed up two tests (#6558) aca07ce9 xds/internal/xdsclient: Add least request support in xDS (#6517) e5d8eac5 test: improve and speed up channelz keepalive test (#6556) ebf0b4e3 idle: speed up test by 5x even while running 2x more iterations (#6555) 7d3996fd grpctest: use an interface instead of reflection (#6553) cc705fe4 interop: regenerate pb.gos (#6551) 3e925040 status: optimize GRPCStatus() calls (#6539) 402ba09a pick_first: de-experiment pick first (#6549) 2821d7fa resolver: remove outdated Target examples (#6547) 53d1f23a benchmark: update proper benchmark binary to use larger buffers (#6537) fbff2abb *: update `interface{}` to `any` and `go.mod` version to `go 1.19` (#6544) e40da661 clientconn: release lock when returning from enterIdleMode() (#6538) dbbc983c balancer/leastrequest: Add least request balancer (#6510) a0100790 *: remove references to old versions of go (#6545) 03d32b9c orca: update example and interop to use StateListener (#6529) c2bc22c7 testing: update Go versions tested to 1.19-1.21 (#6543) 879faf6b test: update client state subscriber test to be not flaky and more stressful about rapid updates (#6512) f3e94ec1 xds: improve error message when matched route on client is not of type RouteActionRoute (#6248) bb410670 balancergroup: do not cache closed sub-balancers by default (#6523) 68704f8e gracefulswitch, stub: remove last UpdateSubConnState references (#6533) 49006996 balancer/rls, xds/wrrlocality: stop forwarding UpdateSubConnState calls (#6532) ebc3c514 internal/balancergroup: remove usage of UpdateSubConnState (#6528) 5da2731c balancer/weightedtarget: stop forwarding UpdateSubConnState calls (#6525) 182b0add interop/grpc_testing: regenerate protos (#6534) e2741524 rls: fix flaky test introduced by #6514 (#6535) 61a1f779 balancer/weightedroundrobin: migrate to StateListener (#6530) 175c84c1 xds/ringhash: use StateListener instead of UpdateSubConnState (#6522) 3fa17cc1 test: speed up test that was taking 10 seconds to timeout (#6531) 694cb64c xds/clusterresolver: stop forwarding UpdateSubConnState calls (#6526) 8f51ca8f tests: stop using UpdateSubConnState (#6527) cea77bb0 xds/clustermanager: stop forwarding UpdateSubConnState calls (#6519) ce684134 xds/priority: stop forwarding UpdateSubConnState calls (#6521) dceb6eef xds/clusterimpl: stop forwarding UpdateSubConnState calls (#6518) 8def12a4 xds/outlierdetection: Stop handling UpdateSubConnState forwarding (#6520) 67a8e73f multiple/test: use stub balancer instead of defining wrapped balancers (#6514) 92b481a6 test: allow set request/response size in interop soak test (#6513) 07609e1b benchmark: restore old buffer size values for published benchmarks (#6516) 2059c6e4 grpc: report connectivity state changes on the ClientConn for Subscribers (#6437) 4832debd test: clean up deadlines set in tests (#6506) 9c46304f xds/cdsbalancer: stop handling subconn state updates (#6509) e9a4e942 base: update base balancer for new APIs (#6503) 6c0c69ef all: replace RemoveSubConn with Shutdown as much as possible (#6505) 28ac6efe xdsclient: make watch timer a no-op if authority is closed (#6502) d06ab0d4 pickfirst: receive state updates via callback instead of UpdateSubConnState (#6495) 7aceafcc balancer: add SubConn.Shutdown; deprecate Balancer.RemoveSubConn (#6493) 4fe8d3d3 balancer: fix tests not properly updating subconn states (#6501) 8ebe4620 outlierdetection: fix unconditional calls of child UpdateSubConnState (#6500) 5d3d9d7c grpc: perform a blocking close of the balancer in ccb (#6497) ecc5645b clusterresolver: fix a flaky test (#6499) b9356e3d client: fix race between connection error and subconn shutdown (#6494) 2db7b17a test/xds: increase default test timeout (#6498) 8f496b2a test/kokoro: Add bootstrap generator test into Go Kokoro script (#6463) 02463732 testutils: remove TestSubConns for future extensibility (#6492) c6354049 balancer: add StateListener to NewSubConnOptions for SubConn state updates (#6481) 94df716d resolver: State: add Endpoints and deprecate Addresses (#6471) 20c51a9f pickfirst: add tests for resolver error scenarios (#6484) b8d36caf pickfirst: add prefix logging (#6482) 5ce5686d pickfirst: guard config parsing on GRPC_EXPERIMENTAL_PICKFIRST_LB_CONFIG (#6470) 41d12327 resolver/weighted_round_robin: remove experimental suffix from name (#6477) 2aa26156 clusterresolver: comply with A37 for handling errors from discovery mechanisms (#6461) d7f45cdf xds/server: create the xDS client when the xDS enabled gRPC server is created (#6446) f1fc2ca3 clientconn: add channel ID to some idleness logs (#6459) 9bb44fbf transport: use a sync.Pool to share per-connection write buffer (#6309) d524b409 multiple: update dependencies after 1.57 branch cut (#6452) 7aab9c05 stats: Add RPC event for blocking for a picker update (#6422) 02946a3f resolver: remove deprecated AddressType (#6451) 919fe359 Change version to 1.58.0-dev (#6450) 94890820 github: replace deprecated command with environment file (#6417) d1868a53 clusterresolver: add logs for dns discovery mechanism error cases (#6444) 8e9c8f8e grpc: do not use balancer attributes during address comparison (#6439) db32c5bf Fix preloader mode in benchmarks (#6359) f0280f9d xds: require EDS service name in new-style CDS clusters (gRFC A47) (#6438) bf5b7aec clusterresolver: handle EDS nacks and resource-not-found errors correctly (#6436) fc0aa468 client: encode the authority by default (#6428) 11feb0a9 resolver: delete Target.Scheme and Target.Authority (#6363) df3e0214 status: fix panic when servers return a wrapped error with status OK (#6374) acbfcbb8 internal/grpcsync: refactor test (#6427) 51042db7 internal/grpcsync: Provide an internal-only pub-sub type API (#6167) 620a118c xds/internal/balancer/clusterimpl: Switch cluster impl child to graceful switch (#6420) 6b8f4274 orca: remove useless log statement (#6424) ea492f55 xdsclient: indicate authority serverURI in authority + transport logs (#6425) 67e881c3 xds: E2E Test for Audit Logging (#6377) 07718ef6 internal/xds/rbac: Add support for string matcher in RBAC header matching (#6419) 575a9365 xds: Fail xDS Server Serve() if called after Stop() or GracefulStop() (#6410) 7eb57278 xds: switch EDS watch to new generic xdsClient API (#6414) e8599844 server: with TLS, set TCP user timeout on the underlying raw connection (#5646) (#6321) 1634254a rpc_util: Reuse memory buffer for receiving message (#5862) 789cf4e3 reflection: rename proto imports for disambiguation in import script (#6411) 0673105e clusterresolver: switch a couple of tests to e2e style (#6394) 0b3a81ea clusterresolver: remove priority LB related tests (#6395) dd931c80 xds: clusterresolver e2e test cleanup (#6391) 10f5b50a [PSM interop] Don't fail target if sub-target already failed (#6390) 963238a6 clusterresolver: move tests around to different files (#6392) f24b4c7e clusterresolver: remove redundant tests (#6388) a9c79427 benchmark: Add support for Poisson load in benchmark client (#6378) dd350d02 stats/opencensus: Fix flaky metrics test (#6372) 642dd63a reflection: expose both v1 and v1alpha reflection services (#6329) 3c6084b7 xds/outlierdetection: fix config handling (#6361) 3e8eca80 Revert "client: encode the authority by default (#6318)" (#6365) 1c0572a5 benchmark: fix package used to reference service to use grpc suffix instead of pb (#6362) 7a7caf36 protoc-gen-go-grpc: Update README.md file (#6349) 89790ea9 grpclb: fix typo (#6356) 907bdaa1 alts: Read max number of concurrent ALTS handshakes from environment variable. (#6267) 2ac1aaed weightedroundrobin: prefer application_utilization to cpu_utilization (#6358) 7aeea8f4 orca: add application utilization and range checking (#6357) 6578ef72 client: handle empty address lists correctly in addrConn.updateAddrs (#6354) 761c084e xds/ringhash: cache connectivity state of subchannels inside picker (#6351) 1b666637 benchmark: Add sleepBetweenRPCs and connections parameters (#6299) 81c513a4 opencensus: stop overwriting ctx parameter in tests (#6350) 68576b3c client: encode the authority by default (#6318) c9d3ea56 deps: google.golang.org/genproto to latest in all modules (#6319) 02188e64 Change version to 1.57.0-dev (#6346) 8edfa1a1 authz: End2End test for AuditLogger (#6304) 2b1d70be xds: enable RLS in xDS by default (#6343) 47f8ed81 interop: Don't fail target if sub-target already failed (#6332) 1f23f6c2 client: fix Connect to handle channel idleness properly (#6331) 3ea58ce4 client: disable channel idleness by default (#6328) 6c2529bc xds: support pick_first custom load balancing policy (A62) (#6314) 9b9b364f internal/envconfig: Set Custom LB Env Var to true by default (#6317) e325737c alts: Fix flaky ALTS TestFullHandshake test. (#6300) 4d3f221d xds/internal/xdsclient: Add support for String Matcher Header Matcher in RDS (#6313) 157db190 stats/opencensus: Fix flaky test span (#6296) f19266cc xds: support built-in Stdout audit logger type (#6298) 59134c30 client: add support for pickfirst address shuffling from gRFC A62 (#6311) a6e1acfc grpc: support sticky TF in pick_first LB policy (#6306) 2ae10b28 xdsclient: remove interface check related to ResourceData (#6308) e9799e79 client: support a 1:1 mapping with acbws and addrConns (#6302) 2a266e78 authz: use pointer to to structpb.Struct instead of value (#6307) 511a9635 interop: let the interop client send additional metadata, controlled by a flag (#6295) 9b7a947c grpc: support channel idleness (#6263) 098b2d00 xds/internal/balancer/outlierdetection: Switch Outlier Detection to use new duration field (#6286) 417d4b68 examples: add error_handling example; move errors to error_details (#6293) 390c392f authz: Rbac engine audit logging (#6225) 52fef6da authz: Stdout logger (#6230) 92e65c89 test/kokoro: Add custom_lb_test to the xds_k8s_lb job (#6290) 756119c7 xds/outlierdetection: forward metadata from child picker (#6287) 8eba9c2d github: upgrade to v3 of checkout & setup-go (#6280) 24fd2521 proto: update generated code to match grpc-proto changes (#6283) 4eb88d7d cleanup: use new Duration type in base ServiceConfig (#6284) 1230f0e4 xds/internal/xdsclient: Split registry up and two separate packages (#6278) 0bdae480 interop: fix interop_test.sh shutdown (#6279) 5dcfb37c interop: hold lock on server for OOB metrics updates; share 30s timeout (#6277) 68381e7b xds: WRR in xDS (#6272) fd376a5c test: fix flaky TimeoutOnDeadServer test; some cleanups (#6276) 1db474c8 weightedroundrobin: fix duration format in lb config (#6271) 523dcddf weightedroundrobin: fix test race accessing timeNow (#6269) 1536887c interop/xds: Add Custom LB needed for interop test (#6262) 7d613442 examples: fix authz example to receive streaming error properly (#6270) afcbdc9a xds/internal/xdsclient/xdslbregistry: Continue in converter if type not found (#6268) b3fbd87a interop: add ORCA test cases and functionality (#6266) 5e587344 xds: Add support for Custom LB Policies (#6224) 5c4bee51 balancer/weightedroundrobin: add load balancing policy (A58) (#6241) c44f77e1 grpc: use CallbackSerializer in balancer wrapper (#6254) f193ec01 orca: fix race when calling listeners coincides with updating the run goroutine (#6258) 417cf846 test: deflake TestBalancerProducerHonorsContext (#6257) 1f3fe1c8 Update ClientStream.SendMsg doc (#6247) ccad7b75 grpc: use CallbackSerializer in resolver_wrapper (#6234) 47b3c554 orca: fix race at producer startup (#6245) 56b33d5c server/transport: send appropriate debug_data in GOAWAY frames (#6220) add90153 orca: allow a ServerMetricsProvider to be passed to the ORCA service and ServerOption (#6223) 40d01479 googledirectpatph: enable ignore_resource_deletion in bootstrap (#6243) ed3ceba6 balancer: make producer RPCs block until the SubConn is READY (#6236) b153b006 multiple: standardize import renaming for typed structs (#6238) 713bd041 orca: minor cleanups (#6239) 21a339ce grpc: handle RemoveSubConn inline in balancerWrapper (#6228) b1538271 xds: make glaze happy for test packages (#6237) 019acf2e stubserver: add option for allowing more services to be registered (#6240) cf89a0b9 authz: Swap to using the correct TypedConfig in audit logger parsing (#6235) df821471 internal: Document gcp/observability 1.0 dependencies in /internal (#6229) da1a5eb2 tests: nix TestClientDoesntDeadlockWhileWritingErroneousLargeMessages (#6227) e853dbf0 authz: add conversion of json to RBAC Audit Logging config (#6192) 497436ce xds/internal/balancer/outlierdetection: Change string to String (#6222) de11139a clusterresolver: improve tests (#6188) eff0942e xds/internal/xdsclient: Custom LB xDS Client Changes (#6165) 8628e075 xds/internal/balancer/outlierdetection: Add Channelz Logger to Outlier Detection LB (#6145) 83c460b8 authz: Move audit package (#6218) 8c70261b grpc: ClientConn cleanup in prep for channel idleness (#6189) 2cd95c75 gcp/observability: remove redundant import (#6215) 16651f60 go.mod: update all dependencies (#6214) ca604628 stubserver: Stop server when StartClient failed (#6190) 7dfd7183 internal/buffer: add Close method to the Unbounded buffer type (#6161) ebeda756 tests: defalke TestTimerAndWatchStateOnSendCallback (#6206) 0ed709c4 Change version to 1.56.0-dev (#6213) 875c97a9 examples/features/observability: use observability module v1.0.0 (#6210) aa8c137d authz: add audit logging APIs (#6158) b91b8842 gcp/observability: Have o11y module point to grpc 1.54 and opencensus 1.0.0 (#6209) eab9e20d test/kokoro: increase PSM Security test timeout to 4h (#6193) d90621f9 remove the unnecessary call to ResetTimer and StopTimer (#6185) fe72db95 testing: add helpers to start test service, and retrieve port (#6187) 5a50b970 Revert "Revert "credentials/alts: defer ALTS stream creation until handshake …" (#6179) 89ec9609 grpc: read the service config channel once instead of twice (#6186) 6237dfe7 internal/stubserver: Close Client Conn in error handling of Start (#6174) 06de8f85 alts: Add retry loop when making RPC in ALTS's TestFullHandshake. (#6183) 6eabd7e1 server: use least-requests loadbalancer for workers (#6004) 8374ff8f Export the unwrapResource method, to allow callers outside of the package (#6181) efb2f459 test/xds: Fix test_grpc import path (#6180) 81b30924 security/advancedtls: add TlsVersionOption to select desired min/max TLS versions (#6007) 17b693d7 alts: Perform full handshake in ALTS tests. (#6177) 01f8b866 Add documentation on some anti-patterns (#6034) 3489bb7d xdsclient/test: deflake TestWatchResourceTimerCanRestartOnIgnoredADSRecvError (#6159) bfb57b8b testing: delete internal copy of test service proto, and use canonical one (#6164) 10401b92 stats/opencensus: the backend to Sent. Attempt. and Recv. (#6173) b0a8b1b9 Use string instead of enum for xds resource type (#6163) 1d5b73a1 xds: add stop to avoid hanging in TestServeWithStop (#6172) ea0a0383 xds/xdsclient: ignore resource deletion as per gRFC A53 (#6035) a51779df xdsclient/test: deflake TestTimerAndWatchStateOnSendCallback (#6169) e9799199 internal/grpcsync: move CallbackSerializer from xdsclient/internal to here (#6153) c2899ddd examples/features/observability: Point o11y example to latest gcp/observability module (#6162) 113d75fb gcp/observability: Add isSampled bool to log entries (#6160) 4a125956 stats/opencensus: Switch helper to return Span Context from context (#6156) c3f1d5e5 gcp/observability: Set the opencensus_task label only for metrics, not tracing and logging (#6155) 42dd7ac9 Use anypb.New instead of ptypes.MarshalAny (#6074) 415ccdf1 go.mod: update all dependencies after 1.54 branch cut (#6132) a357bafa status: FromError: return entire error message text for wrapped errors (#6150) 44cebb8f xds: enable XDS federation by default (#6151) c018273e examples: Add observability example (#6149) 277bb642 Revert "credentials/alts: defer ALTS stream creation until handshake time (#6077)" (#6148) 0fdfd402 gcp/observability: Generate unique process identifier unconditionally (#6144) 1d20f1b5 security/advancedtls: swap from deprecated pkix.CertificateList to x509.RevocationList (#6054) a8a25ce9 transport: use prefix logging (#6135) 9c25653b cdsbalancer: improve log messages (#6134) a02aae61 CONTRIBUTING.md: remove duplicated bullet point (#6139) cdab8ae5 clusterresolver: push empty config to child policy upon removal of cluster resource (#6125) 7651e620 transport: add a draining state check before creating streams (#6142) a2ca46c4 examples: organize READMEs better (#6121) 4efec30e stats/opencensus: remove leading slash for per call metrics (#6141) 78099db0 gcp/observability: Switch hex encoding to string() method (#6138) 70c52915 observability: remove import replace directive and switch it to point to latest commit (#6122) 66e35339 status: handle wrapped errors (#6031) a75fd73d Change version to 1.55.0-dev (#6131) b638faff stats/opencensus: Add message prefix to metrics names (#6126) c84a5005 credentials/alts: defer ALTS stream creation until handshake time (#6077) 6f44ae89 metadata: add benchmark test for FromIncomingContext and ValueFromIncomingContext (#6117) a1e657ce client: log last error on subchannel connectivity change (#6109) 36fd0a43 gcp/observability: Add compressed metrics to observability module and synchronize View data with exporter (#6105) 52ca9571 xds: make comparison of server configs in bootstrap more reliable (#6112) 7507ea6b gcp/observability: Change logging schema and set queue size limit for logs and batching delay (#6118) 16c3b7df examples: add example for ORCA load reporting (#6114) b458a4f1 transport: stop always closing connections when loopy returns (#6110) 11e2506c tests: Scale down keepalive test timings (#6088) 5796c409 interop/observability: Pass interop parameters to client/server as-is (#6111) abd4db22 xdsclient/tests: fix flaky test NodeProtoSentOnlyInFirstRequest (#6108) 3633361c tests: support LRS on the same port as ADS (#6102) 0558239a Update CONTRIBUTING.md (#6089) 22608213 go.mod: upgrade golang.org/x/net to address CVE-2022-41723 (#6106) 60a1aa38 testutils: add support for creating endpoint resources with options (#6103) 92d9e77a xds: NACK route configuration if sum of weights of weighted clusters exceeds uint32_max (#6085) d02039b6 Deflake the integration test. (#6093) 55d87834 gcp/observability: Link logs and traces by logging Trace and Span IDs (#6056) ad4057fc transport: stop returning errors that are always nil (#6098) 558e1b6f examples/authz: add token package docstring (#6095) 33df9fc4 credentials/xds: improve error message upon SAN matching failure (#6080) 32921935 xdsclient: handle race with watch timer handling (#6086) e83e34be xds/resolver/test: use a non-blocking send instead of closing the channel (#6082) b46bdef1 interop/observability: add GCP Observability Testing Client/Server (#5979) f3116846 stats/opencensus: New uncompressed metrics and align with tracing spec (#6051) cc320bf8 grpc: Log server trailers before writing status (#6076) b9e6d59a xdsclient: send Node proto only on first discovery request on ADS stream (#6078) ae4a2315 ringhash: ensure addresses are consistenly hashed across updates (#6066) 52dcd147 xdsclient: move tests from `e2e_test` to `tests` directory (#6073) d8f80bb0 stats/opencensus: Added client api latency and upgrade go.mod (#6042) a8b32264 gcp/observability: Disable logging and traces on channels to cloud ops backends (#6022) 20141c25 examples: add an example to illustrate authorization (authz) support (#5920) 8c374f76 clusterresolver: cleanup resource resolver implementation (#6052) 1d16ef5b metadata: Lowercase appended metadata (#6071) 8ba23be9 cmd/protoc-gen-go-grpc: bump -version to 1.3.0 for release (#6064) a1693ec5 fakeserver: remove ADS and LRS v2 support (#6068) 832ecc25 channelz: use protocmp.Transform() to compare protos (#6065) 28b6bcf9 xds/xdsclient: improve failure mode behavior (gRFC A57) (#5996) d53f0ec3 test: move compressor tests out of end2end_test.go (#6063) dba41efd metadata: fix validation issues (#6001) 75bed1de test: move e2e health checking tests out of end2end_test.go (#6062) 0586c51d internal/transport: reduce running time of test from 5s to 1s (#6061) 7437662f internal/transport: Fix flaky keep alive test (#6059) 681b1338 admin/test: split channelz imports (#6058) 1093d3ac channelz: remove dependency on testing package (#6050) 3775f633 xdsclient/transport: reduce chattiness of logs (#5992) 6fe609da xdsclient: minor cleanup in eds parsing (#6055) 5353eaa4 testing: add helpers to configure cluster specifier plugin type (#5977) 8702a2eb stats/opencensus: Add top level call span (#6030) 85b95dc6 gcp/observability: Register new views (#6026) abff344e stats/opencensus: Add per call latency metric (#6017) 0f02ca5c gcp/observability: Switch observability module to use new opencensus instrumentation code (#6021) 6d612a3e resolver: update Resolver.Scheme() docstring to mention requirement of lowercase scheme names (#6014) 30d8c0a0 xds/internal/xdsclient: NACK empty clusters in aggregate clusters (#6023) 081499f2 xds: remove support for v2 Transport API (#6013) dd12def8 stats/opencensus: Add OpenCensus traces support (#5978) f4feddb3 github: update tests to use go version 1.20 (#6020) 81534105 client: Add dial option to disable global dial options (#6016) 55dfae6e resolver: document handling UpdateState errors by resolvers (#6002) ceb3f071 client: Revert dialWithGlobalOption (#6012) d655f404 internal/transport: fix severity of log when receiving a GOAWAY with error code ENHANCE_YOUR_CALM (#5935) b81e8b62 metadata: slightly improve operateHeaders (#6008) e9d9bd04 tests: reduce the degree of stress testing in long running tests (#6003) f8552261 github: update codeQL action to v2 (#6009) f69e9ad8 stats/opencensus: Add OpenCensus metrics support (#5923) 3151e834 cmd/protoc-gen-go-grpc: export consts for full method names (#5886) d6dabba0 xds/server: reduce chattiness of logs (#5995) 09540972 server: expose API to set send compressor (#5744) a7058f7b xds/csds: switch tests to use the new generic xdsclient API (#6000) 37111547 xdsclient/bootstrap: reduce chattiness of logs (#5991) d103fc70 xdsclient/xdsresource: reduce chattiness of logs (#5993) 6a707eb1 client: add an option to disable global dial options (#5990) c813c17a Change version to 1.54.0-dev (#5985) 2a1e9348 server: after GracefulStop, ensure connections are closed when final RPC completes (#5968) e2d69aa0 tests: fix spelling of variable (#5966) a6376c98 xds/resolver: cleanup tests to use real xDS client 3/n (#5953) bf8fc46f xds/resolver: cleanup tests to use real xDS client 5/n (#5955) 3930549b resolver: replace resolver.Target.Endpoint field with Endpoint() method (#5852) 894816c4 grpclb: rename `grpclbstate` package back to `state` (#5962) e5a0237a encoding: fix duplicate compressor names (#5958) 4adb2a7a xds/resolver: cleanup tests to use real xDS client 2/n (#5952) 52a8392f gcp/observability: update method name validation (#5951) 4075ef07 xds: fix panic involving double close of channel in xDS transport (#5959) 7bf6a58a gcp/observability: Cleanup resources allocated if start errors (#5960) bc9728f9 xds/resolver: cleanup tests to use real xDS client 4/n (#5954) 6e749384 xds/resolver: cleanup tests to use real xDS client (#5950) 9b9b3812 server: fix a few issues where grpc server uses RST_STREAM for non-HTTP/2 errors (#5893) ace80823 xdsclient: close func refactor (#5926) 9326362a transport: fix maxStreamID to align with http2 spec (#5948) 4e4d8288 xds interop: Fix buildscripts not continuing on a failed test suite (#5937) 379a2f67 *: add missing colon to errorf messages to improve readability (#5911) cde2edce Revert "xds interop: Fix buildscripts not continuing on a failed test suite (#5932)" (#5936) 78ddc05d xdsclient: fix race in load report implementation (#5927) 2a9e970f xds interop: Fix buildscripts not continuing on a failed test suite (#5932) 9228cffc rls: fix a data race involving the LRU cache (#5925) be06d526 binarylog: consistently rename imports for binarylog proto (#5931) bf3ad352 *: update all dependencies (#5924) 6de8f50f transport: drain client transport when streamID approaches maxStreamID (#5889) 42b7b633 stats/opencensus: OpenCensus instrumentation api (#5919) 974a5ef8 grpc: document defaults in MaxCallMsgSize functions (#5916) 9b73c42d test/xds: add tests for scenarios where authority in resource name is not specified in bootstrap config (#5890) 3b2da532 xdsclient: handle resource not found errors correctly (#5912) f2fbb0e0 Deprecate use of `ioutil` package (#5906) 8ec85e42 priority: improve and reduce verbosity of logs (#5902) 12b8fb52 test: move e2e HTTP header tests to http_header_end2end_test.go (#5901) f1a9ef9c stream: update ServerStream.SendMsg doc (#5894) c90744f1 oauth: mark `NewOauthAccess` as deprecated and update examples to use `TokenSource` (#5882) 0e5421c1 internal/envconfig: add convenience boolFromEnv to improve readability (#5887) 4565dd70 ringhash: allow overriding max ringhash size via environment variable (#5884) 94a65dca rls: deflake tests (#5877) 08479c5e xdsclient: resource agnostic API implementation (#5776) 07ac97c3 transport: simplify httpClient by moving onGoAway func to onClose (#5885) 5ff7dfcd rls: propagate headers received in RLS response to backends (#5883) f94594d5 interop: add test client for use in xDS federation e2e tests (#5878) 68b388b2 balancer: support injection of per-call metadata from LB policies (#5853) 4f16fbe4 examples: update server reflection tutorial (#5824) b2d4d5db test: fix raceyness check to deflake test http server (#5866) 54b7d03e grpc: Add join Dial Option (#5861) 70617b11 vet & github: run vet separately from tests; make vet-proto only check protos (#5873) 81ad1b55 *: update all dependencies (#5874) 357d7afc Change version to 1.53.0-dev (#5872) a0e8eb9d test: rename race.go to race_test.go (#5869) ae86ff40 benchmark: fix typo in ClientReadBufferSize feature name (#5867) e53d28f5 xdsclient: log node ID with verbosity INFO (#5860) 9373e5cb transport: Fix closing a closed channel panic in handlePing (#5854) 2f413c45 transport/http2: use HTTP 400 for bad requests instead of 500 (#5804) 5003029e testutils: do a better job of verifying pick_first in tests (#5850) 3e27f899 binarylog: Account for key in metadata truncation (#5851) f54bba9a test/xds: minor cleanup in xDS e2e test (#5843) a9709c3f Added logs for reasons causing connection and transport close (#5840) aba03e1a xds: pass options by value to helper routines which setup the management server in tests (#5833) 638141fb examples: add feature/cancellation retry to example test script (#5846) 22c1fd2e deps: update golang.org/x/net to latest in all modules (#5847) 19490352 ringhash: add logs to surface information about ring creation (#5832) f7c110af test: remove use of deprecated WithInsecure() API (#5836) a2054471 examples: add new example to show updating metadata in interceptors (#5788) 001d234e rls: Fix regex in rls test (#5834) 73619713 rls: use a regex for the expected error string (#5827) 617d6c8a security/advancedtls: add test for crl cache expiration behavior (#5749) ef51864f grpclb: improve grpclb tests (#5826) fa99649f xdsclient: deflake new transport ack/nack tests (#5830) 99ba9823 transport/server: flush GOAWAY before closing conn due to max age (#5821) 20c937ee transport: limit AccountCheck tests to fewer streams and iterations to avoid flakes (#5828) 110ed9e6 xdsclient: resource-type-agnostic transport layer (#5808) c91396d4 pickfirst: do not return initial subconn while connecting (#5825) 94f0e7fa benchmark: add a feature for read and write buffer sizes (#5774) 087387ca Deflake Outlier Detection xDS e2e test (#5819) dd123b7f testutils/pickfirst: move helper function to testutils (#5822) be202a26 examples: add an example to illustrate the usage of stats handler (#5657) 9f97673b test: move e2e goaway tests to goaway_test.go (#5820) 0fe49e82 grpc: Improve documentation of read/write buffer size server and dial options (#5800) 09fc1a34 interop: update Go version in docker container used for psm interop (#5811) adfb9155 server: fix ChainUnaryInterceptor and ChainStreamInterceptor to allow retrying handlers (#5666) e0a9f111 reflection: split grpc and pb imports (#5810) 6f96f961 reflection: update proto (#5809) 6e43203e reflection: generate protobuf files from grpc-proto (#5799) 0abb6f9b xdsclient: resource type agnostic WatchResource() API (#5777) 3011eaf7 test/tools: update staticcheck version to latest (#5806) fefb3ec0 test/tools: update everything to latest versions except staticcheck (#5805) 50be6ae2 go.mod: update all dependencies (#5803) ff146806 Cap min and max ring size to 4K (#5801) 0238b6e1 transport: new stream with actual server name (#5748) 817c1e8c passthrough: return error if endpoint is empty and opt.Dialer is nil when building resolver (#5732) 56ac86fa xdsclient: wait for underlying transport to close (#5775) 457c2f54 benchmark: use default buffer sizes (#5762) 689d061d Cleanup usages of resolver.Target's Scheme and Authority (#5761) 5331dbd3 outlierdetection: remove an unused variable in a test (#5778) 81db2506 Change version to 1.52.0-dev (#5784) 72812fe3 gcp/observability: filter logging from cloud ops endpoints calls (#5765) 0ae33e69 xdsclient: remove unused test code (#5772) 824f4491 go.mod: upgrade x/text to v0.4 to address CVE (#5769) 7f23df02 xdsclient: switch xdsclient watch deadlock test to e2e style (#5697) 32f969e8 o11y: Added started rpc metric in o11y plugin (#5768) b597a8e1 xdsclient: improve authority watchers test (#5700) e41e8940 orca: create ORCA producer for LB policies to use to receive OOB load reports (#5669) 36d14dbf Fix binary logging bug which logs a server header on a trailers only response (#5763) fcb8bdf7 xds/google-c2p: validate url for no authorities (#5756) 040b795b xdsclient/e2e_test: use SendContext() where appropriate (#5729) 0d6481fb target: replace parsedTarget.Scheme to parsedTarget.URL.Scheme (#5750) fdcc01b8 transport/test: implement staticcheck suggestion (#5752) aa44ccaf google-c2p: use new-style resource name for LDS subscription (#5743) c858a770 balancer/weightedtarget: fix ConnStateEvltr to ignore transition from TF to Connecting (#5747) 64df6526 google-c2p: include federation env var in the logic which determines when to use directpath (#5745) 3c09650e balancer/weightedtarget: use ConnectivityStateEvaluator (#5734) 3fd80b0c Fix flaky test MultipleClientStatsHandler (#5739) 26071c24 google-c2p resolver: add authority entry to bootstrap config (#5680) 9127159c client: synchronously verify server preface in newClientTransport (#5731) f51d2126 xdsclient: improve RDS watchers test (#5692) 7c168026 tests: refactor tests to use testutils helper functions (#5728) 28fae96c xdsclient: improve federation watchers test (#5696) f88cc659 xdsclient: improve EDS watchers test (#5694) 439221d8 xdsclient: add a convenience type to synchronize execution of callbacks (#5702) dbb8e2bf xdsclient: improve CDS watchers test (#5693) 79ccdd8f clientconn: go idle if conn closed after preface received (#5714) 778860e6 testing: update Go to 1.19 (#5717) eb8aa319 weightedtarget: return a more meaningful error when no child policy is reporting READY (#5391) bb3d7394 fakeserver: add v3 support to the xDS fakeserver implementation (#5698) 912765f7 xds: move bootstrap config generating utility package to testutils (#5713) f52b910b o11y: Fixed o11y bug (#5720) 00d1830c Fix o11y typo (#5719) e163a908 xds/xdsclient: add EDS resource endpoint address duplication check (#5715) 9eba5743 xds: de-experimentalize google c2p resolver (#5707) 8b3b10bd gcp/observability: implement public preview config syntax, logging schema, and exposed metrics (#5704) 8062981d vet: workaround buggy mac git grep behavior (#5716) e81d0a27 xdsclient: improve LDS watchers test (#5691) 7b817b4d client: set grpc-accept-encoding to full list of registered compressors (#5541) c6724519 xds/xdsclient: add sum of EDS locality weights check (#5703) c03925db priority: release references to child policies which are removed (#5682) 5fc798be Add binary logger option for client and server (#5675) 12db695f grpc: restrict status codes from control plane (gRFC A54) (#5653) 202d355a Change version to 1.51.0-dev (#5687) 1451c62c internal/transport: optimize grpc-message encoding/decoding (#5654) be4b63b1 test: minor test cleanup (#5679) d83070ec Changed Outlier Detection Env Var to default true (#5673) 54521b22 client: remove trailing null from unix abstract socket address (#5678) 36e48107 orca: cleanup old code, and get grpc package to use new code (#5627) e8866a83 build: harden GitHub Workflow permissions (#5660) 8458251c xdsclient: ignore routes with cluster_specifier_plugin when GRPC_EXPERIMENTAL_XDS_RLS_LB is off (#5670) a238ceba xDS: Outlier Detection Env Var not hardcoded to false (#5664) b1d7f56b transport: Fix deadlock in transport caused by GOAWAY race with new stream creation (#5652) 9c3e589d rls: delegate pick to child policy as long as it is not in TransientFailure (#5656) 7da8a056 xds: Enable Outlier Detection interop tests (#5632) 21f0259e test: loosen metadata error check to reduce dependence on exact library errors (#5650) 552de120 orca: fix package used to reference service to use pb suffix instead of grpc (#5647) 87d1a90a orca: fix package used to reference service to use grpc suffix instead of pb (#5645) 60eecd91 metadata: add ValueFromIncomingContext to more efficiently retrieve a single value (#5596) 2ebd5943 Documentation/proxy: update due to Go 1.16 behavior change (#5630) 1530d3b2 gcp/observability: fix End() to cleanup global state correctly (#5623) f7d20367 xds: add Outlier Detection Balancer (#5435) 182e9df1 Grab comment from proto file, similar to protoc-gen-go (#5540) 60a3a7e9 cleanup: fixes for issues surfaced by vet (#5617) 99ae81bf roundrobin: optimization of the roundrobin implementation. (#5607) aee9f0ed orca: server side custom metrics implementation (#5531) ddcda5f7 alts: do not set WaitForReady on handshaker RPCs (#5620) d875a0e8 xdsclient: NACK cluster resource if config_source_specifier in lrs_server is not self (#5613) c351f37d chore: remove duplicate word in comments (#5616) f0f9f00f test/kokoro: enable pod log collection in the buildscripts (#5608) 1dd02563 ringhash: implement a no-op ExitIdle() method (#5614) fe592260 clusterresolver: deflake eds_impl tests (#5562) d5dee5fd xds/ringhash: make reconnection logic work for a single subConn (#5601) b225ddaa transport: update http2 spec document link (#5597) 641dc871 transport: add peer information to http2Server and http2Client context (#5589) 02fbca0f xds/resolver: generate channel ID randomly (#5591) 97cb7b16 xds/clusterresolver: prevent deadlock of concurrent Close and UpdateState calls (#5588) c56f196d internal/fakegrpclb: don't listen on all adapters (#5592) 3f5b7ab4 internal/transport: fix typo (#5566) c11858e8 Publish arm64 binaries to GitHub releases (#5561) 802b32e0 Change version to 1.50.0-dev (#5585) 92cee344 gcp/observability: Add logging filters for logging, tracing, and metrics API calls (#5582) c7fe135d O11Y: Added support for custom tags (#5565) 7981af40 test/kokoro: add missing image tagging to the xDS interop url map buildscript (#5569) 6f34b7ad xdsclient: NACK endpoint resource if load_balancing_weight is specified and is zero (#5568) f9409d38 ringhash: handle config updates properly (#5557) 946dde00 xdsclient: NACK endpoint resources with zero weight (#5560) b89f49b0 xdsclient: deflake Test/LDSWatch_PartialValid (#5552) 9bc72deb grpc: remove mentions of WithBalancerName from comments (#5555) a077b946 Switched unlock to defer in newAddrConn (#5556) 57aaa10b test: move clientconn state transition test to test/ directory (#5551) 23f015c3 priority: sync priority with child in use (#5549) c14e29e6 rls: suppress picker updates from children when handling config updates (#5539) 02f1a7ac grpc: prevent a nil stats handler from causing a panic (#5543) 1ec054bb transport/server: fix race that could cause a stray header to be sent (#5513) 2f60cb8b test: improve the logic for checking round_robin (#5534) fd4700cf xdsclient: cleanup listener watchers test (#5506) e72cb1c1 xdsclient: organize existing contents better with new files (#5533) b695a7f2 test/interop: increase pick_first timeout (#5529) 9a689dc4 xdsclient: change receiver on BootstrapConfig() to be consistent (#5532) ae261b06 xds: Fixed GoLang regression for Outlier Detection (#5537) fdc5d2f3 xds/clustermanager: pause picker updates during UpdateClientConnState (#5528) 86117db5 balancer/weightedtarget: pause picker updates during UpdateClientConnState (#5527) 679138d6 gcp/observability: Add support for Environment Variable GRPC_CONFIG_OBSERVABILITY_JSON (#5525) d0f3c561 interop client: fixes for interop soak test (#5502) 6dd40ad6 Change the log-level when a new ServerTransport cannot be created (#5524) f601dfac test/kokoro: Add missing secondary_kube_context to xds LB tests (#5508) 3a77d291 xdsclient: fix LRS stream leaks when errors are encountered (#5505) 30d54d39 client: fix stream creation issue with transparent retry (#5503) 96aa657b xds: readd NewXDSResolverWithConfigForTesting() (#5504) 4f47c8c1 test/xds: wait for all ACKs before forcing stream restart (#5500) a094a109 Fix race between activeStreams and bdp window size (#5494) 5e15eac0 xdsclient: handle empty authority in new style resource names (#5488) c4023787 doc: remove comment about obsolete GRPC_GO_RETRY env var (#5495) 9ba66f1b xdsclient: use top-level server list if authority specific list is empty (#5491) e02f27d9 internal: move baseContentType comment where it should be (#5486) 50170888 internal/xds: generate an entry in the authorities map with empty string key (#5493) 2c0949c2 all: update to 'go 1.17' to enable module graph pruning (#5477) 38df45ca xdsclient: move XDSClient interface definition to client.go (#5479) 03fee09e balancer: fix connectivity state aggregation algorithm to follow the spec (#5473) 0d04c6f5 ringhash: don't recreate subConns when update doesn't change address information (#5431) a6dcb714 xdsclient: don't reset version info after stream restart (#5422) 8c494a9a Change version to 1.49.0-dev (#5484) 5770b1de xds: drop localities with zero weight at the xdsClient layer (#5476) 423cd8e3 interop: update proto to make vet happy (#5475) c9b16c88 transport: remove unused `bufWriter.onFlush()` (#5464) 755bf5a1 fix typo in the binary log (#5467) 15739b5c health: split imports into healthpb and healthgrpc (#5466) c075d201 interop client: provide new flag, --soak_min_time_ms_between_rpcs (#5421) 4b750055 clusterresolver: merge P(p)arseConfig functions (#5462) d883f3d5 test/xds: fail only when state changes to something other than READY and IDLE (#5463) c6ee1c71 xdsclient: only include nodeID in error strings, not the whole nodeProto (#5461) 06ad0b82 internal/proto: remove obsolete test and service_config.pb.go (#5459) 5cdb09fa outlierdetection: fix package level comments (#5457) 28de4866 interop: update grpc_testing proto (#5451) b288a240 interop testing: log the peer address in interop soak client (#5419) 3e7b97fe xds/priority: bug fix and minor behavior change (#5417) 29d9970c xds: Outlier Detection configuration in Cluster Resolver Balancer (#5371) 1dabf545 test/kokoro: use standard TESTING_VERSION in the new framework builds (#5434) f14d6112 resolver: minor improvements to AddressMap (#5426) c0198a9c ringhash: use grpctest.Tester in unit tests (#5428) f229f9c7 weightedroundrobin: update comments to indicate where addrInfo is stored (#5427) 71f16a1d internal/proto: pull in recent changes to service config proto (#5424) 584d9cd1 gcp/observability: update log name (#5414) 9ee2f146 gcp/observability: Implement tracing/metrics via OpenCensus (#5372) 34e4fc3b rls: use UNAVAILABLE instead of status from control plane (#5400) a0d5484e interop: remove duplicated xDS tests in GCE framework (#5395) ca5cc0bc credentials/google: support new-style xDS cluster names (#5399) cbcceaf7 gracefulswitch: fix exit idle race (#5384) ea86bf74 stats: add support for multiple stats handlers in a single client or server (#5347) 13b378bc internal: add global DialOptions and ServerOptions for all clients and servers (#5352) 70a80552 xds/priority: clean up tests (#5387) e41f8685 test/xds: move tests to a package with _test suffix (#5382) da6ef005 xds/clusterresolver: reuse child policy names for the same locality (#5367) 6e253e8a interop: update proto by running regenerate.sh (#5381) a45cd25f xds: Enable aggregate and logical dns clusters by default (#5380) c0e35731 xds: move e2e tests into grpc/test/xds directory (#5363) c6c0a06d Change version to 1.48.0-dev (#5379) ed752259 Don't call cmp in non testing file (#5370) 081c6884 client: fix hctx leakage in addrConn.createTransport (#5337) 30b9d59a client/SubConn: do not recreate addrConn if UpdateAddresses is called with the same addresses (#5373) 459729d6 xds/priority: avoid sending duplicate updates to children (#5374) 9f4b31a1 Added HTTP status and grpc status to POST check (#5364) 333a441e xds/ringhash: update connectivity state aggregation, and make sure at least one SubConn is connecting in TF (#5338) e23132c6 Added support for metadata matcher invert (#5345) d9b952b1 xds/resolver: use correct resource name in log message (#5357) db79903a xds/priority: start the init timer when a child switch to Connecting from non-transient-failure state (#5334) 462d8676 xds: Add Outlier Detection configuration and CDS handling (#5299) 5c46f1aa xdsclient/csds: fix leaked metadata (#5339) ee67b3d8 xds: Handle loops and ignore duplicates in aggregated cluster handling (#5317) 799605c2 client: fix potential panic during RPC retries (#5323) 78b13f27 xds/client: hold authority mutex before making a new authority (#5331) de73b2b6 examples: improve error messages (#5329) dc86d5de internal/proto: update generated code (#5332) 7567a5d9 documentation: fix typo in RegisterCodec godoc (#5306) 3bf6719f test/interop: register RLS to the interop test client (#5272) 8d68434c gcp/observability: correctly test this module in presubmit tests (#5300) ebd09839 xds/eds: reject EDS resources with multiple instances of the same locality in the same priority (#5303) 9711b148 server: clarify documentation around setting and sending headers and ServerStream errors (#5302) 924e4849 server: return better status for context err when writing header (#5292) 5682cc6a Change version to 1.47.0-dev (#5298) 4467a29d gcp/observability: implement logging via binarylog (#5196) 18fdf542 cmd/protoc-gen-go-grpc: allow hooks to modify client structs and service handlers (#5240) 337b815c interop: build client without timeout; add logs to help debug failures (#5294) e583b196 xds: Add RLS in xDS e2e test (#5281) 0066bf69 grpc: perform graceful switching of LB policies in the `ClientConn` by default (#5285) 3cccf6a4 xdsclient: always backoff between new streams even after successful stream (#5280) 4e780933 xds: ignore routes with unsupported cluster specifiers (#5269) 99aae344 cluster manager: Add Graceful Switch functionality to Cluster Manager (#5265) 42cadc17 test: cleanup balancer switching tests (#5271) b6873c00 grpc: move to `TransientFailure` in `pick_first` LB policy when all addresses are removed (#5274) 474948a9 github: run all testing jobs to completion even if one fails (#5282) c57d2b13 clientconn: fix target parsing tests to be tolerant to new url.URL field OmitHost (#5279) 562e12f0 test: use channelz instead of stats handler to determine RPC count (#5275) e63e1230 advancedtls: remove the usage of CDP in CRL enforcement (#5218) 3a74cd52 balancergroup: Add trigger point to gracefully switch a child (#5251) 34660d10 test: use `t.Fatal` instead of `panic` for service config parsing errors (#5266) 96bdede4 pickfirst: cleanup tests (#5263) e49486de test: add a test for clientConn close with pending RPC (#5264) 2fccb822 metadata: copy slices in FromContext() functions (#5267) 9d088969 github: update to test with Go 1.18 (#5262) 597e5d1b don't apply defaultSC upon receipt of invalid service config (#5257) 51ddcbad xds: suppress redundant updates only when we are SERVING (#5258) 4635bf28 make the RLS LB policy name available in the internal package (#5259) 50d0d0a5 server: set TCP_USER_TIMEOUT socket option for linux (#5219) 7840bd63 grpc: add a comment explaining why updateClientConnState is handled inline (#5261) 7ea4af98 internal/googlecloud: refactor OS-dependent code (#5239) 1ffd63de binarylog: generalize binarylog's MethodLogger preparing for new observability features (#5244) 63bdcbcc xds/interop: add xds_k8s_lb test suite (#5250) 89f31959 interop/client: simplify fallback test client and parameterize fallback deadline (#5248) 8078d1d5 balancergroup: Switched subBalancerWrapper to wrap a gracefulswitch.Balancer (#5245) 6131e9d4 examples: regenerate certs to use SHA256 signing algorithm (#5256) f95b001a xds: avoid log spam during server mode switches (better A36 compliance) (#5215) 97c31434 xds/client: accept resources wrapped in discoverypb.Resource message (#5242) 6c3ccbe8 grpc: remove remaining usages of grpc.WithInsecure() (#5246) fbe4ccbc xds/client: include Node ID in error messages from the XdsClient (#5223) c4cabf78 grpc: handle invalid service configs by applying the default if available (#5238) 94ee3865 test: cleanup roundrobin tests to use stubserver (#5236) 23cc28fd security/authorization: upgrade cel-v0.10.1 and fix breaking API change. (#5243) 84793b56 xds/client: reset backoff when a message is received, even when the message is invalid (#5241) 722367c4 proto: regenerate proto to pick up latest (#5237) eead9a82 grpc: delete deprecated API WithBalancerName() (#5232) cf6d4d5a grpc: document ClientConn fields (#5227) 431ea809 internal/balancer: Add graceful switch LB policy (#5207) 63af9747 internal: update service config proto (#5222) 87b0a8d6 test: use real grpc.Server in call tests (#5213) 6b15b135 channelz: replace deprecated timestamp API with recommended ones (#5212) 6f314bd7 reflection: add comments on protos (#5209) 328efcc9 example: add mutual TLS example (#5194) e601f1ae fix: does not validate metadata keys and values (#4886) a73725f4 channelz: include channelz identifier in logs (#5192) 02f384d4 xds: rename rls proto import (#5205) fd1f9881 Change version to 1.46.0-dev (#5204) 011544f7 authz: add additional logs to sdk authz (#5094) 18564ff6 reflection: improve server implementation (#5197) ec717cad xds: minor cleanup in xdsclient bootstrap code (#5195) ebc30b8f reflection: use protobuf/reflect instead of go reflection, fix dynamic messages (#5180) 46009ac9 transport: Add an Unwrap method to ConnectionError (#5148) 75fd0240 remove sdk term from grpc authz (#5191) a354b1ee channelz: rename NewChannelzStorage to NewChannelzStorageForTesting (#5190) 0e055491 Format directory/file references (#5184) c44f627f cleanup: replace grpc.WithInsecure with insecure.NewCredentials (#5177) 91967153 xds/priority: log warnings instead of errors (#5185) 1a633098 xds: Add support for Outlier Detection configuration in xdsclient (#5183) 2af7b5e6 xds/interop: update RPC timeout in blackhole after fallback case (#5174) f664adfe benchmark: update client to include xds library (#5169) c7f7d3a7 xds/bootstrap: add plugin system for credentials specified in bootstrap file (#5136) 2209ed9e cmd/protoc-gen-go-grpc: add hooks to allow overriding generated code (#5056) f68fb05c leakcheck: ignore http read/write goroutine (#5182) 98079086 rls: support `routeLookupChannelServiceConfig` field (#5176) 593ff8d0 rls: service field in RLS request must not contain slashes (#5168) e2fc510d internal/proto: update generated code (#5172) 3b70fe08 xds: fix broken test "unknown field EnableLRS in struct" (#5170) d31dbe7a xds/resource: accept Self as LDS's RDS config source and CDS's EDS config source (#5152) 0a68f8af xds/federation: support federation in LRS (#5128) 61a6a06b server: handle context errors returned by service handler (#5156) e2771749 xds/bootstrap: escape authority when populating resource name template (#5160) 231ca3b2 security/advancedtls: fix CRL issuer comparison (#5130) 449f1b22 grpclb: rename LB policy config field to `serviceName` (#5166) 546e6aeb proto: incorporate recent service config proto definition changes (#5167) 5b376823 Let helloworld example listen to all hosts (#5089) 9cb41138 xdsclient: make Close() idempotent (#5149) 6f54b5dd recommend the use `go test` commands instead of `make test` (#5151) fa62572a rls: make the data cache purge ticker a field in rlsBalancer (#5154) f93e8e67 rls: return status error from server interceptor in test (#5153) 61a352e9 rls: move RLS LB policy implementation out of internal (#5143) 475c62a8 testing: fix potential problems in testFlowControlAccountCheck (#5105) 5350e746 xds/controller: fix test nil panic on stream errors (#5144) eb6ff1ae xds: update RPC timeout in blackhole case (#5126) aad573d8 rls: LB policy implementation (#4992) a0029942 internal/proto: update generated code (#5125) c1198288 xdsclient: allow overriding grpc.Dial function for the xDS controller. (#5108) f231ac52 wrr: improve randomWRR performance (#5067) 0145b50c use insecure.NewCredentials() instead of grpc.WithInsecure (#5087) b49c0c99 xds/clusterresolver: set ClusterName for DNS child (#5119) 9353ae3b credentials/google: stub out the oauth package in test (#5118) 13c41bce Change version to 1.45.0-dev (#5122) 77b478d7 xds/federation: e2e tests (#5103) 907a202a attributes: document that some value types (e.g. `map`s) must implement Equal (#5109) 2fb1ac85 test: fix potential goroutine leak in TestUpdateAddresses_RetryFromFirstAddr (#5023) afded723 xds/federation: update xdsclient to support multi authority (#5042) b0694409 credentials/google: use grpctest.Tester for tests in this package (#5098) fbaf7c55 authz: update representation of allow authenticated in SDK (#5052) 344b93a2 testdata: use SHA256 as signing algorithm in testdata certs (#5074) 4d58dd98 dialoptions.go: Fix WithBlock godoc (#5073) 78df8ec0 test/kokoro: Use xds-test-server-5 as the GCE interop server (#5071) db9fdf70 insecure: remove experimental notice (#5069) b3d19efe rls: move the data cache implementation into the rls package (#5060) ec7cf6c9 grpclb: fix possible nil before conversion in TestDropRequest (#5022) 8ae11f46 grpc: minor improvement on WithInsecure() document (#5068) 7506755e internal/resolver: fix possible goroutine leak in TestSafeConfigSelector (#5058) 956c5948 rls: minor config processing changes (#5061) c285fc70 cmd/protoc-gen-go-grpc: update version for release (#5070) 51835dc0 xds: Remove WithBlock option from the fallback test client (#5066) ce152f20 xds: Add xds dependency to the fallback test client (#5062) 029b8227 xds: Add RLS Cluster Specifier Plugin (#5004) 50f82701 rls: control channel implementation (#5046) 7c8a9321 testing: fix goroutine leak in TestClientUpdatesParamsAfterGoAway (#5024) a32d2778 xds/client: send connection errors to all watchers (#5054) c18e2a28 cmd/protoc-gen-go-grpc: update google.golang.org/protobuf to v1.27.1 (#5053) 5d90b32d authz: fix regex expression match (#5035) fd4e3bdc xds: Added env var for RLS in xDS (#5050) bd707697 test: cleanup roundrobin_test (#5005) d35aff3c xds/federation: resource name parsing (#4991) 62f73ecd xds/client: move xdsclient.New tests to controller.New (#5037) 40916aa0 transport: better error message when per-RPC creds fail (#5033) 1ec7a893 xds/client: send NewStream errors to the watchers (#5032) ccc060cb grpclog.DepthLoggerV2: Correct comment: formats like fmt.Println (#5038) a722e6aa xds/c2p: replace C2P resolver env var with experimental scheme suffix (#5044) f5dc086d internal/balancergroup: eliminate race in exitIdle (#5012) ac4edd2a Change version to 1.44.0-dev (#5041) 3786ae17 xds/resolver: Add support for cluster specifier plugins (#4987) 512e8947 rls: support extra_keys and constant_keys (#4995) f3bbd120 xds/bootstrap_config: add a string function to server config (#5031) 46935b96 fix possible nil before casting (#5017) c2bccd0b xds/kokoro: install go 1.17, and retry go build (#5015) 872a6f12 xds/c2p: fix default client resource template, and xds-client target scheme (#5010) 58beff18 balancergroup: add method to exitIdle a sub-balancer (#4994) 6f8796bc rls: double import rls protos (#5003) d542bfce status: support wrapped errors in FromContextError (#4977) f45e6179 rls: move pb.gos to grpc/internal/proto/grpc_lookup_v1 (#4993) 295d7e66 internal: move leakcheck to t.Cleanup (#4989) 23becb71 examples: Fix server port in route_guide example to work with client (#4975) bdf8336f xds/client: cleanup Dump to remove unnecessary version field (#4978) b2317c76 test/kokoro: rename xds_k8s to psm-security as part of tech-debt cleanup and name clarity (#4979) cf8b64e2 internal: add log when service config is disabled (#4973) 6e79bc8a xdsclient: add Cluster Specifier Name to Route (#4972) 82d8af8b balancer: add Authority field to balancer.BuildOptions (#4969) ea068ed2 rpc_util: Change error message to indicate size after decompression (#4918) d61c7ae8 internal: merge xds/envconfig into env package (#4923) 6a896a3e pickfirst: check b.sc before calling Connect (#4971) 52d94167 xds/client: move transport_helper from xdsclient to a separate struct (#4968) 6603e730 xds: Added validation and construction of RBAC matcher engine to ParseConfig (#4964) d57363ab xds: Add Cluster Specifier Plugin to xdsclient (#4967) dd767416 grpc: implement WithInsecure() using the insecure package (#4718) c25a52b7 config: remove retry disable via environment variable (#4922) 714ba8d5 xds: move balancergroup and weightedtarget our of xds directory (#4966) 14ebd917 lint: fix some unused parameter issues (#4956) 59e024e4 xds/client: move watchers from xdsclient to a separate struct (#4963) bac0a7e4 transport: pass handshake info with attributes to custom dialers (#4938) 82c28251 xds/federation: support new bootstrap fields and protect them by an env var (#4936) c53203c5 xds/federation: support populating resource template in xds-resolver (#4900) 79e9c957 xds/client: move unmarshal functions and types to a separate package (#4904) 3fa19881 internal: update pb.go (#4962) 878cea23 kokoro: Enable xds authz_test (#4954) 5841c8c7 xds/balancergroup: remove xds dependency from balancergroup (#4955) 3b94303f grpc: stabilize WithConnectParams DialOption (#4915) c105005d xds: NACK missing route specifier server side (#4925) 670c133e transport/http2_server : Move up streamID validation in operate headers (#4873) 29deb6bf xds/bootstrap: refactor to support top level and per-authority server config (#4892) 1163cfab xds: move LocalTCPListener to internal/testutils (#4920) 467630fc examples: remove usage of WithBlock in examples (#4858) 6d465fe9 grpclb: move restartableListener to testutils (#4919) d6aca733 Change version to 1.43.0-dev (#4912) bb655a91 internal: update rls.pb.go (#4913) 2d7bdf2d xds: Set RBAC on by default (#4909) d47437c9 xds: Fix invert functionality for header matcher (#4902) 9fa26982 xds/csds: populate new GenericXdsConfig field (#4898) 6e8625df doc: promote WithDisableRetry to stable; clarify retry is enabled by default (#4901) f1d87c14 client: properly disable retry if GRPC_GO_RETRY=off (#4899) 03753f59 creds/google: fix CFE cluster name check (#4893) 4f21cde7 authz: support empty principals and fix rbac authenticated matcher (#4883) f00baa6c resolver: replace AddressMap.Range with Keys (#4891) 2a312458 client: don't force passthrough as default resolver (#4890) bd0f8815 grpclb: recover after receiving an empty server list (#4879) 0d503075 xds/priority: handle new low priority when high priority is in Idle (#4889) fbf9b563 grpc: stabilize WithDefaultServiceConfig and improve godoc (#4888) 3b1d3e48 examples: update load balancing example to use loadBalancingConfig (#4887) 01ed6485 update go.mod to point to latest cncf/udpa repo (#4884) 3d9e9c42 logging: enable json logging in xds server container (#4885) 4757d024 xds: Make regex matchers match on full string, not just partial match (#4875) d590071c status: clarify FromError docstring (#4880) 36d87572 attributes: add Equal method; resolver: add AddressMap and State.BalancerAttributes (#4855) 3db1cb09 xds/clusterimpl: fix SubConn wrapper returned by picker during race (#4876) 7e5fcc68 rls: update rls proto (#4877) 3bae5f5b xds: use protos from cncf/xds instead of cncf/udpa (#4866) aaff9e7a grpc: better RFC 3986 compliant target parsing (#4817) 45097a8a Revert "kokoro: remove expired letsencrypt.org cert and update" (#4860) 2fe71180 xds/e2e: move flag check to each test, and call t.Skip() (#4861) ea41fbfa examples: unix abstract socket (#4848) 6c56e211 grpclb: add `target_field` to service config (#4847) 49f63887 grpclog: support formatting output as JSON (#4854) b99d1040 authz: create file watcher interceptor for gRPC SDK API (#4760) 03ca7b7d Added logs to rbac (#4853) 524d10cb kokoro: source test driver install script from core repo (#4825) b9d7c74e xds: local interop tests (#4823) 404d8fd5 Added imports for HTTP Filters (#4850) d16cfedb Rename env var (#4849) 4bd99953 xds: suppress redundant resource updates using proto.Equal (#4831) ee479e63 creds/google: replace NewComputeEngineCredsWithOptions with NewDefaultCredentialsWithOptions (#4830) 02da6251 github: increase timeout for codeql and disable for PRs (#4841) f2974e77 kokoro: remove expired letsencrypt.org cert and update (#4840) f068a13e server: add missing conn.Close if the connection dies before reading the HTTP/2 preface (#4837) 09970207 xds: remove race in TestUnmarshalCluster_WithUpdateValidatorFunc (#4836) b9f62538 rls: pull proto changes made in grpc-proto/pull/98 (#4832) 69e1b54d test: fix stayConnected to call Connect after state reports IDLE (#4821) 127c052c credentials/google: introduce a new API `NewComputeEngineCredsWithOptions` (#4767) 2ae5ac16 xds: nack if certprovider instance name is missing in bootstrap config (#4799) adb21c46 rls: improve config parsing (#4819) e6d0d281 internal: log SubConn type if it's not the expected type (#4813) 34df1b42 xds: Small RBAC Changes defined in A41 (#4818) 75f1d4b9 transport: call stats handler for trailers before closeStream (#4816) 08927214 xds/rds: NACK unknown route action cluster specifier (#4788) 710419d3 advancedtls: add revocation support to client/server options (#4781) 4555155a xds: Small changes at xDS RBAC Layer (#4815) 689f7b15 transport: logic specified in A41 to support RBAC xDS HTTP Filter (#4803) 11437f66 test: add option to make httpServer wait for END_STREAM; fix RetryStats race (#4811) 6ff68b48 channelz: recommend using admin.Register instead (#4797) 78d3aa8b grpc: cleanup parse target and authority tests (#4787) 83a34615 xds: have separate tests for RBAC on and off (#4807) d7208f02 github: set a shorter timeout on testing jobs (#4806) 32cd3d61 interop: don't use WithBlock dial option in the client (#4805) d623accd xds: fix parent balancers to handle Idle children (#4801) e6246c22 server: optimize chain interceptors (-1 allocation, -10% time/call) (#4746) 458ea764 xds: Added validations for HCM to support xDS RBAC Filter (#4786) 1f12bf44 transport: fix a typo in http2_server.go (#4745) 606403de transport: fix log spam from Server Authentication Handshake errors (#4798) 616977cc Change version to 1.42.0-dev (#4793) Signed-off-by: Peter Marko --- recipes-devtools/go/grpc-go_git.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes-devtools/go/grpc-go_git.bb b/recipes-devtools/go/grpc-go_git.bb index b3b58ed4..7989c02f 100644 --- a/recipes-devtools/go/grpc-go_git.bb +++ b/recipes-devtools/go/grpc-go_git.bb @@ -7,10 +7,10 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=3b83ef96387f14655fc854ddc SRCNAME = "grpc-go" PKG_NAME = "google.golang.org/grpc" -SRC_URI = "git://github.com/grpc/${SRCNAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" +SRC_URI = "git://github.com/grpc/${SRCNAME}.git;destsuffix=git/src/${PKG_NAME};branch=v1.59.x;protocol=https" -SRCREV = "5d8e5aad40bedb696205b96b786f1d0e1326b3f8" -PV = "1.41.0+git" +SRCREV = "7765221f4bf6104973db7946d56936cf838cad46" +PV = "1.59.0+git" S = "${WORKDIR}/git"