Skip to content

Commit

Permalink
build: temporarily force local spawn strategy during release builds
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
josephperrott committed May 8, 2024
1 parent 0e323db commit 1c4ebcf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/build-packages-dist.mts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ function buildReleasePackages(distPath: string, isSnapshotBuild: boolean): Built
// version placeholder is populated in the release output.
const stampConfigArg = `--config=${isSnapshotBuild ? 'snapshot-build' : 'release'}`;

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

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

0 comments on commit 1c4ebcf

Please sign in to comment.