nrwl / nx

Smart Monorepos ยท Fast CI
https://nx.dev
MIT License
23.75k stars 2.37k forks source link

feat(core): transition daemon from queue to transaction based messaging #28983

Open AgentEnder opened 3 days ago

AgentEnder commented 3 days ago

Current Behavior

The daemon uses a serial queue to communicate with individual Nx processes. This can slow things down if things inside of a promise.all or similar method call the daemon multiple times, as all calls must wait for the prior call to finish before starting.

Expected Behavior

The daemon utilizes a transaction based message system, such that it can respond to a message which arrived later if its able to complete quicker

Related Issue(s)

Fixes #

nx-cloud[bot] commented 3 days ago

โ˜๏ธ Nx Cloud Report

CI is running/has finished running commands for commit 155844fe25879aca840bd8db51b0bf17a58f59dd. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

๐Ÿ“‚ See all runs for this CI Pipeline Execution


โœ… Successfully ran 4 targets - [`nx run-many -t check-imports check-commit check-lock-files check-codeowners documentation --parallel=1 --no-dte`](https://staging.nx.app/runs/UKep13N41g?utm_source=pull-request&utm_medium=comment) - [`nx affected --targets=lint,test,build,e2e,e2e-ci --base=60a9f81dac02471ebfb4988a12ac5abb04e73ac6 --head=155844fe25879aca840bd8db51b0bf17a58f59dd --parallel=3`](https://staging.nx.app/runs/VzsAmn3FGi?utm_source=pull-request&utm_medium=comment) - [`nx-cloud record -- nx format:check --base=60a9f81dac02471ebfb4988a12ac5abb04e73ac6 --head=155844fe25879aca840bd8db51b0bf17a58f59dd`](https://staging.nx.app/runs/Lz3FQ336LW?utm_source=pull-request&utm_medium=comment) - [`nx documentation --no-dte`](https://staging.nx.app/runs/egDFeYsJtE?utm_source=pull-request&utm_medium=comment)

Sent with ๐Ÿ’Œ from NxCloud.

vercel[bot] commented 3 days ago

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Updated (UTC)
nx-dev โœ… Ready (Inspect) Visit Preview Nov 20, 2024 11:38pm