Commit Graph

3685 Commits

Author SHA1 Message Date
Michael Lumish 58a643ad84
Merge pull request #1836 from murgatroid99/grpc-js_upmerge_from_1.3
Upmerge from 1.3.x
2021-06-29 14:37:23 -07:00
Michael Lumish 8605ef2ded Fix subchannel address import, resolver test setup 2021-06-29 10:43:45 -07:00
Michael Lumish 1452ed93aa grpc-js: Register IP resolver in index 2021-06-29 10:04:32 -07:00
Michael Lumish 82fada33ff Merge remote-tracking branch 'upstream/@grpc/grpc-js@1.3.x' into grpc-js_upmerge_from_1.3 2021-06-29 10:02:33 -07:00
Michael Lumish e7dad8b002
Merge pull request #1829 from murgatroid99/grpc-js_fix_cycles
grpc-js: Refactor code to eliminate runtime dependency cycles
2021-06-29 09:55:19 -07:00
Michael Lumish f5eb9ccbb4
Merge pull request #1834 from murgatroid99/grpc-js-xds_regex_match_case
grpc-js-xds: case_sensitive flag should not affect regex matcher
2021-06-29 09:52:28 -07:00
Michael Lumish 9f43411d2c
Merge pull request #1833 from murgatroid99/proto-loader_0.6.4
proto-loader: bump to 0.6.4
2021-06-29 09:48:43 -07:00
Michael Lumish 569a34d989
Merge pull request #1831 from murgatroid99/grpc-js_feature_note
grpc-js: Add note in README about feature parity requests
2021-06-28 14:37:52 -07:00
Michael Lumish 0ad7cc1ec9 grpc-js-xds: case_sensitive flag should not affect regex matcher 2021-06-28 14:37:21 -07:00
Michael Lumish 6ba982548e proto-loader: bump to 0.6.4 2021-06-28 13:17:16 -07:00
Michael Lumish 9cc82c078b
Merge pull request #1832 from mtlewis/proto-loader-fix-early-return
Prevent early return in proto-loader containsDefinition
2021-06-28 13:16:13 -07:00
Mike Lewis 41e09f7d12
Prevent early return in proto-loader containsDefinition
f289c343b3 introduced a bug - the
recursive for-loop descended into the first elements nested array
and returned that value without iterating over the other members
of the array. This means that the code would only work correctly
when the protofile contained a definition whose name was alphabetically
first amongst its siblings.

This commit fixes the issue by moving the call to containsDefinition
into the if statement to allow iteration to continue if
containsDefinition returns false.
2021-06-28 19:40:18 +01:00
Michael Lumish 32cd3504cc grpc-js: Add note in README about feature parity requests 2021-06-28 11:24:43 -07:00
Michael Lumish 51e6d2391d
Merge pull request #1828 from murgatroid99/grpc-js_keepalive_timer_unref
grpc-js: Unref timers for keepalive functionality
2021-06-25 11:24:57 -07:00
Michael Lumish 031ae9472e grpc-js: Refactor code to eliminate runtime dependency cycles 2021-06-24 09:50:02 -07:00
Michael Lumish f87744b917
Merge pull request #1827 from murgatroid99/proto-loader_0.6.3
proto-loader: Bump to version 0.6.3
2021-06-24 09:40:29 -07:00
Michael Lumish fa5066759d grpc-js: Unref timers for keepalive functionality 2021-06-23 14:01:56 -07:00
Michael Lumish 12b2412356 proto-loader: Bump to version 0.6.3 2021-06-23 12:46:53 -07:00
Michael Lumish 1293b3c7b3
Merge pull request #1826 from mtlewis/conditional-definition-imports
Avoid unused definition imports from proto-loader
2021-06-23 12:45:48 -07:00
Mike Lewis 61e64a3c4f
Update golden-generated in proto-loader
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-06-23 17:55:38 +01:00
Mike Lewis f289c343b3
Avoid unused definition imports from proto-loader
Since proto files don't always contain all types of definition, it was
possible to get into a state where generated code contained unused
imports which caused TS errors. This change makes those imports
conditional on the existence of the corresponding definitions in the
proto file.

Co-authored-by: Austin Puri <austin.puri@gmail.com>
Co-authored-by: Joe Porpeglia <josephp@spotify.com>
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
2021-06-23 16:46:23 +01:00
Michael Lumish db3bf70e21
Merge pull request #1822 from murgatroid99/grpc-js_logging_backport
grpc-js: Backport logging changes to 1.3.x
2021-06-21 14:57:06 -07:00
Michael Lumish 740bd683bb
Merge pull request #1820 from murgatroid99/grpc-js_env_var_docs
Document environment variables, improve logging behavior
2021-06-21 14:57:04 -07:00
Michael Lumish d894809e0e grpc-js: Bump version to 1.3.3 2021-06-21 14:42:09 -07:00
Michael Lumish 118a6df067 grpc-js: Make logging behavior more similar to core 2021-06-21 13:41:54 -07:00
Michael Lumish a214aca768 Document environment variables, particularly for logging 2021-06-18 14:37:26 -07:00
Michael Lumish 237ea8308a grpc-js: Make logging behavior more similar to core 2021-06-18 14:37:03 -07:00
Michael Lumish d3e91f149d
Merge pull request #1818 from murgatroid99/grpc-tools_1.11.2
grpc-tools: Bump to version 1.11.2
2021-06-17 13:51:40 -07:00
Michael Lumish cb505b4556 grpc-tools: Bump to version 1.11.2 2021-06-17 11:12:35 -07:00
Michael Lumish fd3b287ed6
Merge pull request #1817 from murgatroid99/docker_install_fix
Don't install docker in the docker image
2021-06-17 10:48:14 -07:00
Michael Lumish 948fc6c122 Don't install docker in the docker image 2021-06-17 09:49:42 -07:00
Michael Lumish 4d86d8e80d
Merge pull request #1816 from davidgoitia/grpc-tools_update_node-pre-gyp
(grpc-tools) Update node-pre-gyp dependency
2021-06-17 09:47:26 -07:00
David Goitia acfb3c2829
Update node-pre-gyp dependency 2021-06-17 14:35:29 +02:00
Michael Lumish 49822c8f49
Merge pull request #1814 from murgatroid99/grpc-js_filter_stack_refactor
grpc-js: Refactor FilterStack usage
2021-06-11 12:34:39 -07:00
Michael Lumish 8a38cd8549 grpc-js: Refactor FilterStack usage 2021-06-10 14:48:33 -07:00
Michael Lumish 47ac924abe
Merge pull request #1794 from murgatroid99/grpc-js-xds_circuit_breaking
grpc-js-xds: Add circuit breaking functionality
2021-06-02 15:33:56 -07:00
Michael Lumish 4cf4f52672
Merge pull request #1807 from murgatroid99/grpc-js_export_ServerErrorResponse
grpc-js: Export ServerErrorResponse type, which is used in public APIs
2021-06-02 15:32:38 -07:00
Michael Lumish f01b6d9fca grpc-js: Export ServerErrorResponse type, which is used in public APIs 2021-06-02 13:42:41 -07:00
Michael Lumish 7354ff5b58
Merge pull request #1806 from jtattermusch/node_emulator_experiment
Increase timeout for tests that timeout under emulator (part 2)
2021-06-02 09:50:24 -07:00
Jan Tattermusch 8bc20b28fd increase timeout for make emulated aarch64 tests green 2021-06-02 18:45:04 +02:00
Michael Lumish 43a3bad549 Fix circuit breaking functionality 2021-06-02 08:56:10 -07:00
Michael Lumish 1c3cd458b6
Merge pull request #1803 from jtattermusch/emulator_increase_timeout
Increase timeout for tests that timeout under emulator
2021-06-02 08:45:34 -07:00
Jan Tattermusch accc82fd11 increase timeout for tests that timeout under emulator 2021-06-02 15:58:25 +02:00
Michael Lumish 21652b8793
Merge pull request #1796 from jtattermusch/aarch64_test_key_to_small_workaround
Workaround "key too small" problem in arm64 tests
2021-05-21 09:43:05 -07:00
Jan Tattermusch 42d016d979 workaround "key too small" problem in aarch64 tests 2021-05-21 10:22:14 +02:00
Michael Lumish ec7c819181 grpc-js-xds: Enable circuit breaking test 2021-05-20 10:30:28 -07:00
Michael Lumish 65d8c2b7e3 Merge branch 'master' into grpc-js-xds_circuit_breaking 2021-05-20 10:23:32 -07:00
Michael Lumish 47af80643d
Merge pull request #1789 from murgatroid99/grpc-js-xds_timeout_support
grpc-js-xds: Propagate timeouts from xDS responses to method config
2021-05-20 10:23:09 -07:00
Michael Lumish 06d54a8f7a
Merge pull request #1792 from murgatroid99/test_script_no_clean
Don't clean after testing on each Node version
2021-05-20 08:51:23 -07:00
Michael Lumish d51551f6d7 grpc-js-xds: Add support for timeout xDS interop test
Add more logging
2021-05-19 13:25:33 -07:00