angular / angular/components

Release builds are unable to build using workers

Open
#29,022 0 comments 0 reactions 2 assignees Claimed by @josephperrott View on GitHub
area: build & ci
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

When attempting to perform a release build, the build fails with the following error log:

```
ERROR: /usr/local/google/home/amysorto/components/src/material/datepicker/BUILD.bazel:90:12: SassCompiler src/material/datepicker/date-range-input.css failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at /usr/local/google/home/amysorto/.cache/bazel/_bazel_amysorto/9aa9d212bc5094d24a51ae5af82e4d63/bazel-workers/worker-40-SassCompiler.log ---8<---8<---
(empty)
---8<---8<--- End of log ---8<---8<---
ERROR: /usr/local/google/home/amysorto/components/src/material/BUILD.bazel:47:11 Bundling types (src/material/datepicker/datepicker_public_index.d.ts) failed: Worker process did not return a WorkResponse:

---8<---8<--- Start of log, file at /usr/local/google/home/amysorto/.cache/bazel/_bazel_amysorto/9aa9d212bc5094d24a51ae5af82e4d63/bazel-workers/worker-40-SassCompiler.log ---8<---8<---
(empty)
---8<---8<--- End of log ---8<---8<---
INFO: Elapsed time: 22.238s, Critical Path: 5.60s
INFO: 106 processes: 49 internal, 3 linux-sandbox, 54 worker.
FAILED: Build did NOT complete successfully
```

We have temporarily worked around this by forcing local spawn strategy.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.