Commit Graph

4224 Commits

Author SHA1 Message Date
Michael Lumish 056dc8e56e grpc-js: Unregister socket from channelz when closing transport 2023-03-10 13:58:02 -08:00
Michael Lumish 9264d582c9
Merge pull request #2387 from murgatroid99/grpc-js_trace_receive_message
grpc-js: Add more logging to trace handling of received messages
2023-03-07 15:37:48 -08:00
Michael Lumish 79161816e6 grpc-js: Add more logging to trace handling of received messages 2023-03-07 15:09:19 -08:00
Michael Lumish 7aba0004e6
Merge pull request #2380 from murgatroid99/grpc-js_pick_first_fix2
grpc-js: Fix address equality check in pick-first
2023-03-07 14:24:14 -08:00
Michael Lumish e66909d8e4
Merge pull request #2383 from murgatroid99/grpc-js_pick_start_log
grpc-js: Trace before call to LB policy picker
2023-03-07 10:39:45 -08:00
Michael Lumish c525025f06 grpc-js: Trace before call to LB policy picker 2023-03-06 15:10:29 -08:00
Michael Lumish 8a22f5f2a4
Merge pull request #2381 from murgatroid99/grpc-js_backport_server_async_fix
grpc-js: add await/async on method that return promise (v1.8.x)
2023-03-06 13:42:19 -08:00
Ulrich Van Den Hekke c23c67cd4f grpc-js: add await/async on method that return promise
add await/async on method that return promise to ensure that the order of message (and of the end of stream) are preserved
2023-03-06 10:15:52 -08:00
Michael Lumish 0726fdf290 grpc-js: Fix address equality check in pick-first 2023-03-06 10:11:46 -08:00
Michael Lumish 07288b326e
Merge pull request #2372 from murgatroid99/grpc-js_retry_buffer_free
grpc-js: Stop leaking freed message buffer placeholder objects
2023-02-24 10:00:05 -08:00
Michael Lumish 1f14d1c138 grpc-js: Stop leaking freed message buffer placeholder objects 2023-02-23 17:49:03 -08:00
Michael Lumish 6614ebbc45
Merge pull request #2369 from murgatroid99/grpc-js_pick_first_fix
grpc-js: Fix bugs in pick first LB policy and channel subchannel wrapper
2023-02-21 16:20:56 -08:00
Michael Lumish 6862af2350 grpc-js: Fix bugs in pick first LB policy and channel subchannel wrapper 2023-02-21 15:26:09 -08:00
Michael Lumish 72b99a1413
Merge pull request #2363 from murgatroid99/grpc-js_channel_keepalive_throttling
grpc-js: Propagate keepalive throttling throughout channel
2023-02-15 15:44:48 -08:00
Michael Lumish 2ed8e71ba1 grpc-js: Propagate keepalive throttling throughout channel 2023-02-14 13:47:50 -08:00
Michael Lumish ba08267516
Merge pull request #2352 from murgatroid99/grpc-js_deadline_refinement
grpc-js: Improve timeout handling and deadline logging
2023-02-09 17:24:03 -08:00
Michael Lumish 37eb5ed2fa grpc-js: Improve timeout handling and deadline logging 2023-02-09 10:18:24 -08:00
Michael Lumish 7ab5368a6e
Merge pull request #2349 from murgatroid99/grpc-js_retry_commit_fix
grpc-js: Fix `commitCallWithMostMessages` trying to commit completed attempts
2023-02-08 10:40:55 -08:00
Michael Lumish 2b7f296680
Merge pull request #2351 from murgatroid99/grpc-js_export_interceptor_types
grpc-js: Export `InterceptingListener` and `NextCall` types
2023-02-08 10:40:25 -08:00
Michael Lumish 9bf74d9d59
Merge pull request #2350 from murgatroid99/grpc-js_retry_clean_status
grpc-js: Remove `progress` field in status from retrying call
2023-02-08 10:40:16 -08:00
Michael Lumish 18c803e6dd grpc-js: Export InterceptingListener and NextCall types 2023-02-08 09:55:32 -08:00
Michael Lumish 3596c4f655 grpc-js: Remove progress field in status from retrying call 2023-02-07 14:52:20 -08:00
Michael Lumish cf090c7f50 grpc-js: Fix commitCallWithMostMessages trying to commit completed attempts 2023-02-07 14:35:35 -08:00
Michael Lumish cea545dd77
Merge pull request #2337 from murgatroid99/grpc-js_transport_fix_active_call_tracking
grpc-js: Fix tracking of active calls in transport
2023-01-25 14:28:45 -08:00
Michael Lumish 3efdc7b58c grpc-js: Bump version to 1.8.7 2023-01-25 11:56:09 -08:00
Michael Lumish 0d177a818f grpc-js: Fix tracking of active calls in transport 2023-01-25 11:52:24 -08:00
Michael Lumish f29e99d0c6
Merge pull request #2336 from murgatroid99/grpc-js_transport_garbage_collection
grpc-js: Hold a reference to transport in SubchannelCall
2023-01-25 10:54:21 -08:00
Michael Lumish 6d98dc5bbf grpc-js: Hold a reference to transport in SubchannelCall 2023-01-25 10:01:45 -08:00
Michael Lumish 0081d24a2c
Merge pull request #2335 from murgatroid99/grpc-js_clear_deadline
grpc-js: Clear deadline timer when call ends
2023-01-23 12:52:42 -08:00
Michael Lumish ba405cf35e grpc-js: Clear deadline timer when call ends 2023-01-23 11:36:24 -08:00
Michael Lumish 3fe218525a
Merge pull request #2331 from murgatroid99/grpc-js-xds_cluster_weight_limit
grpc-js-xds: weighted clusters: stop checking total_weight, check weight sum <= uint32 max
2023-01-20 10:59:14 -08:00
Michael Lumish 7a6fa275fe grpc-js-xds: weighted clusters: stop checking total_weight, check weight sum <= uint32 max 2023-01-18 10:55:28 -08:00
Sergii Tkachenko f3d6d48903
Merge pull request #2330 from sergiitk/backport-1.8-xds-interop-fix-buildscript-suites
xds interop: Fix buildscripts not continuing on a failed test suite (@grpc/grpc-js@1.8.x backport)

Apparently there's a difference between bash 3 and bash 4.
OSX comes with bash 3 out-of-box, so for whoever wrote this logic
it "worked on my machine".

The `((` construct returns a 0 exit code if the value is non-zero.
Since the value starts at 0 and we do a post-increment,
it will always fail the first time.
Changing it to a pre-increment fixes the problem.
2023-01-17 19:26:40 -05:00
Michael Lumish d441aa687d Merge pull request #2323 from sergiitk/xds-interop-fix-buildscript-suites
xds interop: Fix buildscripts not continuing on a failed test suite
2023-01-17 16:20:20 -08:00
Michael Lumish a9f87fcc3c
Merge pull request #2322 from murgatroid99/grpc-js_transport_session_ref
grpc-js: Reference session in transport when there are active calls
2023-01-12 11:04:50 -08:00
Michael Lumish 7eaebaf1ed grpc-js: Undo changes to stream tracking 2023-01-12 10:00:28 -08:00
Michael Lumish fade30bd0a grpc-js: Make call and stream tracking more consistent 2023-01-12 09:47:19 -08:00
Michael Lumish b342001b38 grpc-js: Reference session in transport when there are active calls 2023-01-12 09:24:21 -08:00
Michael Lumish 3db8acb96f
Merge pull request #2319 from murgatroid99/grpc-js_transport_disconnect_fix
grpc-js: Don't end calls when receiving GOAWAY
2023-01-11 10:49:25 -08:00
Michael Lumish b3b6310f04 grpc-js: Don't end calls when receiving GOAWAY 2023-01-10 15:24:22 -08:00
Michael Lumish 13337aaa47
Merge pull request #2316 from murgatroid99/grpc-js_push_order_fix
grpc-js: Ensure ordering between status and final message
2023-01-09 13:19:35 -08:00
Michael Lumish 2d37686a1a grpc-js: Ensure ordering between status and final message 2023-01-09 10:24:17 -08:00
Sergii Tkachenko 099a3bc986
Merge pull request #2314 from sergiitk/backport-1.8-reduce-gce-xds-interop-tests
grpc-js-xds: Reduce GCE xDS interop tests to ping_pong and circuit_breaking (@grpc/grpc-js@1.8.x backport)
2023-01-06 17:59:08 -05:00
Michael Lumish b72e1fc665 Merge pull request #2310 from grpc/reduce-gce-xds-interop-tests
grpc-js-xds: Reduce GCE xDS interop tests to ping_pong and circuit_breaking
2023-01-06 14:53:11 -08:00
Michael Lumish a4d409db00
Merge pull request #2308 from murgatroid99/grpc-js_transport_refactor
grpc-js: Refactor `Transport` and `SubchannelConnector` out of `Subchannel`
2023-01-05 13:35:04 -08:00
Michael Lumish df8b8976dc grpc-js: Refactor Transport and SubchannelConnector out of Subchannel 2023-01-03 16:45:07 -08:00
Michael Lumish d2bd71348a
Merge pull request #2307 from murgatroid99/grpc-js_1.8.1
grpc-js: Bump to version 1.8.1
2023-01-03 14:09:40 -08:00
Michael Lumish 5006c14d72 grpc-js: Bump to version 1.8.1 2023-01-03 13:43:55 -08:00
Michael Lumish 08cc571d1e
Merge pull request #2277 from kleinsch/add_service_config_disable_resolution
grpc-js: Add support for grpc.service_config_disable_resolution
2023-01-03 13:17:34 -08:00
Michael Lumish fbfa73cdc8
Merge pull request #2305 from murgatroid99/grpc-js_trailers_only_default_headers
grpc-js: Add HTTP status and content type headers to trailers-only responses
2023-01-03 12:49:09 -08:00