angular / dev-infra

Angular Development Infrastructure
MIT License
65 stars 54 forks source link

build: perform build of genfiles in parallel before updates #2200

Closed josephperrott closed 2 months ago

josephperrott commented 2 months ago

Build all of the generated file targets before running the update command to allow the targets to be build in parallel.

josephperrott commented 2 months ago

@devversion bazel run does not allow concurrency, we can't call the binary outside of bazel because the binary is a bazel action.

It works using spawnSync because while appears synchronous, bazel actually is just starting a server, and running actions on that server asynchronously and then returning the results of all of the items in sync.

josephperrott commented 2 months ago

This PR was merged into the repository by commit d4e37342479b99925fefee010b223ea0b402e77e.

The changes were merged into the following branches: main

angular-automatic-lock-bot[bot] commented 1 month ago

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.