Nx
Enterprise
Nx
fix(core): make Task.parallelism optional in unified Rust struct Restores the ability for callers of initTasksRunner.invoke (and any other JS-side Task constructor) to omit `parallelism`. napi-rs was rejecting hand-built Task objects with `Missing field parallelism on TaskGraph.tasks` because the unified Rust struct declared it as a required `bool`. Mirrors the optionality of `cache` and `continuous`. Adds `Task::is_parallelizable()` so future Rust readers default `None` to `true`, matching `create-task-graph.ts` (`parallelism ?? true`).
nx-cloud record -- nx format:check
Sign in / Sign up
Open main menu
Succeeded
CI Pipeline Execution
nx-cloud record -- nx format:check
Click to copy
Linux
4 CPU cores
c5b68b06
35540