grpc-web/scripts
Eryu Xia 20790fc259
Revert "Revert "Temporarily disable `protoc-plugin` in CI"" (#1451)
* Revert "Revert "Temporarily disable protoc-plugin in CI (#1447)" (#1448)"

This reverts commit e6909cd284.

* Update run_basic_tests.sh
2024-06-24 22:41:24 -07:00
..
README.md Internal code sync (#1140) 2021-09-28 10:48:20 -07:00
docker-run-build-tests.sh Internal code sync (#1140) 2021-09-28 10:48:20 -07:00
docker-run-interop-tests.sh Trying to speed up tests 2020-04-29 15:51:24 -07:00
docker-run-jsunit-tests.sh Revamp Closure JsUnit tests runtime and optimize test/build flows. (#1137) 2021-09-21 15:27:21 -07:00
docker-run-mocha-tests.sh Revamp Closure JsUnit tests runtime and optimize test/build flows. (#1137) 2021-09-21 15:27:21 -07:00
init_submodules.sh Revert "Do not force third_party/protobuf to some old version. (#1446)" (#1450) 2024-06-24 22:38:57 -07:00
kokoro.sh No need to specify the env var explicitly 2020-04-29 15:51:24 -07:00
release_notes.py Bump version to 1.5.0 (#1382) 2023-11-08 15:39:29 -08:00
run_basic_tests.sh Revert "Revert "Temporarily disable `protoc-plugin` in CI"" (#1451) 2024-06-24 22:41:24 -07:00
run_interop_tests.sh Update Debian (and other deps) and remove Java In-process Proxy (#1335) 2023-05-14 02:57:11 -07:00
test-proxy.sh Revamp Closure JsUnit tests runtime and optimize test/build flows. (#1137) 2021-09-21 15:27:21 -07:00

README.md

Scripts

A collection of scripts (mostly test related).

Troubleshooting - Bazel Crashes (OOM)

Bazel can be memory hungry and often crashes while building on Mac with default Docker memory settings (2GB) (similar reports: here and here).

Bump the memory settings in Docker Desktop for Mac (e.g. to 4 - 6GB) if you see the following errors:

$ bazel build //javascript/net/grpc/web/generator/... //net/grpc/gateway/examples/echo/...

...

Server terminated abruptly (error code: 14, error message: 'Socket closed', log file: '/root/.cache/bazel/_bazel_root/.../server/jvm.out')

------

failed to solve: rpc error: code = Unknown desc = executor failed running [/bin/sh -c bazel build javascript/net/grpc/web/... &&   cp $(bazel info bazel-genfiles)/javascript/net/grpc/web/protoc-gen-grpc-web   /usr/local/bin/protoc-gen-grpc-web]: exit code: 37