3506 Commits

Author SHA1 Message Date
Michael Lumish
9f43411d2c
Merge pull request #1833 from murgatroid99/proto-loader_0.6.4
proto-loader: bump to 0.6.4
@grpc/proto-loader@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
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
f289c343b3393aad73795c0657415f4160bcdcb5 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
f87744b917
Merge pull request #1827 from murgatroid99/proto-loader_0.6.3
proto-loader: Bump to version 0.6.3
@grpc/grpc-js@1.3.4 @grpc/proto-loader@0.6.3
2021-06-24 09:40:29 -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
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
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
grpc-tools@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
Michael Lumish
bdc8d2de9d Don't clean after testing on each Node version 2021-05-19 13:19:36 -07:00
Michael Lumish
f5b9e7bab1 grpc-js-xds: Add circuit breaking functionality 2021-05-17 14:52:45 -07:00
Michael Lumish
f4f1d54031 grpc-js-xds: Propagate timeouts from xDS responses to method config 2021-05-17 11:08:22 -07:00
Michael Lumish
663fe77e72
Merge pull request #1785 from murgatroid99/grpc-js_service_config_timeout
grpc-js: Apply timeouts from service configs
2021-05-14 14:16:09 -07:00
Michael Lumish
1e9bf301b7
Merge pull request #1765 from murgatroid99/grpc-js-xds_v3_support
grpc-js-xds: Add xDS v3 API support
2021-05-14 14:15:49 -07:00
Michael Lumish
e3106b99ca Don't query the config selector for calls that have ended 2021-05-12 14:38:02 -07:00
Michael Lumish
7de0d08e29 grpc-js: Apply timeouts from service configs 2021-05-12 14:30:25 -07:00
Michael Lumish
9e5e137a1a
Merge pull request #1782 from murgatroid99/proto-loader_version_0.6.2
proto-loader: Bump to 0.6.2
@grpc/proto-loader@0.6.2
2021-05-11 11:58:07 -07:00
Michael Lumish
85c1d38073
Merge pull request #1783 from jtattermusch/emulated_aarch64_tests
Add CI tests for linux aarch64 (and run them under an emulator).
2021-05-10 11:02:23 -07:00
Jan Tattermusch
2b8322ef90 update aarch64 tests to test with node12 2021-05-10 11:54:10 +02:00
Jan Tattermusch
03a72a1d2e add emulated aarch64 linux tests 2021-05-07 14:31:04 +02:00
Michael Lumish
7c2acccff5 proto-loader: Bump to 0.6.2 2021-05-06 14:28:15 -07:00
Michael Lumish
4ed3bcf612
Merge pull request #1778 from EduardoLaranjo/patch-1
Fix auto-generated service definition
2021-05-06 10:50:30 -07:00