You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: fix devserver sh_binary not working on systems with runfiles enabled (#23721)
The devserver currently does not work on systems with runfiles enabled.
This is commonly macOS and Linux. The devserver breaks here because we
do not have a runfile tree directory built as this would cause a significant
slow-down for RBE and caching.
This commit ensures the runfile manifest is consulted _always_, unless the
dev-server runs in a test where a runfile directory is resolved to the test
directory.
Inside the test action, with runfiles enabled, there would be no runfile
manifest file.. causing the devserver to fail. e.g.
```
/b/f/w/bazel-out/k8-fastbuild/bin/src/material-experimental/mdc-table/e2e_tests_chromium.sh.runfiles/angular_material/tools/dev-server/dev-server_bin.sh: line 52: RUNFILES_MANIFEST_FILE: unbound variable
```
(cherry picked from commit 83da73f)
0 commit comments