Commit Graph

2564 Commits

Author SHA1 Message Date
Michael Lumish 14f1d02c9a grpc-js: Avoid sending redundant RST_STREAMs from the client 2024-03-20 15:46:59 -07:00
Michael Lumish d7d171776d grpc-js: Add more info to deadline exceeded errors 2024-03-15 15:43:57 -07:00
Michael Lumish a8c6c33daa grpc-js: Bump version to 1.10.3 2024-03-15 09:24:01 -07:00
Michael Lumish d0c2026887 Revert "grpc-js: pick_first: Don't automatically reconnect after connection drop"
This reverts commit 4a3fefa2b3.
2024-03-15 09:23:08 -07:00
Michael Lumish 0edd1948ab
Merge pull request #2684 from murgatroid99/grpc-js_1.10.2
grpc-js: Bump to 1.10.2
2024-03-07 10:53:27 -08:00
Michael Lumish 55b98529f8
Merge pull request #2683 from murgatroid99/grpc-js_server_event_order
grpc-js: Rearrange some function calls to revert event order changes
2024-03-07 10:53:02 -08:00
Michael Lumish cb966dfcd6
Merge pull request #2680 from murgatroid99/grpc-js_pick_first_disconnect_fix
grpc-js: pick_first: Don't automatically reconnect after connection drop
2024-03-07 10:52:57 -08:00
Michael Lumish 4d235c339b grpc-js: Bump to 1.10.2 2024-03-07 09:24:04 -08:00
AVVS 74ddb3bd6f
chore: address ts errors 2024-03-05 15:34:29 -08:00
Michael Lumish 07ee52acb0 grpc-js: Rearrange some function calls to revert event order changes 2024-03-05 10:27:21 -08:00
AVVS cf321a80b1
chore: use iterators for tracking map, const for default values 2024-03-04 18:25:23 -08:00
Michael Lumish 4a3fefa2b3 grpc-js: pick_first: Don't automatically reconnect after connection drop 2024-03-04 09:33:41 -08:00
AVVS 62e8ea97e6
chore: tests & cleanup of unref?.() 2024-03-02 07:58:54 -08:00
AVVS b873dce908
chore: simplify idle timeout further, fix wrong ref 2024-02-28 14:26:42 -08:00
AVVS bedb5055e8
refactor: no clearTimeout/null timers, use .refresh() + count refs 2024-02-28 13:36:24 -08:00
AVVS 11a98b5f37
chore: updated docs, cached onStreamClose per session 2024-02-27 16:49:20 -08:00
AVVS 74102fcc87
chore: extraneous closure, dont need server ref 2024-02-27 14:39:24 -08:00
AVVS 0b79b7420a
chore: cleanup traces 2024-02-27 14:35:02 -08:00
AVVS b8f157ed21
chore: revert interface -> type change in channelz 2024-02-27 14:30:55 -08:00
AVVS a4a676d378
chore: move new functions towards the end of the class 2024-02-27 14:17:32 -08:00
AVVS e0b900dd69
feat: channelz improvements, idle timeout implementation 2024-02-27 13:28:05 -08:00
Michael Lumish 6c2bc599e5 grpc-js: Run code formatter, fix one lint error 2024-02-27 12:51:38 -08:00
Michael Lumish 429a66d1cb grpc-js: round_robin: always have children reconnect immediately 2024-02-14 11:05:26 -08:00
Michael Lumish 1b753af868
Merge pull request #2656 from murgatroid99/grpc-js_1.10.0
grpc-js/grpc-js-xds: Bump version to 1.10.0
2024-02-06 14:45:17 -08:00
Michael Lumish b1c45a819f grpc-js/grpc-js-xds: Bump version to 1.10.0 2024-02-01 13:44:07 -08:00
Michael Lumish 322b165c85 grpc-js-xds: De-experimentalize tested features and update feature list 2024-02-01 13:25:38 -08:00
Michael Lumish f70c322e57
Merge pull request #2650 from murgatroid99/grpc-js_server_interceptors
grpc-js: Implement server interceptors
2024-02-01 10:06:17 -08:00
Michael Lumish 7c9a5e7147 Make extra trailer behavior consistent with old code 2024-01-31 10:41:01 -08:00
André Cruz 24c258ad58 grpc-health-check: Move `typescript` as a dev dependency 2024-01-30 14:53:34 +00:00
Michael Lumish f52d1429fb grpc-js: Implement server interceptors 2024-01-26 14:36:18 -08:00
Michael Lumish 3915f579f2 Merge 1.9.x into master 2024-01-17 14:28:31 -08:00
Michael Lumish 5be83dd878
Merge pull request #2643 from murgatroid99/grpc-js_idle_timer_fix
grpc-js: Fix and optimize IDLE timeouts
2024-01-16 15:13:30 -08:00
Michael Lumish 2b31f8c148 grpc-js: Shutdown transport if a state change occurs while connecting 2024-01-16 14:38:17 -08:00
Michael Lumish 6da0b49dbc grpc-js: Fix and optimize IDLE timeouts 2024-01-16 14:18:05 -08:00
Michael Lumish 6e6f942f19 Merge pull request #2635 from XuanWang-Amos/psm-interop-shared-build
buildscripts: Use the Kokoro shared install lib from the new repo
2024-01-04 21:49:25 +00:00
Michael Lumish 2a7c9062b8
Merge pull request #2637 from chakhsu/master
fix: export type VerifyOptions
2024-01-04 13:14:13 -08:00
Chakhsu.Lau 3cdaebdd0c fix: export type VerifyOptions 2024-01-04 21:19:02 +08:00
Xuan Wang 493f9bfa67 buildscripts: Use the Kokoro shared install lib from the new repo 2023-12-18 20:51:23 +00:00
Filippo Spinella bda01f97f4 fix README 2023-12-14 18:56:05 +01:00
Michael Lumish 5fe8afc4e7 grpc-reflection: Increment version to 1.0.1 2023-12-14 10:38:11 -05:00
Pitos 3f2217e220 Fix issue #2631 2023-12-14 13:53:18 +01:00
Michael Lumish d46360df74
Merge pull request #2613 from jtimmons/feat/grpc-reflection-package
feat(grpc-reflection): created new @grpc/reflection package
2023-12-01 07:44:51 -08:00
Michael Lumish 4dfd8c43d7 grpc-js: Fix call ref timer handling 2023-12-01 10:27:09 -05:00
Michael Lumish 6d4e08cfd4 grpc-js: pick_first: fix currentPick comparison in resetSubchannelList 2023-11-27 12:28:30 -05:00
Justin Timmons c53656d67b refactor(grpc-reflection): precompute service list and file encodings 2023-11-18 19:44:48 -05:00
Justin Timmons 234f7f0a0c refactor(grpc-reflection): switch to using protobufjs library for message encoding/decoding 2023-11-18 19:13:59 -05:00
Michael Lumish 85bc3c2e78
Merge pull request #2619 from murgatroid99/grpc-js_idle_loop_fix
grpc-js: Make pick_first use exitIdle
2023-11-16 11:30:14 -08:00
Michael Lumish 736d6df80b grpc-js: Return the result from the UDS resolver only once 2023-11-16 10:19:26 -08:00
Michael Lumish 8843706ec7 grpc-js: Make pick_first use exitIdle 2023-11-16 10:15:48 -08:00
Justin Timmons bc8f2ead26 docs(grpc-reflection): fixed link to example image 2023-11-15 20:52:17 -05:00
Justin Timmons 87e1f79846 docs(grpc-reflection): moved example to common directory and match grpc-go server 2023-11-15 20:49:03 -05:00
Justin Timmons 2449abe398 refactor(grpc-reflection): simplified request handling and file dependency logic 2023-11-15 08:28:47 -05:00
Justin Timmons 89a5cbbdf4 chore(grpc-reflection): cleaned up package dependencies 2023-11-14 22:28:08 -05:00
Michael Lumish 3a16187451 grpc-js: Implement server drain method 2023-11-14 14:37:13 -08:00
Michael Lumish 056738f2ed
Merge pull request #2611 from murgatroid99/grpc-js_goaway_null_data
grpc-js: Handle unset opaqueData in goaway event
2023-11-14 13:08:16 -08:00
Michael Lumish 66f972cb87 grpc-js: Implement unbind 2023-11-10 14:58:21 -08:00
Justin Timmons 3b4f92ee62 refactor(grpc-reflection): file cleanup and enabled ts strict mode 2023-11-08 22:43:18 -05:00
Justin Timmons 215078f49a feat(grpc-reflection): added reflection service to add capability to a users server 2023-11-08 22:39:06 -05:00
Justin Timmons 54df17727f feat(grpc-reflection): created new grpc-reflection package ported from nestjs-grpc-reflection library 2023-11-08 22:39:06 -05:00
Michael Lumish bf2009a72f grpc-js: Handle unset opaqueData in goaway event 2023-11-07 11:09:59 -08:00
Segev Finer 0854192dba Review fixes 2023-10-31 01:43:33 +02:00
Segev Finer 1f148e9349 Fix missing port in proxy CONNECT when using the default HTTPS port 2023-10-31 01:43:33 +02:00
Michael Lumish 9050ea9dae grpc-js: Don't repeat fixed resolver results 2023-10-30 09:42:29 -07:00
Michael Lumish 446f139b37 grpc-js: Cancel and don't start idle timer on shutdown 2023-10-27 10:14:58 -07:00
Michael Lumish d465f839d4 Add pick_first requestReresolution tests 2023-10-19 16:20:04 -07:00
Michael Lumish 2f5ddc7137 grpc-js: pick_first: fix happy eyeballs and reresolution in sticky TF mode 2023-10-19 13:58:31 -07:00
Michael Lumish 779e970099
Merge pull request #2597 from murgatroid99/grpc-js_server_deprecate_start
grpc-js: Deprecate Server#start
2023-10-17 14:55:33 -07:00
Michael Lumish ebc2c3e410
Merge pull request #2598 from murgatroid99/grpc-js_show_connectivity_errors
grpc-js: Propagate connectivity error information to request errors
2023-10-17 10:59:50 -07:00
Michael Lumish 3a9f4d2aa6 grpc-js: Propagate connectivity error information to request errors 2023-10-16 17:17:27 -07:00
Michael Lumish 0f8ebbdd17 grpc-js: Include library version and PID in all trace logs 2023-10-16 17:06:32 -07:00
Michael Lumish 976567395e grpc-js: Deprecate Server#start 2023-10-16 15:16:58 -07:00
Anuraag Agrawal abac01a9cf chore(grpc-js): remove unused callcredentials parameter from insecure impl 2023-10-11 17:43:14 +09:00
Michael Lumish 065ac2fef6
Merge pull request #2590 from murgatroid99/grpc-js_server_shutdown_race
grpc-js: Handle race between bindAsync and (try|force)Shutdown
2023-10-02 10:34:38 -07:00
Michael Lumish b33b8bc2bb grpc-js: Handle race between bindAsync and (try|force)Shutdown 2023-09-29 11:17:23 -07:00
Rafael Santos 974b235a04
Update server-call.ts
Fix TS2345
2023-09-29 15:44:42 +01:00
Michael Lumish 7e53472048
Merge pull request #2586 from murgatroid99/grpc-js_round_robin_backoff_ref
grpc-js: Unref backoff timer in subchannel
2023-09-26 16:49:35 -07:00
Michael Lumish ea6ba89ead grpc-js: Bump version to 1.9.4 2023-09-26 16:35:13 -07:00
Michael Lumish 4c6869091e grpc-js-xds: Don't call git commands in npm scripts 2023-09-26 16:06:03 -07:00
Michael Lumish e6099d71f2 grpc-js: Unref backoff timer in subchannel 2023-09-26 15:17:55 -07:00
Michael Lumish 71936fab74
Merge pull request #2575 from murgatroid99/health-check_2.0
grpc-health-check: Version 2.0
2023-09-25 14:43:56 -07:00
Michael Lumish e1415fe7bc grpc-js-xds: Force submodule update and code generation in prepare script 2023-09-25 10:30:10 -07:00
Michael Lumish 32c816c9d1
Merge pull request #2572 from murgatroid99/grpc-js-xds_pick_first
grpc-js-xds: Add support for pick_first in xDS config
2023-09-21 10:19:03 -07:00
Michael Lumish c8b9a45bc9 grpc-js-xds: Fix behavior when channel goes IDLE 2023-09-21 10:02:39 -07:00
Michael Lumish 5be024f060 grpc-js: Delegate to child picker in ResolvingLoadBalancer#updateResolution 2023-09-18 17:32:29 -07:00
Michael Lumish 524bb7d341 grpc-health-check: Implement version 2.0 update 2023-09-18 14:59:31 -07:00
Michael Lumish afbdbdeec3 grpc-health-check: Add generated code for version 2.0 2023-09-18 13:50:42 -07:00
Michael Lumish ab02dc0be4 proto-loader: Allow the grpcLib option to be omitted in the type generator 2023-09-13 16:57:45 -07:00
Michael Lumish fe74b60440 grpc-js-xds: Add support for pick_first in xDS config 2023-09-13 14:27:25 -07:00
Michael Lumish 6567f8d7cd Update code generation with PickFirst message 2023-09-13 14:07:22 -07:00
Michael Lumish 10c4bbdbe3 Add logging for DNS update delays due to rate limit or backoff 2023-09-13 10:18:30 -07:00
Michael Lumish a02622572a Improve Listener resource log formatting 2023-09-12 13:00:15 -07:00
Michael Lumish 506748b8a4 Enable ring_hash tracing in interop tests 2023-09-12 12:41:35 -07:00
Michael Lumish 8df1bd712f Treat ring_hash_lb_config field as optional 2023-09-12 10:08:25 -07:00
Michael Lumish 57c1bd2ede grpc-js-xds: interop client: reduce periodic logging 2023-09-11 17:32:41 -07:00
Michael Lumish e570a99d6d Improve unvalidated resource log formatting 2023-09-11 17:29:01 -07:00
Michael Lumish 5c8b11b0be Trace parsed unvalidated resources 2023-09-11 15:39:19 -07:00
Michael Lumish f1f8d1ba61 grpc-js: Make a few improvements to DNS resolving timing 2023-09-11 13:51:32 -07:00
Michael Lumish c41c3dae7b Test ring_hash fallback on dropped connection 2023-09-08 14:51:58 -07:00
Michael Lumish 0b2281b028 Revert version support change, run ring_hash tests conditionallly 2023-09-08 10:12:14 -07:00
Michael Lumish 9e487e44ab grpc-js-xds: Update gts dependency for compatibility with TypeScript update 2023-09-07 18:07:20 -07:00