Skip to content

Commit 25eabeb

Browse files
build: temporarily force local spawn strategy during release builds (#29021)
Temporarily force the local spawn strategy for building during release due to seeing unexpected and yet to be traced failures in the Sass compiler within workers.
1 parent 0e323db commit 25eabeb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/build-packages-dist.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ function buildReleasePackages(distPath: string, isSnapshotBuild: boolean): Built
6464
// version placeholder is populated in the release output.
6565
const stampConfigArg = `--config=${isSnapshotBuild ? 'snapshot-build' : 'release'}`;
6666

67-
exec(`${bazelCmd} build ${stampConfigArg} ${targets.join(' ')}`);
67+
// TODO(josephperrott): Figure out why we can't use workers right now.
68+
exec(`${bazelCmd} build --spawn_strategy=local ${stampConfigArg} ${targets.join(' ')}`);
6869

6970
// Delete the distribution directory so that the output is guaranteed to be clean. Re-create
7071
// the empty directory so that we can copy the release packages into it later.

0 commit comments

Comments
 (0)