Commit Graph

2564 Commits

Author SHA1 Message Date
Michael Lumish bb2942197e grpc-js: Improve formatting of channelz logs for grpcdebug 2023-08-02 16:42:29 -07:00
Michael Lumish 49b629ffb0 grpc-js/grpc-js-xds: Update to 1.9.0, and update READMEs 2023-07-31 16:55:27 -07:00
Michael Lumish 14b11f6b99
Merge pull request #2511 from murgatroid99/grpc-js_pick_first_update
grpc-js: Implement pick_first sticky TF and address list shuffling
2023-07-31 16:11:39 -07:00
Michael Lumish b86615c1a3
Merge pull request #2508 from murgatroid99/grpc-js_server_clear_deadline_cancel
grpc-js: Cancel deadline timer on server when call is cancelled
2023-07-31 15:47:22 -07:00
Michael Lumish ff25a75ce9
Merge pull request #2507 from murgatroid99/grpc-js_tls_trace
grpc-js: Add channel option to enable TLS tracing
2023-07-31 15:45:35 -07:00
Michael Lumish 96213d1d68
Merge pull request #2521 from murgatroid99/v1.8.x_upmerge_3
Merge 1.8.x into master
2023-07-31 15:11:05 -07:00
Michael Lumish 1d38cc319c Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.8.x' into v1.8.x_upmerge_3 2023-07-28 14:53:43 -07:00
Michael Lumish 4e111e7792 grpc-js: Fix propagation of UNIMPLEMENTED error messages 2023-07-28 14:21:33 -07:00
Michael Lumish aee1789145 proto-loader: Increment version to prerelease version 2023-07-28 11:49:30 -07:00
Michael Lumish a1525bf298
Merge pull request #2504 from haines/update-long
proto-loader: Update long dependency to match protobufjs
2023-07-28 11:41:32 -07:00
Michael Lumish e43fa71619 Fix formatting 2023-07-25 10:11:45 -07:00
Michael Lumish e83ce3b6fd Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.8.x' into v1.8.x_upmerge_3 2023-07-25 10:10:16 -07:00
Michael Lumish 6d97956549 grpc-js: Fix a crash when grpc.keepalive_permit_without_calls is set 2023-07-25 09:40:45 -07:00
Michael Lumish 66cd8519bd grpc-js: pick_first: Properly dispose of current pick when it disconnects 2023-07-24 16:00:13 -07:00
Michael Lumish 71d035b5bf Fix formatting 2023-07-24 13:54:30 -07:00
Michael Lumish 981efb6eca Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.8.x' into v1.8.x_upmerge_again 2023-07-24 13:53:17 -07:00
Michael Lumish 42a02749eb grpc-js: Fix compilation error from new @types/node version 2023-07-24 13:08:55 -07:00
Michael Lumish 2e9060385c grpc-js: Fix keepalive ping timing after inactivity 2023-07-24 11:20:00 -07:00
Michael Lumish 698d1427c6 grpc-js: Implement pick_first sticky TF and address list shuffling 2023-07-21 09:45:34 -07:00
Michael Lumish 54409d00f3 grpc-js: Fix transport trace message formatting 2023-07-14 14:15:44 -07:00
Michael Lumish 7c3a5fe70c grpc-js: Cancel deadline timer on server when call is cancelled 2023-07-14 10:58:53 -07:00
Michael Lumish cb11e66c59 grpc-js: Add channel option to enable TLS tracing 2023-07-14 10:46:03 -07:00
Michael Lumish 66bcc7a2cc grpc-js: Reformat files and fix lint errors 2023-07-13 14:20:54 -07:00
Michael Lumish 220a70289c Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.8.x' into v1.18.x_upmerge 2023-07-13 14:14:29 -07:00
Michael Lumish 9ce6e4919d
Merge pull request #2501 from CedricKassen/master
Fix premature leaving of context due to improper Http2ServerCallStream handling
2023-07-13 13:21:31 -07:00
Cedric Kassen 8ed0a50c58 directly pass deserializeMessageWithInternalError to resolve 2023-07-13 20:59:04 +02:00
Andrew Haines 9c3640f958
proto-loader: Update long dependency to match protobufjs
Signed-off-by: Andrew Haines <andrew@haines.org.nz>
2023-07-13 10:17:16 +01:00
Cedric Kassen c5bdd9c398 remove oversight asyncs and replace safeDeserializeMessage 2023-07-13 08:01:09 +02:00
Michael Lumish 493cbaaf45 grpc-js: Increment version to 1.8.18 2023-07-12 15:23:34 -07:00
Michael Lumish 713a2c9bd1 grpc-js: Enable the noUnusedLocals TypeScript compiler option 2023-07-12 15:22:15 -07:00
Michael Lumish 45e277547f grpc-js: Fix mistakenly committed testing changes 2023-07-12 14:55:49 -07:00
Cedric Kassen 555643dcc8 try catch promise rejection and sendError 2023-07-12 14:31:11 +02:00
Cedric Kassen 14b18a4bba promisify receiveUnaryMessage server-call 2023-07-12 14:31:10 +02:00
Michael Lumish 513f72a4fc proto-loader: Increment version to 0.7.8 2023-07-11 10:54:15 -07:00
Lucio Martinez 31adc1dac1 Fixes security issue by upgrading `protobufjs` 2023-07-10 22:03:01 +00:00
Michael Lumish 3cef1ba547 Merge pull request #2488 from grpc/psm-interop-server-bump
grpc-js-xds: Bump the canonical server from v1.46.x to v1.56.0
2023-06-28 16:13:18 -07:00
Sergii Tkachenko d2a3ef45c0
grpc-js-xds: Bump the canonical server from v1.46.x to v1.56.0
Similar to https://github.com/grpc/grpc/pull/33542.

Note that there's a ticket to automatically use the one specified in the `--server_image_canonical` flag, but for now we just hardcode.
2023-06-28 13:55:27 -07:00
Michael Lumish 409418b103
Merge pull request #2476 from murgatroid99/grpc-js_prohibit_od_pick_first
grpc-js: Disallow pick_first as child of outlier_detection
2023-06-27 10:31:12 -07:00
Michael Lumish 51c5b9491a
Merge pull request #2471 from murgatroid99/grpc-js_channel_idle_timeout
grpc-js: Implement channel idle timeout
2023-06-27 10:21:59 -07:00
Michael Lumish d507624ffb
Merge pull request #2473 from murgatroid99/grpc-js_compression_documentation
grpc-js: Update documentation of compression behavior in README
2023-06-27 10:14:18 -07:00
Michael Lumish ed70a0b381 Fix handling of OD policy with no child 2023-06-27 10:11:45 -07:00
Michael Lumish 974f8100ea
Merge pull request #2463 from murgatroid99/grpc-js-xds_federation
grpc-js-xds: Implement federation support
2023-06-26 15:15:51 -07:00
Michael Lumish 2ee8a68ac6
Merge pull request #2477 from murgatroid99/grpc-js-xds_docker_distroless
grpc-js-xds: Use distroless Node image for interop Dockerfile
2023-06-26 09:48:43 -07:00
Sergii Tkachenko 073caf5b83
Merge pull request #2478 from murgatroid99/grpc-js-xds_docker_distroless_1.8.x
grpc-js-xds: Use distroless Node image for interop Dockerfile (1.8.x)
2023-06-23 20:05:31 -04:00
Michael Lumish a6aa7ea43e Merge pull request #2475 from XuanWang-Amos/file_multiple_url_map
[PSM interop] Don't fail target if sub-target already failed
2023-06-23 17:40:49 +00:00
Michael Lumish 5d731c4c62
Merge pull request #2475 from XuanWang-Amos/file_multiple_url_map
[PSM interop] Don't fail target if sub-target already failed
2023-06-23 10:37:01 -07:00
Michael Lumish a62d2b027b Use entrypoint /nodejs/bin/node 2023-06-23 09:34:59 -07:00
Michael Lumish 9b7e5e66ab Use entrypoint /nodejs/bin/node 2023-06-23 09:34:29 -07:00
Michael Lumish 9441de78f6 grpc-js-xds: Use distroless Node image for interop Dockerfile 2023-06-22 17:04:54 -07:00
Michael Lumish cc89158e13 grpc-js-xds: Use distroless Node image for interop Dockerfile 2023-06-22 16:52:53 -07:00
Michael Lumish b53f5882f1 grpc-js: Disallow pick_first as child of outlier_detection 2023-06-22 14:32:09 -07:00
Xuan Wang 4f9c41978a [PSM interop] Don't fail target if sub-target already failed 2023-06-22 21:21:14 +00:00
Michael Lumish 6fb6544483 grpc-js: Update documentation of compression behavior in README 2023-06-21 11:36:45 -07:00
Michael Lumish 967f903ff8 Newlines at ends of files 2023-06-21 11:25:46 -07:00
Michael Lumish 89cd8f7bc3 grpc-js: Idle timeout: format files 2023-06-20 15:46:27 -07:00
Michael Lumish fcff72b941 grpc-js: Implement channel idle timeout 2023-06-20 14:47:14 -07:00
Michael Lumish 87b5466b1b grpc-js: Implement trace function in Http2SubchannelConnector 2023-06-20 10:25:59 -07:00
Michael Lumish b4078a36da grpc-js-xds: Downgrade Node version in old test script to 16 2023-06-20 10:04:13 -07:00
Michael Lumish f253a4966a grpc-js-xds: Update Node version in old test script 2023-06-16 13:54:33 -07:00
Michael Lumish fb735d99dc Correct 'SOTW' flag for endpoint resource 2023-06-16 13:21:07 -07:00
Michael Lumish dc0094d4b0 Send initial message at the beginning of a new LRS stream, and send node in initial message 2023-06-16 11:18:36 -07:00
Michael Lumish 978f4cb012 Add tracing, reorder LRS stream start call 2023-06-16 10:12:20 -07:00
Michael Lumish 608f087231 Fix name generation and include type_url in CSDS 2023-06-15 12:56:28 -07:00
Dan Rumney cd24d6956d style: run eslint fix on codebase
Fixes #2464
2023-06-15 13:04:57 -05:00
Dan Rumney 3bf2af1d70 docs(apache-notice.md): add a notice acknowledging the use of GTS config settings
This might actually be unnecessary; since I've copied over configuration settings from the GTS package, I figured I'd add this notice. It's in a file, since there's no capacity for adding comments in a JSON or .rc file. It feels doubtful that configuration settings fall under the auspices of the Apache License, but I'll leave that to the maintainers to decide.
2023-06-15 13:03:30 -05:00
Dan Rumney 208b79e625 refactor(packages/grpc-js/log.txt): remove extraneous file 2023-06-15 13:01:38 -05:00
Dan Rumney e3522bb53b refactor(grpc-js): convert from gts to eslint/prettier/tsconfig
GTS provides config for ESLint, Prettier and TSConfig; this commit removes GTS, but brings over the configuration details

Fixes #2464
2023-06-15 12:54:15 -05:00
Dan Rumney 1880faf8a0 fix(packages/grpc-js/test/assert2): move assert2 into its own file
Moving from exporting a namespace to just putting assert2 functions into their own files

Fixes #2464
2023-06-15 12:52:45 -05:00
Michael Lumish 61a518c30a Fix stream end handling in xds client 2023-06-15 10:45:56 -07:00
Michael Lumish fb98794f7b grpc-js-xds: Complete federation implementation 2023-06-14 14:04:00 -07:00
Michael Lumish 596d5f1192 Merge branch 'master' into grpc-js-xds_federation 2023-06-05 11:30:24 -07:00
Michael Lumish 25e2845d6c
Merge pull request #2456 from murgatroid99/grpc-js_minor_fixes
grpc-js: Fix a couple of things that came up while investigating a memory leak
2023-06-05 11:21:13 -07:00
Michael Lumish 81e1f75b62 grpc-js-xds: Support string_match in header matching 2023-06-01 17:19:05 -07:00
Michael Lumish 039032cdfb Merge pull request #2457 from XuanWang-Amos/xds_duplicate_bugs
PSM Interop: Don't fail target if sub-target already failed
2023-06-01 17:58:43 +00:00
Xuan Wang cd87b1287f Don't fail target if sub-target already failed 2023-06-01 00:00:47 +00:00
Michael Lumish 2b455e7d18 grpc-js: Fix a couple of minor issues 2023-05-31 14:05:10 -07:00
Michael Lumish 9d1b8493a2 Implement federation support (continued) 2023-05-31 10:41:43 -07:00
Michael Lumish 892f16e175
Merge pull request #2437 from murgatroid99/proto-loader_yargs_update
proto-loader: Update to yargs@17.x
2023-05-03 10:50:20 -07:00
Michael Lumish 0933633424 PSM Interop: Increase old driver QPS to 75 2023-04-28 15:05:32 -07:00
Michael Lumish 821ccfa5de PSM Interop: Increase old driver QPS to 75 2023-04-28 15:00:05 -07:00
Michael Lumish bc2447ccf6 proto-loader: Update to yargs@17.x 2023-04-28 10:58:09 -07:00
Michael Lumish 2da3f868f2 Merge branch 'master' into grpc-js-xds_federation 2023-04-25 09:43:54 -07:00
Michael Lumish 85d227b1d3 Update test logic to account for recent validation changes 2023-04-24 17:27:44 -07:00
Michael Lumish 2f869495cc Update tests with master test framework changes 2023-04-24 17:05:28 -07:00
Michael Lumish d70d7eed07 Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.8.x' into v1.8.x_upmerge 2023-04-24 16:52:54 -07:00
Michael Lumish 4fcd9c2527
Merge pull request #2433 from murgatroid99/grpc-js-xds_watcher_validation_errors
grpc-js-xds: Fix handling of resource validation errors
2023-04-24 16:45:53 -07:00
Michael Lumish edeeda6424
Add trailing newline in packages/grpc-js-xds/test/test-nack.ts
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
2023-04-24 16:22:49 -07:00
Michael Lumish dfccd687f0 Address review comments 2023-04-24 16:21:12 -07:00
Michael Lumish 9271984b8e
Merge pull request #2423 from murgatroid99/grpc-js_waitForReady_fix_fix
grpc-js: Fix a couple of errors from a previous PR
2023-04-24 16:08:20 -07:00
Michael Lumish 48ef1ed202 grpc-js-xds: Bump version to 1.8.2 2023-04-20 14:35:39 -07:00
Michael Lumish 856559cce1 grpc-js-xds: Fix handling of resource validation errors 2023-04-20 14:34:06 -07:00
Michael Lumish 546696c366 grpc-js: Implement federation support 2023-04-20 10:40:01 -07:00
Sergii Tkachenko 2cb6ef86d4 PSM Interop: experiment with qps affect on circuit_breaking
ref  b/232859415
2023-04-13 11:00:37 -07:00
Michael Lumish 1e9c766bc1 grpc-js-xds: Add federation support 2023-04-13 10:59:05 -07:00
Michael Lumish 3709998012 grpc-js: Fix a couple of errors from a previous PR 2023-04-13 09:25:38 -07:00
Michael Lumish 6bc85716cd grpc-js: Bump version to 1.8.14 2023-04-12 14:46:27 -07:00
Michael Lumish f05ef5592e
Merge pull request #2413 from murgatroid99/grpc-js-xds_unskip_test
grpc-js-xds: Remove extra 'only' from local testing
2023-04-12 13:53:26 -07:00
Michael Lumish 8f329e08b2
Merge pull request #2412 from murgatroid99/grpc-js_round_robin_refactor
grpc-js: Simplify round robin implementation
2023-04-12 13:53:12 -07:00
Michael Lumish 43d42dcf3f grpc-js: Fix connectivity state change event sequencing 2023-04-11 14:50:41 -07:00
Sergii Tkachenko 0ec5463bee
PSM Interop: experiment with qps affect on circuit_breaking
ref  b/232859415
2023-04-07 14:45:21 -07:00
Michael Lumish 287b0684b0 grpc-js-xds: Render call time histograms nicely in interop logs 2023-04-06 14:22:14 -07:00
Michael Lumish 90de58ce37
Merge pull request #2409 from murgatroid99/v1.8.x_merge
Merge v1.8.x into master
2023-04-05 16:50:12 -07:00
Michael Lumish 8d16113321 grpc-js-xds: Remove extra 'only' from local testing 2023-04-05 16:42:13 -07:00
Michael Lumish d21ce8cc49 grpc-js: Simplify round robin implementation 2023-04-05 16:35:10 -07:00
Michael Lumish 167732a93c
Merge pull request #2403 from pietrodn/patch-1
Replace invalid link in grpc-tools README
2023-04-05 10:10:23 -07:00
Michael Lumish 8f47d67a41 grpc-js-xds: Use the same tracers in the legacy driver as in the new one 2023-04-03 16:51:51 -07:00
Michael Lumish 59423176f0 Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.8.x' into v1.8.x_merge 2023-04-03 14:19:03 -07:00
Michael Lumish 7840a108d3 grpc-js-xds: Use Debian and Node 18 in interop Dockerfile (1.8.x) 2023-04-03 09:54:38 -07:00
Michael Lumish e48b2ca846 grpc-js-xds: Use Node 18 in interop docker image 2023-03-31 12:10:36 -07:00
Pietro De Nicolao 5c41ee4418
docs: replace invalid link in grpc-tools README 2023-03-30 13:41:05 +02:00
Michael Lumish 114c87cba5
Merge pull request #2394 from murgatroid99/grpc-js_transport_leak
grpc-js: Unregister socket from channelz when closing transport
2023-03-23 10:53:57 -07:00
Michael Lumish ad719ccb94
Merge pull request #2391 from murgatroid99/grpc-js-xds_node_client_version
grpc-js-xds: Populate Node message field user_agent_version
2023-03-23 10:53:49 -07:00
Michael Lumish 6f17499e3c grpc-js-xds: Use non-alpine docker image for interop tests 2023-03-22 16:44:21 -07:00
Michael Lumish 4fa8af3969
Merge pull request #2392 from murgatroid99/grpc-js-xds_tests_1.8.x
grpc-js-xds: Add a framework for running xDS end-to-end tests (1.8.x)
2023-03-22 11:14:14 -07:00
Michael Lumish e5e6731917 grpc-js-xds: Use simpler search algorithm in weighted target picker 2023-03-10 14:12:58 -08:00
Michael Lumish 3fbdf0d337 grpc-js: Bump version to 1.8.13 2023-03-10 14:05:39 -08:00
Michael Lumish 056dc8e56e grpc-js: Unregister socket from channelz when closing transport 2023-03-10 13:58:02 -08:00
Michael Lumish e32bbc7aac grpc-js-xds: Allow tests to set bootstrap info in channel args 2023-03-10 11:47:23 -08:00
Michael Lumish 6bc6b8665b grpc-js-xds: Add unit test framework 2023-03-10 11:47:13 -08:00
Michael Lumish 481f704c77 grpc-js-xds: Populate Node message field user_agent_version 2023-03-09 16:37:04 -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 d78d6d3b64 proto-loader: Bump to 0.7.6 2023-03-07 13:10:46 -08:00
Michael Lumish c525025f06 grpc-js: Trace before call to LB policy picker 2023-03-06 15:10:29 -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 1ba8b5a9e5
Merge pull request #2376 from phoenix741/feature/fix-2375
grpc-js: add await/async on method that return promise
2023-03-06 10:03:19 -08:00
Michael Lumish 48ea363acc
Merge pull request #2374 from murgatroid99/grpc-js-xds_weighted_target_simple_pick
grpc-js-xds: Use simpler search algorithm in weighted target picker
2023-03-01 10:01:41 -08:00
Ulrich Van Den Hekke 081270f013
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-02-26 13:14:32 +01:00
Michael Lumish 865731b4c5 grpc-js-xds: Use simpler search algorithm in weighted target picker 2023-02-24 09:55:45 -08:00
Michael Lumish 1f14d1c138 grpc-js: Stop leaking freed message buffer placeholder objects 2023-02-23 17:49:03 -08:00
install 31aec874dd proto-loader-gen-types Narrow field Long check
- Explicitly list the primitive field types that use Long, instead of
  searching for `64` in the type name.
2023-02-22 11:57:26 -05: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 f3c43542f8 grpc-js-xds: interop: log server events 2023-02-15 14:45:31 -08:00
Michael Lumish 2ed8e71ba1 grpc-js: Propagate keepalive throttling throughout channel 2023-02-14 13:47:50 -08:00
Michael Lumish 1c4f12181a proto-loader: Bump version to 0.7.5 2023-02-13 13:33:34 -08:00
Michael Lumish e967c94483
Merge pull request #2357 from danielronnkvist/jsdoc-deprecated-tags
Write @deprecated jsdoc annotation if includeComments is enabled
2023-02-13 10:17:16 -08:00
Daniel Rönnkvist ad298bc7c8 remove possible deprecated options from type brand output 2023-02-11 22:06:59 +01:00
Michael Lumish c4350deb4f grpc-js-xds: Pass along outlier detection config from CDS to child policy 2023-02-10 09:56:50 -08:00
Daniel Rönnkvist c20ddd3d2b write @deprecated jsdoc annotation if comments are enabled
update golden generated with @deprecated annotation
2023-02-10 17:52:59 +01:00
Michael Lumish faf96a0e4f grpc-js-xds: Fix bug that prevented priority name reuse 2023-02-09 17:04:41 -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 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 dd7e1a9cc0
Merge pull request #2343 from murgatroid99/grpc-js-xds_aggregate_logical_dns_clusters
grpc-js-xds: Implement aggregate and logical DNS clusters
2023-02-06 10:52:08 -08:00
Michael Lumish 4e148cbb77 Use the load-balancer filename prefix for the new LB policies 2023-02-03 15:16:42 -08:00
Michael Lumish b914a0388f Validate that LOGICAL_DNS address is non-empty 2023-02-03 13:27:46 -08:00
Michael Lumish fed7b02a35 Update latestConfig in ChildLoadBalancerHandler when handling update 2023-02-03 09:33:51 -08:00
Michael Lumish 2807127ca7 Add tests and fix bugs 2023-02-02 14:56:00 -08:00
Michael Lumish a86cb96e91 grpc-tools: Bump version to 1.12.4 2023-01-30 16:46:39 -08:00
Jacob Sapoznikow 4b9e4019c3 Fix CMake args 2023-01-30 23:10:07 +00:00
Jacob Sapoznikow 71bfcd2afc Fix static linking and dockerfile 2023-01-30 22:01:57 +00:00
Jacob Sapoznikow 3ec611453b Merge branch 'master' of https://github.com/grpc/grpc-node 2023-01-30 18:46:46 +00:00
Michael Lumish 1cbadd7db0 Merge branch 'master' into grpc-js-xds_aggregate_logical_dns_clusters 2023-01-27 15:13:22 -08:00
Michael Lumish fe4272ecb6
Merge pull request #2339 from murgatroid99/grpc-js-xds_unit_tests
grpc-js-xds: Add a framework for running xDS end-to-end tests
2023-01-27 15:02:46 -08:00
Michael Lumish 5732ff9e82 grpc-js-xds: Allow tests to set bootstrap info in channel args 2023-01-27 13:39:44 -08:00
Michael Lumish 05bebcd4e2 grpc-js-xds: Add unit test framework 2023-01-27 13:39:10 -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 6d98dc5bbf grpc-js: Hold a reference to transport in SubchannelCall 2023-01-25 10:01:45 -08:00
Michael Lumish ba405cf35e grpc-js: Clear deadline timer when call ends 2023-01-23 11:36:24 -08:00
Jacob Sapoznikow 1924d4a9fd Begin aarch64 support 2023-01-22 22:54:12 +00: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
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
Sergii Tkachenko 466bc3cdd0
Address the feedback: use pre-increment instead of `&& true` 2023-01-13 20:39:32 -05:00
Sergii Tkachenko a23dc843af xds interop: Fix buildscripts not continuing on a failed test suite
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".
2023-01-12 17:18:00 -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 c0182608a8 grpc-js-xds: Add aggregate and logical_dns clusters 2023-01-11 10:49:56 -08:00
Michael Lumish b3b6310f04 grpc-js: Don't end calls when receiving GOAWAY 2023-01-10 15:24:22 -08:00
Michael Lumish 2d37686a1a grpc-js: Ensure ordering between status and final message 2023-01-09 10:24:17 -08: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
Sergii Tkachenko 5812cad19e
grpc-js-xds: Reduce xDS GCE interop framework to ping_pong and circuit_breaking
The migration of other tests to the new framework have been completed around Aug 2022: 

- 81083bd229/packages/grpc-js-xds/scripts/xds_k8s_lb.sh
- 81083bd229/packages/grpc-js-xds/scripts/xds_k8s_url_map.sh
2023-01-06 13:58:59 -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
Michael Lumish c62d41623b grpc-js: Discard buffer tracker entry when RetryingCall ends 2023-01-03 09:53:00 -08:00
Michael Lumish a1b9464de8 grpc-js: Add HTTP status and content type headers to trailers-only responses 2023-01-03 09:36:56 -08:00
Nick Kleinschmidt 677c009385 grpc-js: Add support for grpc.service_config_disable_resolution 2022-12-17 15:19:32 -07:00
Shubham Waje 111264badf Fix host_override param typo:
- Fix `host_override` param typo in /test/interop/interop_client.js
- Fix other typos
2022-12-15 12:41:45 +05:30
Michael Lumish e77eea777e
Merge pull request #2291 from murgatroid99/proto-loader_0.7.4
proto-loader: Bump to version 0.7.4
2022-12-07 12:25:23 -08:00
Michael Lumish c9f8f93a74
Merge pull request #2286 from murgatroid99/grpc-js_1.8.x_updates
grpc-js: Prepare for 1.8.0 release
2022-12-07 07:27:52 -08:00
Michael Lumish b735abf544 grpc-tools: Bump to version 1.12.3 2022-12-05 15:44:24 -05:00
Michael Lumish 11aa7226d8 grpc-tools: Build for an older Mac version (attempt 2) 2022-12-05 15:29:14 -05:00
Michael Lumish 40ef3ec3a3 proto-loader: Bump to version 0.7.4 2022-12-05 13:59:55 -05:00
Michael Lumish 45adf24cf0 grpc-tools: Build for older Mac version 2022-12-05 13:46:55 -05:00
Michael Lumish 2ddd628747 Use BSD tar-specific options on Mac 2022-12-05 11:25:04 -05:00
Michael Lumish 488803740e grpc-tools: Force GNU format for artifact tarballs 2022-12-05 10:59:50 -05:00
Michael Lumish 0c22b2a917
Merge pull request #2281 from LunaTK/feature/branded-type
proto-loader-gen-types: Support nominal typing with type branding
2022-12-05 07:38:57 -08:00
Taegeun Moon f1e3f6d7d3 use option method 2022-12-03 00:31:26 +09:00
Michael Lumish 161af8ca7b grpc-js: Prepare for 1.8.0 release
De-experimentalize xDS retry support, and update versions and documentation
2022-12-01 16:02:45 -05:00
natiz df8c719ceb chore: bump to 1.12.0 2022-12-01 18:30:49 +02:00
natiz 8ce5bf8c24 fix: lower cmake version to 3.7 2022-12-01 14:21:22 +02:00
Taegeun Moon 80332044c7 update typeBrandHint location 2022-12-01 14:12:10 +09:00
Taegeun Moon 256fbd8915 set defaults for brand option 2022-12-01 13:34:32 +09:00
Taegeun Moon 927c29de4a support both input and output
update readme

update readme
2022-12-01 13:34:31 +09:00
Taegeun Moon e955c47bd5 rename as outputBranded 2022-12-01 11:09:09 +09:00
natiz 5f01206869
Merge branch 'grpc:master' into master 2022-11-30 22:30:20 +02:00
Michael Lumish 9214988c45
Merge pull request #2280 from murgatroid99/grpc-js-xds_retry
grpc-js-xds: Implement retry support
2022-11-30 10:04:47 -08:00
Taegeun Moon 9e548d4d87 update readme 2022-11-30 22:34:15 +09:00
Taegeun Moon 6f755fe346 add branded option for proto-loader-gen-types 2022-11-30 22:31:22 +09:00
Michael Lumish edf612a56a grpc-js-xds: Implement retry support 2022-11-29 14:29:47 -05:00
natiz 6b4dd60f11 fix: windows build 2022-11-27 23:37:56 +02:00
natiz d209a34d6f
Merge branch 'grpc:master' into master 2022-11-27 21:34:34 +02:00
Michael Lumish 271c848b68
Merge pull request #2279 from murgatroid99/grpc-js-xds_failure_mode_behavior
grpc-js-xds: Update failure mode behavior
2022-11-18 15:52:55 -08:00
Michael Lumish 641ed45d48 grpc-js-xds: Update failure mode behavior 2022-11-18 15:06:41 -08:00
Michael Lumish 8bee12e9c9
Merge pull request #2276 from install/avoidTsEnums
proto-loader-gen-types Avoid TS enums
2022-11-18 12:57:54 -08:00
Michael Lumish fa21e13ef3 Limit maxAttempts to 5 for retries and hedging 2022-11-17 11:51:49 -08:00
Michael Lumish f1f351f3cd Fix handling of messages that overflow the buffer limit 2022-11-17 11:09:16 -08:00
Michael Lumish 47ba357861 Fix typo in service config validation error messages 2022-11-17 09:34:16 -08:00
Michael Lumish 95516b66a0 Fix detection of refused streams 2022-11-16 14:37:31 -08:00
Michael Lumish a120aa06b3 Merge branch 'master' into grpc-js_retry2 2022-11-16 14:19:46 -08:00
Michael Lumish e19a773705 grpc-js: Add retry tests, and fix bugs and add tracing 2022-11-16 14:10:26 -08:00
Michael Lumish 5a5e42498c grpc-js: Enable servers to send trailers-only responses 2022-11-16 14:09:40 -08:00
install ef7b8e8f14 Don't allow `null` for enum field inputs/outputs 2022-11-16 10:10:13 -05:00
install c7125fbdb5 proto-loader-gen-types Avoid TS enums 2022-11-15 16:44:52 -05:00
Michael Lumish 01c5ee783a
Merge pull request #2272 from murgatroid99/grpc-js_max_connection_age
grpc-js: Implement server connection management
2022-11-14 11:21:43 -08:00
Michael Lumish f8f95ee9bb grpc-js-xds: interop: Fix timestamp handling when config changes 2022-11-14 09:50:33 -08:00
Michael Lumish 38f2497dae grpc-js: Make filter stack factory clone with a copy of the array 2022-11-11 09:24:15 -08:00
Michael Lumish 0de2aad269 grpc-js: Fix reuse of channel filter stack factory 2022-11-10 10:54:19 -08:00
Michael Lumish a42d6b4f5c grpc-js: Implement server connection management 2022-11-10 09:59:53 -08:00
Michael Lumish 02c48f426d grpc-js-xds: interop: Fix target directory for profile log 2022-11-09 10:08:47 -08:00
Michael Lumish e8396a5542
Don't try to create the target file as a directory
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
2022-11-08 15:47:09 -08:00
Michael Lumish f844ca30bb grpc-js-xds: interop: mkdir artifact directory before running tests 2022-11-08 15:23:20 -08:00
Michael Lumish 959f698fc4
Use absolute path for logfile output
Co-authored-by: Sergii Tkachenko <hi@sergii.org>
2022-11-08 14:46:17 -08:00
Michael Lumish b4449083b9 grpc-js-xds: interop: output CPU profile logs in old framework tests 2022-11-08 12:40:22 -08:00
Michael Lumish 26c8c37985 grpc-js: Handle filters in ResolvingCall instead of LoadBalancingCall 2022-11-07 14:51:51 -08:00
Michael Lumish f392d4d8c5 grpc-js-xds: interop client: correct for setInterval variance 2022-11-04 15:21:03 -07:00
Michael Lumish 8f33dc7246 grpc-js: Update to newest typescript compiler 2022-11-04 11:21:24 -07:00
Michael Lumish 9aabaee7de Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.7.x' into grpc-js_upmerge_1.7.x 2022-11-03 16:10:12 -07:00
Michael Lumish e21d41ddfa
Merge pull request #2255 from murgatroid99/grpc-js_service_config_timeout_fix
grpc-js: Restart deadline timer after getting timeout from service config
2022-11-01 16:15:44 -07:00
Michael Lumish b3bcff1d7b grpc-js: Pin @types/lodash to fix broken build 2022-11-01 10:39:06 -07:00
Michael Lumish e7144897d0 grpc-js: Restart deadline timer after getting timeout from service config 2022-11-01 09:26:29 -07:00
natiz 124712979b grpc-tools: Update protoc to v3.19.1
last working version of protoc that includes javascript
2022-10-26 20:30:52 +03:00
Michael Lumish 9af9392fc0
Merge pull request #2252 from murgatroid99/grpc-js-xds_interop_stats_logging
grpc-js-xds: Log stats periodically in interop tests
2022-10-21 15:47:43 -07:00
Michael Lumish bcf4ce2b40 grpc-js-xds: Log stats periodically in interop tests 2022-10-21 15:21:19 -07:00
Michael Lumish e840d1f855 grpc-js: Bump to 1.7.3 2022-10-20 15:47:16 -07:00
Michael Lumish 035c260e36 grpc-js: Implement retries 2022-10-20 14:41:11 -07:00
AVVS 93de96f490
revert: extra close event on stream 2022-10-19 15:25:42 -07:00
AVVS 2f124ad68b
fix: perf issues in hot paths
1. no unused timers, wrap tracing calls to avoid stringifying
2. track graceful end of the call and avoid emitting 'cancelled' in such cases
3. remove validate calls in metadata on operations where it's not needed
4. refactor server session stream handlers into separate channelz enabled/disabled handlers
5. refactor message request logic - reduce amount of microtasks generated
6. improve sendStatus a little when there is no metadata involved
2022-10-19 14:48:11 -07:00
Michael Lumish 24c4cd7bb8 grpc-js: Add more outlier detection tests and tracing 2022-10-18 16:29:22 -07:00
Michael Lumish c4c321d37d grpc-js: Handle filters in ResolvingCall instead of LoadBalancingCall 2022-10-17 11:32:22 -07:00