@smoothbricks/nx-plugin 0.7.2 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/README.md +118 -118
  2. package/dist/.build-inputs.json +18 -18
  3. package/dist/cargo-toolchain-paths.d.ts +1 -1
  4. package/dist/cargo-toolchain-paths.js +1 -1
  5. package/dist/cargo-toolchain-policy.d.ts +2 -2
  6. package/dist/cargo-toolchain-policy.js +2 -2
  7. package/dist/cross-check-policy.d.ts +25 -30
  8. package/dist/cross-check-policy.d.ts.map +1 -1
  9. package/dist/cross-check-policy.js +27 -31
  10. package/dist/ensure-built-witness.js +727 -450
  11. package/dist/ensure-built.js +2 -2
  12. package/dist/executors/bounded-exec/bounds.d.ts +6 -3
  13. package/dist/executors/bounded-exec/bounds.d.ts.map +1 -1
  14. package/dist/executors/bounded-exec/bounds.js +9 -2
  15. package/dist/executors/bounded-exec/executor.d.ts.map +1 -1
  16. package/dist/executors/bounded-exec/executor.js +24 -19
  17. package/dist/executors/bounded-exec/mbx-pool.d.ts +13 -16
  18. package/dist/executors/bounded-exec/mbx-pool.d.ts.map +1 -1
  19. package/dist/executors/bounded-exec/mbx-pool.js +24 -28
  20. package/dist/executors/bounded-exec/runner-lifecycle.d.ts +2 -0
  21. package/dist/executors/bounded-exec/runner-lifecycle.d.ts.map +1 -1
  22. package/dist/executors/bounded-exec/runner-lifecycle.js +9 -5
  23. package/dist/executors/bounded-exec/runner-sizing.d.ts +6 -1
  24. package/dist/executors/bounded-exec/runner-sizing.d.ts.map +1 -1
  25. package/dist/executors/bounded-exec/runner-sizing.js +7 -2
  26. package/dist/executors/bounded-exec/schema.d.ts +12 -3
  27. package/dist/executors/bounded-exec/schema.d.ts.map +1 -1
  28. package/dist/executors/cargo-zigbuild/executor.d.ts +10 -0
  29. package/dist/executors/cargo-zigbuild/executor.d.ts.map +1 -1
  30. package/dist/executors/cargo-zigbuild/executor.js +36 -2
  31. package/dist/index.js +9 -7
  32. package/dist/managed-files/files.d.ts +4 -4
  33. package/dist/managed-files/files.js +4 -4
  34. package/dist/owned-installation.d.ts.map +1 -1
  35. package/dist/owned-installation.js +4 -2
  36. package/dist/producer-receipts.js +476 -402
  37. package/dist/task-graph-policy.js +1 -1
  38. package/dist/testing.d.ts +8 -0
  39. package/dist/testing.d.ts.map +1 -1
  40. package/dist/testing.js +15 -0
  41. package/dist/workspace-config-policy.d.ts +1 -1
  42. package/dist/workspace-config-policy.js +1 -1
  43. package/dist/workspace-manifest.d.ts +5 -0
  44. package/dist/workspace-manifest.d.ts.map +1 -1
  45. package/managed/raw/patches/{nx@23.2.1.patch → nx@24.0.3.patch} +1397 -2174
  46. package/managed/raw/tooling/direnv/devenv.smoo.nix +30 -31
  47. package/managed/raw/tooling/git-hooks/pre-push.sh +21 -21
  48. package/managed/templates/github/actions/setup-devenv/action.yml +20 -5
  49. package/package.json +4 -3
  50. package/runtime/nx-publish/.build-inputs.json +2 -2
  51. package/runtime/nx-publish/cache_adapter.js +24 -11
  52. package/runtime/nx-publish/nx_publish.js +2 -1
  53. package/runtime-input.sh +1 -1
  54. package/src/cargo-toolchain-paths.ts +1 -1
  55. package/src/cargo-toolchain-policy.ts +2 -2
  56. package/src/cross-check-policy.ts +29 -32
  57. package/src/ensure-built.ts +2 -2
  58. package/src/executors/bounded-exec/bounds.ts +13 -4
  59. package/src/executors/bounded-exec/executor.ts +27 -29
  60. package/src/executors/bounded-exec/mbx-pool.ts +36 -30
  61. package/src/executors/bounded-exec/runner-lifecycle.ts +13 -6
  62. package/src/executors/bounded-exec/runner-sizing.ts +8 -2
  63. package/src/executors/bounded-exec/schema.json +5 -1
  64. package/src/executors/bounded-exec/schema.ts +12 -3
  65. package/src/executors/cargo-zigbuild/executor.ts +42 -2
  66. package/src/index.ts +9 -5
  67. package/src/managed-files/files.ts +4 -4
  68. package/src/owned-installation.ts +4 -2
  69. package/src/task-graph-policy.ts +1 -1
  70. package/src/testing.ts +13 -0
  71. package/src/workspace-config-policy.ts +1 -1
  72. package/src/workspace-manifest.ts +5 -0
  73. package/test-timings.json +2 -0
package/README.md CHANGED
@@ -23,7 +23,7 @@ inference.
23
23
  `@nx/devkit` publishes). A plugin carries no traversal of its own and no second `dependsOn` parser, and checks what
24
24
  Nx already ships before adding a dependency. `dependsOn` takes `^`, wildcards such as `^*-js`, `project:target` and
25
25
  object forms; a copy answers for the spellings its author thought of and drifts from the Nx that schedules the task,
26
- and it never receives a repair of the pinned Nx ([Nx 23.2.1 Runtime Patch](#nx-2321-runtime-patch)).
26
+ and it never receives a repair of the pinned Nx ([Nx 24.0.3 Runtime Patch](#nx-2403-runtime-patch)).
27
27
  2. **Put each decision in the hook that sees its data.** `createNodesV2` infers targets for each project file it
28
28
  matches, before any graph exists. `createDependencies` adds project edges and has no dependency graph yet.
29
29
  `createMetadata` runs after both, with every project's merged targets and the edges the plugins added (Nx adds a
@@ -184,6 +184,14 @@ their own `nx.json`; this keeps the native task database local too, rather than
184
184
  Offline, path-only Cargo fixtures likewise own a temporary `CARGO_HOME`; production commands still keep the caller's
185
185
  Cargo home.
186
186
 
187
+ Fixtures the suite infers in its own process own their Nx state the same way. The package's test preload
188
+ (`src/__tests__/isolate-nx-state.ts`) drops the `NX_WORKSPACE_DATA_DIRECTORY`, `NX_PROJECT_GRAPH_CACHE_DIRECTORY` and
189
+ `NX_CACHE_DIRECTORY` the suite inherits from its job (CI's setup-devenv action, a cowshed job), so every fixture root
190
+ resolves its own `.nx`. Nx's native file index shares one walk among every context of one workspace-data directory: the
191
+ walk holds `nx_files.lock` there, and a context that waits on it loads the archive that walk wrote instead of walking
192
+ its own root. Resolved through the job's absolute directory, a fixture's context gets the files of whichever root walked
193
+ there last.
194
+
187
195
  Fixture sockets and loopback listeners live where a Cowshed sandbox admits them, never at a literal `/tmp` path or on
188
196
  port 0. A fixture's short socket parent alias lives beside the Nx socket directory the job supplies (the parent of
189
197
  `NX_SOCKET_DIR`, the workspace's short runtime link), else under `COWSHED_RUNTIME_LINK`, else the temp directory. The
@@ -336,12 +344,12 @@ gate and the cross check keep their own `target/cargo-lint` and `target/cargo-li
336
344
  The `production` configuration adds `--release` to the targets that build shipped artifacts (`cargo-napi`,
337
345
  `napi-<arch>-<os>`, `cargo-wasm`) and is selected for shipping: the generated publish workflow's build and platform-leg
338
346
  steps, the `smoo release` commands it runs, and the build and deploy runs of a production `smoo github-ci nx-deploy`.
339
- The land seam also builds the host production CLI before its shipping-byte guard; ordinary build and test graphs never
340
- reach that seam. Test targets have no `production` configuration, so a release build never compiles release test
341
- binaries. A package-local target that builds a shipped artifact follows the same rule: its default options compile `dev`
342
- and its `production` configuration compiles a shipping profile. A shipping profile other than `release` is only for an
343
- artifact family no other build compiles, such as a size-optimised wasm32 lane; a profile that compiles the same crates
344
- for the same target as `dev` or `release` compiles every dependency a second time.
347
+ The land gate also builds the host production CLI and addon before its shipping-byte guard; ordinary build and test
348
+ graphs never reach that seam. Test targets have no `production` configuration, so a release build never compiles release
349
+ test binaries. A package-local target that builds a shipped artifact follows the same rule: its default options compile
350
+ `dev` and its `production` configuration compiles a shipping profile. A shipping profile other than `release` is only
351
+ for an artifact family no other build compiles, such as a size-optimised wasm32 lane; a profile that compiles the same
352
+ crates for the same target as `dev` or `release` compiles every dependency a second time.
345
353
 
346
354
  Native profiles have disjoint output trees: development CLIs live under `.cache/bin/<platform>/` and development
347
355
  platform addons under `.cache/native-dev/<platform>/`; production retains the shipping `dist/bin/` and `dist/native/`
@@ -349,8 +357,11 @@ layout. Declarations interpolate the same options the commands use, so their out
349
357
  together. The host-resolved `cli-native` and `napi-native` aggregates delegate to the existing platform producers and
350
358
  declare no outputs of their own. Their `production` configuration forwards that same selection to the host producer. A
351
359
  test that executes the CLI or loads the ordinary platform addon names those producers; tests using the explicit test
352
- addon still name `napi-debug`. The land host runs `cowshed:cli-native:production` then the dependency-free
353
- `cowshed:release-check`, cached on a runtime digest of the shipping bytes it inspects, never on a development output.
360
+ addon still name `napi-debug`. The root `gate` target depends on `cowshed:cli-native` and `cowshed:napi-native` in their
361
+ `production` configuration (a `dependsOn` entry's `configuration`, a hunk of the carried Nx patch), so the land gate's
362
+ one Nx graph builds them beside its other tasks and replays them when their inputs did not move. The land host then runs
363
+ the dependency-free `cowshed:release-check`, cached on a runtime digest of the shipping bytes it inspects, never on a
364
+ development output.
354
365
 
355
366
  After the fast-forward, main's output restoration explicitly requests `build`, `cli-native`, and `napi-native`. The
356
367
  normal build remains JS/dependency-only; this post-land seam restores the source-selected host CLI/addon and their input
@@ -403,13 +414,13 @@ sources are not hashed instead: the managed module alone changed 43 times in the
403
414
  would have rekeyed every cargo verdict; evaluated at those commits on Linux x86_64, the observed store objects did not
404
415
  change. rustc and cargo are not in the list on purpose. Cargo keys units on the output of rustc's version command, which
405
416
  is hashed beside this input, never on rustc's path. On a non-Linux host the default shell and its linux-cross profile
406
- carry different rust-std sets, so that path would split the pre-push probe from the cached cross-check verdict. Only a
407
- path in the Nix store counts; a path elsewhere is ignored. A linker named only by Cargo configuration is outside this
408
- environment probe: a target that runs one must name the script itself as an input. Workspace test runners additionally
409
- hash the manifest of every package the workspace build compiles inside the Nx workspace (a member's, and a path
410
- package's that reaches the build only as some crate's dev-dependency), because those affect unified features, and the
411
- nextest executable/configuration. While the build compiles a path package outside the Nx workspace, every runner also
412
- names externalRustCrates, which then must be declared: a runner's key does not follow the test build's outputs.
417
+ carry different rust-std sets, so that path would split one target's key between the two shells. Only a path in the Nix
418
+ store counts; a path elsewhere is ignored. A linker named only by Cargo configuration is outside this environment probe:
419
+ a target that runs one must name the script itself as an input. Workspace test runners additionally hash the manifest of
420
+ every package the workspace build compiles inside the Nx workspace (a member's, and a path package's that reaches the
421
+ build only as some crate's dev-dependency), because those affect unified features, and the nextest
422
+ executable/configuration. While the build compiles a path package outside the Nx workspace, every runner also names
423
+ externalRustCrates, which then must be declared: a runner's key does not follow the test build's outputs.
413
424
 
414
425
  Nothing machine-local takes part. The ambient cargo environment as a whole and the global `$CARGO_HOME/config.toml` are
415
426
  deliberately not hashed: their values carry per-checkout state directories (`CARGO_INSTALL_ROOT` moves under the active
@@ -450,7 +461,7 @@ this repository once loaded it through one, and the land gate refused the graph)
450
461
  lock-scope node of the crates the target builds (`cargoClosure` carries it; a target that names neither gets the node of
451
462
  the directory it runs in). An entry naming only `cargo-lock:` nodes does not count as naming npm packages.
452
463
 
453
- No input declaration removes a project's own configuration from a task's key. Nx 23.2.1 adds `ProjectConfiguration` to
464
+ No input declaration removes a project's own configuration from a task's key. Nx 24.0.3 adds `ProjectConfiguration` to
454
465
  every task (`hash_planner.rs` `gather_self_inputs`), and `hash_project_config.rs` hashes the executor, outputs, options,
455
466
  configurations and parallelism of every target in the project, plus its tags and named inputs (not `inputs`,
456
467
  `dependsOn`, `cache` or `//`). An edit to one target's command therefore re-keys every target of that project, including
@@ -472,7 +483,7 @@ Policy excludes incidental Markdown through `!{projectRoot}/**/*.md` in `default
472
483
  Markdown declares it through an input set without a matching negative: Nx exclusions win over positive paths in the same
473
484
  fileset, so a later explicit path cannot re-include it. Inferred Cargo package filesets remain broad for arbitrary
474
485
  compiled data, headers, schemas and build-script reads; incidental Markdown beneath a crate can therefore still
475
- invalidate those tasks conservatively. Nx 23.2.1 hashes a cached target that declares no `inputs` over every file under
486
+ invalidate those tasks conservatively. Nx 24.0.3 hashes a cached target that declares no `inputs` over every file under
476
487
  its project root and ignores the `default` named input, so `smoo monorepo check` refuses such a target: declare its
477
488
  inputs, or give its target name a `targetDefaults` entry with `"inputs": ["default", "^default"]`.
478
489
 
@@ -550,7 +561,7 @@ command failures use the same fail-closed path. For example:
550
561
  { "runtime": "sh node_modules/@smoothbricks/nx-plugin/runtime-input.sh bun --version" }
551
562
  ```
552
563
 
553
- Nx 23.2.1 hashes a runtime input's stdout and stderr and ignores its exit status, so a failed input becomes a valid key:
564
+ Nx 24.0.3 hashes a runtime input's stdout and stderr and ignores its exit status, so a failed input becomes a valid key:
554
565
  its error text, one string for every history, toolchain or file it could not read, and a result cached under it is
555
566
  replayed for all of them. The script keys on the command's stdout alone and turns a nonzero exit into an Nx error: it
556
567
  ends stdout with the byte 0xFF, and Nx refuses output that is not UTF-8
@@ -1359,8 +1370,8 @@ Concrete targets come from concrete files:
1359
1370
  executor with `bin` set; a static CLI targets `<arch>-unknown-linux-musl`. The executor runs `cargo-zigbuild`
1360
1371
  directly, removes any compiler or linker the shell names for its triple (a Linux shell pins its host compiler for
1361
1372
  `x86_64-unknown-linux-gnu`), and reads the artifact path from cargo's JSON messages. zig and cargo-zigbuild come from
1362
- the managed devenv module: a Linux shell carries them, a macOS shell only inside the `linux-cross` profile
1363
- (`tooling/devenv -P linux-cross shell -- …`).
1373
+ the managed devenv module, in every shell; the Linux rust-std set beyond `x86_64-unknown-linux-gnu` comes with a Linux
1374
+ shell, and on macOS only inside the `linux-cross` profile (`tooling/devenv -P linux-cross shell -- …`).
1364
1375
  - `build` is inferred only when the project has at least one concrete build target to run, such as inferred `tsc-js`, a
1365
1376
  package-local target like `tsdown-js`, or `cargo-wasm` from this plugin. It depends on output-family wildcard targets:
1366
1377
  `*-js`, `*-web`, `*-html`, `*-css`, `*-ios`, `*-android`, `*-native`, `*-napi`, `*-bun`, and `*-wasm`.
@@ -1695,15 +1706,15 @@ smoo-nx-exec my-cli:build --workspace-root "$root"
1695
1706
  A hit prints nothing, where `nx run` would replay every task's cached log. A miss prints Nx's run of the target on
1696
1707
  stderr.
1697
1708
 
1698
- ## Nx 23.2.1 Runtime Patch
1709
+ ## Nx 24.0.3 Runtime Patch
1699
1710
 
1700
- The repository installs Nx 23.2.1 as an ordinary Bun `patchedDependencies` entry: the root `package.json` lists
1701
- `nx@23.2.1` and `@nx/js@23.2.1`, and applies [`patches/nx@23.2.1.patch`](../../patches/nx@23.2.1.patch) to the registry
1711
+ The repository installs Nx 24.0.3 as an ordinary Bun `patchedDependencies` entry: the root `package.json` lists
1712
+ `nx@24.0.3` and `@nx/js@24.0.3`, and applies [`patches/nx@24.0.3.patch`](../../patches/nx@24.0.3.patch) to the registry
1702
1713
  `nx` package. Bun installs a patched package project-local under `node_modules/.bun/`, so the `nx` the repository runs
1703
1714
  is the patched one.
1704
1715
 
1705
- `@nx/js` imports `nx` (`nx/release`, `nx/src/…`) without declaring it
1706
- ([nrwl/nx#34087](https://github.com/nrwl/nx/issues/34087)). `patches/@nx%2Fjs@23.2.1.patch` declares the peer, so Bun
1716
+ `@nx/js` 24.0.3 still imports `nx` (`nx/release`, `nx/src/…`) without declaring it
1717
+ ([nrwl/nx#34087](https://github.com/nrwl/nx/issues/34087)). `patches/@nx%2Fjs@24.0.3.patch` declares the peer, so Bun
1707
1718
  binds the same pinned Nx through the package's normal dependency namespace.
1708
1719
 
1709
1720
  Native APFS fixtures install this same pinned package and patch offline into their own checkout, using Bun's local
@@ -1743,23 +1754,12 @@ The Nx patch repairs upstream Nx runtime behavior, separately from this plugin's
1743
1754
  keeps its full-closure default. The installed-product regression compares all root input buckets and configurations
1744
1755
  against closure inspection and rejects the old all-plan selection. See
1745
1756
  [root-only raw-input inspection](../../patches/README.md#root-only-raw-input-inspection).
1746
- - **The default cache limit uses the cache's own filesystem.** It takes ten percent of `statfs(cacheDir)` capacity, or
1747
- its nearest existing ancestor when the directory has not been created. This avoids synchronously inventorying every
1748
- mounted disk. Explicit `NX_MAX_CACHE_SIZE` and `nx.json.maxCacheSize` retain their precedence; filesystem errors other
1749
- than a missing directory still fail the operation. See [upstream Nx #37269](https://github.com/nrwl/nx/pull/37269).
1750
- Cowshed exports an explicit caller-overridable default of configured build-volume capacity divided by ten for host
1751
- shells and jobs. The hosted setup action keeps its existing separate `20GB` ceiling.
1752
1757
  - **The daemon keeps graph plugin workers running.** Nx stops an isolated plugin worker after the last phase it has
1753
1758
  hooks for, which for a graph-only plugin is every graph; the daemon recomputes the graph on every tracked file change,
1754
1759
  so each change spawned and loaded every graph plugin's worker again (median 199 ms against 63 ms from edit to graph in
1755
1760
  a one-project fixture, 0.9–1.5 s per worker under a gate's load). On the daemon a worker with graph hooks now lives as
1756
1761
  long as the daemon; one-shot clients and task-only plugins keep the eager shutdown. See
1757
1762
  [upstream Nx #37271](https://github.com/nrwl/nx/pull/37271).
1758
- - **Nx resolves typescript and release version actions from the workspace.** Nx 23.2.1 loads both with a plain `require`
1759
- from its own location. Where that location cannot see `typescript`, its dependency analysis skips every source import
1760
- without a warning (the first install that exposed this lost 12 of 44 graph edges), and `release version` cannot
1761
- resolve `@nx/js`'s version actions. The patch resolves both through `getNxRequirePaths` (the workspace first), falling
1762
- back to Nx's own location. See [upstream Nx #37272](https://github.com/nrwl/nx/pull/37272).
1763
1763
  - **A task's dependencies do not depend on which other tasks the run asks for.** A target that depends on `^build`
1764
1764
  through a project with no `build` target gets a dummy task for it, and Nx flattens each dummy into the real tasks
1765
1765
  behind it except a dummy it believes sits in a cycle. `findCycles` reported every task on the depth-first path that
@@ -1785,34 +1785,6 @@ The Nx patch repairs upstream Nx runtime behavior, separately from this plugin's
1785
1785
  which untars the artifact with its stored mtimes and restores it with the same copy. Restoring one directory output of
1786
1786
  10,000 1 KiB files took a median 3.4 s for the native remove and copy and 0.79 s more for the stamp, on a machine at
1787
1787
  load average 70–120. Not yet proposed upstream.
1788
- - **A file rewritten within the second it was hashed in is hashed again.** Every Nx context (each run without the
1789
- daemon, and the daemon when it starts) hashes the workspace's files through `<workspace-data>/nx_files.nxt`, which on
1790
- Unix keeps each file's hash beside its mtime in whole seconds, and reuses an archived hash while that second is
1791
- unchanged; size and nanoseconds are not compared. A file written again within the second it was hashed in keeps its
1792
- mtime and hashes as the bytes it replaced: a revert replays the cache entry of the edit it reverts. The patch applies
1793
- Git's racy-index rule before the native context reads the archive: when the archive holds an mtime from ten seconds
1794
- before its own write (the longest a hashing pass is assumed to run) or later, it is removed and every file is hashed
1795
- again. A full pass over 6,370 files measured 288–753 ms at load average 70–110. The check reads each entry's mtime
1796
- from the archive's rkyv layout as Nx 23.2.1's binary writes it (the root's entry count and entry pointer in the last
1797
- 12 bytes, 24-byte entries with the i64 mtime at +8), in under 1 ms for 6,396 files. In 134 synthetic workspaces of 1
1798
- to 400 files dated 2001 it kept every archive, and it removed every one once a file was written in the pass. An
1799
- archive whose root does not fit is removed. A file dated ahead of the archive keeps it distrusted, so every run hashes
1800
- everything until the clock passes that date. The check cannot see a pass longer than ten seconds, nor an archive
1801
- another Nx process rewrites between the check and the native read; on Windows, whose native mtime is a FILETIME, it
1802
- does nothing. The native fix records every entry dated from the second its pass started on as racy and has none of
1803
- these limits. Not yet proposed upstream.
1804
- - **A failed run exits 1, not 130, when it skips the tasks behind a failure.** Nx skips every task that depends on a
1805
- failed one, and tells no life cycle about a skipped task, so the results `nx` reads its exit status from had none for
1806
- it; `didCommandComplete` takes a discrete task without a result for one the run never finished, and `nx` exited 130,
1807
- the status of an interrupted run. A gate then reported `Failed to run "nx" due to exit code 130` for an ordinary test
1808
- failure. The patch has `didCommandComplete` also accept a task the runner reports skipped, so the exit status is 1.
1809
- With `--nx-bail=true`, pending tasks have no status and active tasks can be stopped by bailout cleanup; the CLI uses
1810
- the orchestrator's actual bailout and interruption flags, so a known failure still exits 1, but a signal or forced TUI
1811
- stop wins and exits 130. The terminal output's "Tasks not run" list is unchanged. Only that check sees the runner's
1812
- skipped tasks: `invokeTasksRunner` and the plugins' `postTasksExecution` hooks still get Nx's own results, with none
1813
- for a skipped task, so a caller that replays Nx's skip rule over them counts it once. (An earlier version of this hunk
1814
- added a skipped result to those results, and such a caller counted no task as skipped.) Not yet proposed upstream: Nx
1815
- `master` reports skipped tasks the same way.
1816
1788
  - **A workspace has one daemon, and a second one leaves it alone.** Every daemon overwrote `server-process.json` with
1817
1789
  its own pid, so two clients that each found no daemon started two, and the later one displaced the earlier. A client
1818
1790
  of the displaced daemon lost its socket mid-request (`EPIPE` on `RECORD_OUTPUTS_HASH_BATCH`) after the run had printed
@@ -1826,14 +1798,14 @@ The Nx patch repairs upstream Nx runtime behavior, separately from this plugin's
1826
1798
  a path another daemon has bound alone, so that daemon's socket is not unlinked. A holder starts when it claims, so a
1827
1799
  live one that has not answered by the time its record is a minute old (a pid reused after a crash) is stale and
1828
1800
  replaced. On a filesystem without hard links the record is created exclusively instead. Not yet proposed upstream.
1829
- - **A run that throws part way through does not report success.** The default tasks runner ends its life cycle in a
1830
- `finally`, so the static summary also prints when the orchestrator throws mid-run. It printed "Successfully ran"
1831
- whenever no task had failed or stopped, and counted each task the run never reported as skipped: a focused `run-many`
1832
- whose daemon socket died while recording output hashes printed success with "10 skipped", then `Error: write EPIPE`.
1833
- The orchestrator reports every task it finishes except one it skips, and it skips a task only behind a failed or
1834
- stopped one, so the patch prints success only when every task was reported. Otherwise the summary says the run did not
1835
- complete and names the unreported tasks: under "Tasks not run" after a failure, as before, and under "Tasks the run
1836
- ended without finishing" when none failed. Nx `master` prints the same summary. Not yet proposed upstream.
1801
+ - **A run that throws part way through names the tasks it never finished.** The default tasks runner ends its life cycle
1802
+ in a `finally`, so the static summary also prints when the orchestrator throws mid-run. Nx 23.2.1 printed
1803
+ "Successfully ran" whenever no task had failed or stopped, and counted each task the run never reported as skipped: a
1804
+ focused `run-many` whose daemon socket died while recording output hashes printed success with "10 skipped", then
1805
+ `Error: write EPIPE`. Nx 24.0.3 prints success only when every discrete task was reported, as this repository's 23.2.1
1806
+ hunk did, and lists the others as not run "because their dependencies failed, --nx-bail=true, or their batch ended
1807
+ before reaching them". When no task failed, nothing skipped them, so the patch lists them under "Tasks the run ended
1808
+ without finishing" instead. Not yet proposed upstream.
1837
1809
  - **Nx refuses an environment set up for another workspace.** A shell that moves into another checkout keeps the
1838
1810
  `NX_WORKSPACE_ROOT_PATH`, `NX_WORKSPACE_DATA_DIRECTORY`, `NX_CACHE_DIRECTORY` and `NX_SOCKET_DIR` of the workspace it
1839
1811
  was set up for, and Nx takes `NX_WORKSPACE_ROOT_PATH` verbatim as its root: `nx daemon --stop` run in the second
@@ -1884,44 +1856,54 @@ The Nx patch repairs upstream Nx runtime behavior, separately from this plugin's
1884
1856
  connection once its request queue drains now covers the daemon process too. A bounded regression runs a real daemon
1885
1857
  whose global sync generator globs through the daemon's own client and requires zero open connections once the
1886
1858
  generator finishes.
1887
- - **A daemon whose workspace has gone stops instead of reading it.** Nx 23.2.1's native file worker reads an empty file
1888
- map as one it has not filled yet and waits on its condition variable for files (`FilesWorker::get_files`,
1889
- `while guard.len() == 0`). Once every file of a workspace is deleted under a running daemon, as when a checkout is
1890
- removed or unmounted before its daemon is stopped, the next glob blocks the daemon's only thread for good. It sits at
1891
- 0% CPU in `WorkspaceContext::multi_glob`, no timer or request runs again, and SIGTERM does nothing because its handler
1892
- is JavaScript; only SIGKILL ends it. The daemon now stops itself when the workspace's `nx.json` is gone. It checks on
1893
- every watcher batch before applying it, on every request and on the 5 s safety poll, so the batch that would empty the
1894
- file map is never applied. A workspace without `nx.json` is no Nx workspace, and its client already runs without a
1895
- daemon. A bounded regression deletes every tracked file under a real daemon and requires it to exit with that reason;
1896
- against the unpatched daemon it hangs in that frame and survives its fixture's SIGTERM.
1897
- - **The daemon stops for an ignore file only when its watcher's rules may be stale.** Nx's native watcher reads its
1898
- ignore files once, in `watch()`, and the daemon stopped itself on every watcher event for a `.gitignore` or
1899
- `.nxignore`, whatever the file then held. A rewrite with the same bytes (a checkout, a formatter) reports one, and so
1900
- does FSEvents for a write made shortly before the daemon's stream started, when fseventsd numbers it after that start.
1901
- The stop destroys every client socket at once, so a file-watcher client lost the notification of the batch that
1902
- carried the event, and a watcher waiting to judge an edit in that batch waited forever. The patch keeps the content
1903
- hash of each ignore file the workspace context read, but only where neither the file nor its directory changed since
1904
- just before the watcher's read (judged on the filesystem's own clock, by stamping a probe in the workspace data
1905
- directory): those are the bytes the watcher's rules came from. An event stops the daemon unless its file is one of
1906
- those and still hashes the same; a file changed between the watcher's read and the context's, or one the context never
1907
- held, stops it as before.
1859
+ - **A daemon whose workspace has gone stops.** Once every file of a workspace is deleted under a running daemon, as when
1860
+ a checkout is removed or unmounted before its daemon is stopped, Nx 23.2.1's native file worker read the empty file
1861
+ map as one it had not filled yet and waited on its condition variable for files (`FilesWorker::get_files`): the next
1862
+ glob blocked the daemon's only thread for good, where no SIGTERM handler runs. Nx 24's file state waits only while a
1863
+ scan runs (`FileState::wait_ready`). The daemon still stops itself when the workspace's `nx.json` is gone: a workspace
1864
+ without it is no Nx workspace, and its client already runs without a daemon. It checks on every applied watcher batch
1865
+ before recomputing from it, on every request and on the 5 s safety poll. A bounded regression deletes every tracked
1866
+ file under a real daemon and requires it to exit with that reason.
1867
+ - **The daemon stops for an ignore file only when its watch's rules may be stale.** Nx 23.2.1's daemon stopped itself on
1868
+ every watcher event for a `.gitignore` or `.nxignore`, whatever the file then held. A rewrite with the same bytes (a
1869
+ checkout, a formatter) reports one, and the stop destroys every client socket at once, so a file-watcher client lost
1870
+ the notification of the batch that carried the event, and a watcher waiting to judge an edit in that batch waited
1871
+ forever. Nx 24 stops only for an ignore file in its content-filtered batches, but its watch reads the ignore files
1872
+ once, as it starts and before its scan, so a file rewritten between the two is in no batch and the watch keeps the old
1873
+ rules. The patch keeps the content hash of each ignore file the scan read, but only where neither the file nor its
1874
+ directory changed since just before the watch started (judged on the filesystem's own clock, by stamping a probe in
1875
+ the workspace data directory): those are the bytes the watch's rules came from. A watch event for an ignore file stops
1876
+ the daemon when its bytes moved from those, or when it is a workspace file the patch holds no such hash for.
1908
1877
  - **A failure before execution does not crash a completion lifecycle.** The
1909
1878
  [run-information repair](../../patches/README.md#run-information-after-a-pre-start-failure) owns the completion,
1910
1879
  history and timing contract.
1911
1880
 
1881
+ Nx 24 carries four repairs this patch carried on 23.2.1, so their hunks are gone and their regressions stay: the default
1882
+ cache bound taken from the cache's own filesystem (`statfs`, through its nearest existing ancestor;
1883
+ [upstream Nx #37269](https://github.com/nrwl/nx/pull/37269), since 24.0.2; where that filesystem cannot be read for
1884
+ another reason than a missing directory, Nx 24's `get_default_max_cache_size` logs it at debug level and bounds the
1885
+ cache at 100 GiB, where the 23.2.1 hunk failed the operation), resolving `typescript` and release version actions from
1886
+ the workspace ([upstream Nx #37272](https://github.com/nrwl/nx/pull/37272), since 24.0.3), Git's racy-index rule for
1887
+ file hashes (the archive, `nx_files_v2.nxt`, records when its gather began, `gathered_at`, and reuses no entry dated
1888
+ that second or later), and a failed run's exit status 1, never 130, when it skips the tasks behind a failure
1889
+ (`tasks-runner/run-outcome.js`). Cowshed exports an explicit caller-overridable default cache bound of configured
1890
+ build-volume capacity divided by ten for host shells and jobs; the hosted setup action keeps its existing separate
1891
+ `20GB` ceiling.
1892
+
1912
1893
  Publishing or installing `@smoothbricks/nx-plugin` alone does **not** change a consumer's Nx. `smoo monorepo update`
1913
- distributes the managed `patches/nx@23.2.1.patch` and maintains the root registry override `nx = "23.2.1"` plus its
1894
+ distributes the managed `patches/nx@24.0.3.patch` and maintains the root registry override `nx = "24.0.3"` plus its
1914
1895
  matching `patchedDependencies` entry. Run ordinary `bun install`, commit its lock changes, then prove a frozen install
1915
1896
  and the affected normal Nx gates. Do not replace the registry dependency with a local link or hide a failure by
1916
1897
  resetting the database or disabling the daemon.
1917
1898
 
1918
- The patch is keyed to `nx@23.2.1`; a different Nx version needs its own patch file. On an Nx upgrade, remove each hunk
1919
- only when the installed upstream release contains that repair and the task-history namespace, cache-bound,
1899
+ The patch is keyed to `nx@24.0.3`; a different Nx version needs its own patch file, carried as
1900
+ [Activating a patch change](../../patches/README.md#activating-a-patch-change) describes. On an Nx upgrade, remove each
1901
+ hunk only when the installed upstream release contains that repair and the task-history namespace, cache-bound,
1920
1902
  resident-worker, store-resolution, task-graph, restore-time, racy-archive, skipped-task exit, daemon-claim,
1921
1903
  incomplete-run summary, foreign-environment, ignore-file and run-information regressions pass; preserve any repair not
1922
1904
  yet released. The restore-time regression fails without its hunk only on macOS, where the copy clones (on Linux
1923
1905
  `std::fs::copy` writes a fresh mtime), so run it on macOS before dropping the hunk. When every hunk is upstream, remove
1924
- the `nx@23.2.1` and `@nx/js@23.2.1` entries from `patchedDependencies` and delete their patch files.
1906
+ the `nx@24.0.3` and `@nx/js@24.0.3` entries from `patchedDependencies` and delete their patch files.
1925
1907
 
1926
1908
  ## Bun Test Tracing Generator
1927
1909
 
@@ -2061,17 +2043,27 @@ so a package pattern that matched no tests cannot pass. It exits 1 when any bina
2061
2043
  be run.
2062
2044
 
2063
2045
  A target may name a `fixtureCommand` with its `fixtureTimeoutMs`: a compiler-fixture producer the executor runs first,
2064
- in the same cwd, environment and CPU grant, as segment 0 of the same lifecycle — a build interval for its whole life,
2065
- under its own supervisor and acknowledged like a runner's phases. The command follows under `&&` (a direct Go/Cargo
2066
- chain keeps its phases behind a brace group; any other command runs as one segment active from its spawn), so a fixture
2067
- failure ends the run before a test starts, and fixture output earns no progress. `fixtureTimeoutMs` is the segment's own
2068
- wall-clock ceiling, a build budget; the segment's terminal retires it, and expiring it records a `fixture` bound, since
2069
- no test was running. The pair is refused unpaired, and a run that names it names no shadow record of warmth. This exists
2070
- for warmth that lives outside Nx outputs — a compiler plugin cache, a Cargo `target/`: it cannot be a cacheable output,
2071
- and as a `cache: false` prerequisite it executed even when every consumer then restored its verdict from cache, because
2072
- Nx runs an uncached dependency before reaching its cached consumer. Inside the consumer's own task the cache decides: a
2073
- hit restores the verdict and warms nothing; an execution warms first. Without the lifecycle channel (Windows) the
2074
- fixture is plain shell text ahead of the command, bounded from spawn like any wrapper, and its ceiling does not apply.
2046
+ in the same cwd, environment and CPU grant (under mbx inside the leaf's reservation, or before it when its units are
2047
+ counted, below; a build's compilers are admitted one by one), as segment 0 of the same lifecycle — a build interval for
2048
+ its whole life, under its own supervisor and acknowledged like a runner's phases. The command follows under `&&` (a
2049
+ direct Go/Cargo chain keeps its phases behind a brace group; any other command runs as one segment active from its
2050
+ spawn), so a fixture failure ends the run before a test starts, and fixture output earns no progress. `fixtureTimeoutMs`
2051
+ is the segment's own wall-clock ceiling, a build budget; the segment's terminal retires it, and expiring it records a
2052
+ `fixture` bound, since no test was running. The pair is refused unpaired, and a run that names it names no shadow record
2053
+ of warmth. This exists for warmth that lives outside Nx outputs — a compiler plugin cache, a Cargo `target/`: it cannot
2054
+ be a cacheable output, and as a `cache: false` prerequisite it executed even when every consumer then restored its
2055
+ verdict from cache, because Nx runs an uncached dependency before reaching its cached consumer. Inside the consumer's
2056
+ own task the cache decides: a hit restores the verdict and warms nothing; an execution warms first. Without the
2057
+ lifecycle channel (Windows) the fixture is plain shell text ahead of the command, bounded from spawn like any wrapper,
2058
+ and its ceiling does not apply.
2059
+
2060
+ Under mbx, a reserved leaf whose target names a `unitsCommand` (a shell command printing one line per unit `command`
2061
+ runs; the plugin's nextest pieces name the same `nextest list -T oneline` of their selection and partition) runs that
2062
+ command at the end of its fixture segment, under the fixture's ceiling, which then starts at spawn, with the fixture's
2063
+ own output on stderr; the fixture runs before the reservation, not inside it. The leaf then reserves
2064
+ `--cpus min(units, its runner's count)`, at least one, and its reservation says
2065
+ `cowshed: mbx reserve running cpus=<granted> asked=<asked>`. A count that fails fails the run before anything is
2066
+ reserved, named as the fixture segment. `unitsCommand` is refused without `fixtureCommand`.
2075
2067
 
2076
2068
  Process-group timeout fixtures retain cleanup authority only until the command leader exits and every descendant closes
2077
2069
  its inherited lifetime FIFO. EOF is the terminal ownership event; a later `afterEach` must not signal the retired PGID
@@ -2437,12 +2429,14 @@ pool grants at most what it can. A lent pool accounts for siblings together; eac
2437
2429
  allocation to grandchildren. Closing a child's connection returns its local allocation, never the parent's upstream
2438
2430
  grant. Upstream loss revokes the downstream pool, so a dead parent grants nothing more; a command whose grant closes
2439
2431
  while it runs (the lending parent's exit) runs on over budget to its own exit, and stderr says
2440
- `cowshed: cpu-pool grant ended`. A bare count proves no pool. An absent endpoint lends nothing: the command runs as
2441
- configured, and stderr says so. A connected parent pool's refusal or protocol failure instead fails admission: running
2442
- beside it would count the command twice. `options.env` cannot inject either marker, nor a jobserver (`CARGO_MAKEFLAGS`,
2443
- `MAKEFLAGS`, `MFLAGS`); a parent make's jobserver the executor inherits still reaches an ungranted command. The verdict
2444
- records the grant and its actual local wait as `cpu`. Pool setup, listener and cleanup errors fail rather than bypassing
2445
- accounting. Command bounds stay unchanged.
2432
+ `cowshed: cpu-pool grant ended`. The fifo is made beside the pool's socket in `NX_SOCKET_DIR`, so a socket directory
2433
+ inside the checkout must be one Nx ignores before its daemon starts: Nx 24's watch reads a created fifo and blocks on it
2434
+ (`patches/README.md`, "Known upstream defect: the watch reads a FIFO"). A bare count proves no pool. An absent endpoint
2435
+ lends nothing: the command runs as configured, and stderr says so. A connected parent pool's refusal or protocol failure
2436
+ instead fails admission: running beside it would count the command twice. `options.env` cannot inject either marker, nor
2437
+ a jobserver (`CARGO_MAKEFLAGS`, `MAKEFLAGS`, `MFLAGS`); a parent make's jobserver the executor inherits still reaches an
2438
+ ungranted command. The verdict records the grant and its actual local wait as `cpu`. Pool setup, listener and cleanup
2439
+ errors fail rather than bypassing accounting. Command bounds stay unchanged.
2446
2440
 
2447
2441
  A land gate (`tooling/land-host.sh`) runs as `cowshed exec <workspace> --class gate --host -- COMMAND [ARGS...]` after
2448
2442
  daemon-stop. It is never CPU-limited: its class sets the priority the kernel schedules it at, and its Nx run serves its
@@ -2696,9 +2690,15 @@ tests) owns those roots:
2696
2690
  - `publishFixtureSocketDirectory(workspace)` makes that alias and returns the leaf. The workspace must be a physical
2697
2691
  directory in a run this process holds (`ownedFixtureRoot`), so the run's sweep can reclaim the alias if the process
2698
2692
  dies; anything else is refused. The alias points at the fixture's own `.nx/sockets` (mode 0700, never through a
2699
- symlinked `.nx`); Nx makes the real `nx` leaf. This package's `withNxFixture` publishes its workspace and passes the
2700
- directory to the body, and the CLI's `runFixtureNx` publishes each root it runs in. Both `fixtureNxEnv`s take the
2701
- directory as an argument and publish nothing.
2693
+ symlinked `.nx`); Nx makes the real `nx` leaf. The directory holds a `.gitignore` that ignores everything in it,
2694
+ itself included, so nothing made there is a workspace file, as cowshed's git exclude keeps a shed's `.cowshed/run`
2695
+ out: Nx 24's workspace context reads every path its watch reports created, and a jobserver fifo the run CPU pool makes
2696
+ in the socket namespace (`executors/bounded-exec/cpu-pool.ts`) blocks that read, and with it the daemon's only thread,
2697
+ until the pool ends. A `task-results.test.ts` daemon whose workspace ignored nothing hung that way in a land gate;
2698
+ `testing.test.ts` holds such a fifo open under a daemon of a workspace that ignores nothing and requires the daemon to
2699
+ answer. This package's `withNxFixture` publishes its workspace and passes the directory to the body, and the CLI's
2700
+ `runFixtureNx` publishes each root it runs in. Both `fixtureNxEnv`s take the directory as an argument and publish
2701
+ nothing.
2702
2702
  - `ownedWorkspaceSocketDirectory(workspace, slot)` creates the real leaf `a` or `b` beside `nx` below a published alias,
2703
2703
  for tests of multiple daemon socket directories. Its caller stops the daemon before removing the leaf.
2704
2704
  - `retireFixtureSocketDirectory(workspace)` unlinks only the verified parent alias after the daemon exits, named from
@@ -20,30 +20,30 @@
20
20
  "packages/nx-plugin/src/cargo-dev-profile.ts": "34764ba4fc2aeebe75051c98c2eb64b6baeaa3d8cc0242803081ef935465368d",
21
21
  "packages/nx-plugin/src/cargo-retention-hook.ts": "5699506a32aff25be4adca91fff443bea2bfcd6fd7b2964dfa38296c50043ba1",
22
22
  "packages/nx-plugin/src/cargo-source-hash.ts": "1d72427cb2c7d9038c9452db958d14cbb5017d633f40590093654b474b71cb8e",
23
- "packages/nx-plugin/src/cargo-toolchain-paths.ts": "3f91da4c07394e47205093874b3d46e888c2e53ab735bbea2b64d660c2611469",
24
- "packages/nx-plugin/src/cargo-toolchain-policy.ts": "715a743a9922fa1f3be4301bbecee5ed5c1c00c7e9fa6eec0ce9ef9b384fad04",
23
+ "packages/nx-plugin/src/cargo-toolchain-paths.ts": "3c622c19ed7a43166e81f9a92e8ab0e3b607690add5408cd96e95912ecf4c4c1",
24
+ "packages/nx-plugin/src/cargo-toolchain-policy.ts": "9c7bae572b57046dcc1e3d577b4abb25e877cf551efcca1b837c4bb5a8c62203",
25
25
  "packages/nx-plugin/src/cargo-workspace.ts": "ecbe5e0545e07a68ba02d18a2ed362a545e902e947a52af1dab112b71f91f633",
26
- "packages/nx-plugin/src/cross-check-policy.ts": "37f304954419306803972b0a48bde97b50a7b773883655639994c6d007f2e54d",
26
+ "packages/nx-plugin/src/cross-check-policy.ts": "923b5807808c9983f4fe8fae1011db6f318119c8deffbb443ad77dcfb0368cd7",
27
27
  "packages/nx-plugin/src/deploy-policy.ts": "2f6202000dceca84d472f417affce50fd2ec3cab87c969443d83ec6e1d4ccf71",
28
28
  "packages/nx-plugin/src/disk-command-policy.ts": "fb8731ccf41cff47b88f30165b08dc8d551068c436f4e49cb2b62aa4b49be43c",
29
29
  "packages/nx-plugin/src/ensure-built-receipt.ts": "f80084d91d37c5132822bf26b45e6a9ae35e54e366cedbb9d69a2abd663ca419",
30
30
  "packages/nx-plugin/src/ensure-built-witness.ts": "428b3bde289d4f10cdc2b2442a84ebc653f3da8955f9ea596dddf3c759029b1c",
31
- "packages/nx-plugin/src/ensure-built.ts": "cced1cdc9090c820320492c6bf40b853dd02e461651484193af89dc29173984f",
31
+ "packages/nx-plugin/src/ensure-built.ts": "5e0a98b9e17a15eadfa79eb53df7e1fc7ef5997b1bf5e2a46a1fceb930e3315c",
32
32
  "packages/nx-plugin/src/eslint-config-closure.ts": "0cd5a9da34df914c2d6033b7d3de49728cd71229065a2e1b43dba923001e0826",
33
33
  "packages/nx-plugin/src/eslint-file-set.ts": "06d2b6c895c025bfc5269e119830f6fb2c21a6e35dd8e1484ecc8086aa13f753",
34
34
  "packages/nx-plugin/src/eslint-sources.ts": "976a2b8e0520b5f6aaf397a272791817a4f385507bc0cbaad4b114fefa8decf5",
35
35
  "packages/nx-plugin/src/executors/all-verdicts/executor.ts": "4d3aac65aa2e03a2d24d149c412aa18f2e66a6a36a4e88993122b10e9355c8f0",
36
36
  "packages/nx-plugin/src/executors/all-verdicts/schema.ts": "2ca6bd8d2f19d851f291ab6a5227167399b9dc8ed0fda0248b69896d77e471f1",
37
- "packages/nx-plugin/src/executors/bounded-exec/bounds.ts": "908d7146746d53f9558e7b7de08c498ec4352ecf054c1d2f67bedba9a973139b",
37
+ "packages/nx-plugin/src/executors/bounded-exec/bounds.ts": "fecc48ea66df1c2ba526dc0322ab7760cfc1a4e85d99a72a7a43f040448970f0",
38
38
  "packages/nx-plugin/src/executors/bounded-exec/cpu-pool-thread.ts": "4b914385f7ab73cfb3afdc75c0e3c462e7c103c5061f7f7720d7b95f6655e32d",
39
39
  "packages/nx-plugin/src/executors/bounded-exec/cpu-pool.ts": "a4be1280a0ea4b5aa0f04170ce75ce4b813631264c50fab5cdd05d34926fc890",
40
40
  "packages/nx-plugin/src/executors/bounded-exec/disk-lease.ts": "1a3f6a6fa590d9a2550490bb6906dc91b6c05fbef235b025eaf257eb5310e92d",
41
- "packages/nx-plugin/src/executors/bounded-exec/executor.ts": "5a90bd7410b80909224ae10e866bd7881ff91b8fffbedf01e1b1c845ea0ead56",
41
+ "packages/nx-plugin/src/executors/bounded-exec/executor.ts": "bb6fafe38daa8c13f53d375b4db1c8538a420fb7dacd61048e16c3c7229f6e9e",
42
42
  "packages/nx-plugin/src/executors/bounded-exec/gateway-lease.ts": "f3f73bd92db30e4857f98fb8bd2b9a75b2a5a2a318f094e075ed803c1f9a0117",
43
43
  "packages/nx-plugin/src/executors/bounded-exec/hang-diagnostics.ts": "bcaa9e52384f6c481a9cc2835ba6e8ffe167afa3cb51623fdf8dc3493876f335",
44
44
  "packages/nx-plugin/src/executors/bounded-exec/lease-wait.ts": "59d8ac94d0b8b75858971c5bb28ee421fca4f7685577274fe8bbaf0c01ba462a",
45
45
  "packages/nx-plugin/src/executors/bounded-exec/lock-wait.ts": "b14a23b49759a777f4b3338ced003adaf76837c2c38462458f76a7fef1b95d9e",
46
- "packages/nx-plugin/src/executors/bounded-exec/mbx-pool.ts": "1b6bae7975355563c31eb60d3b23480c12c51c24bdd7bce9bccc161838a88037",
46
+ "packages/nx-plugin/src/executors/bounded-exec/mbx-pool.ts": "b8d531c19c67870104862fe14244fb2614b1af0b3de9c940089a1e847d4cc8b8",
47
47
  "packages/nx-plugin/src/executors/bounded-exec/mbx-queue.ts": "ac309e28e5ee78fa08d628edb00e33532514f7572166770799ae86d468c12b4e",
48
48
  "packages/nx-plugin/src/executors/bounded-exec/no-space.ts": "ec032968d89f9e853796012705a06c06cfc4da54bf6e6f10a526f98daca3d077",
49
49
  "packages/nx-plugin/src/executors/bounded-exec/owned-subtree.ts": "cb5edf2b5fe2c1b5b961f8c0ff16ec7bfae3c22ad75dfd671b74f1a4a865863f",
@@ -55,14 +55,14 @@
55
55
  "packages/nx-plugin/src/executors/bounded-exec/ram-temp.ts": "8d66e6ac13c4ccf6172586b9857d5114b48e027bdcb305f94f6828076c1f7eb4",
56
56
  "packages/nx-plugin/src/executors/bounded-exec/run-cpu-pool.ts": "3fc4bfe04862a756d9f74743e399d902a6ce6052a0a3ff4e7edf17f875f33266",
57
57
  "packages/nx-plugin/src/executors/bounded-exec/runner-hook.ts": "606eab5db826e571eb15df618315e01cc773d09fd647beb1c00f6434df58ffad",
58
- "packages/nx-plugin/src/executors/bounded-exec/runner-lifecycle.ts": "dc5c10634b8ccda82c71887bf55aaa67f322b1dace53383d45bd8863469af8a1",
59
- "packages/nx-plugin/src/executors/bounded-exec/runner-sizing.ts": "6884ebad97f5d481af8f04399cc6c45763765be06c56be08126b0a9b0c134c60",
58
+ "packages/nx-plugin/src/executors/bounded-exec/runner-lifecycle.ts": "b2a7c901296bb6c139909297bbdbab5bd00e94319c022307d006b0e1293f6454",
59
+ "packages/nx-plugin/src/executors/bounded-exec/runner-sizing.ts": "206a7d9ba551cedf561ee8c5727446fb9b1655c0911a2b62dc1562bb9ce09ba2",
60
60
  "packages/nx-plugin/src/executors/bounded-exec/runtime-pin.ts": "3eb9a8b794da51ffa01723509935f48bfb497fba883518046e74a53209f0eb10",
61
- "packages/nx-plugin/src/executors/bounded-exec/schema.ts": "18c2b0b6e8c5377f3cd520798da26a0fe2d04ebc35e16035af6432b85d038a2c",
61
+ "packages/nx-plugin/src/executors/bounded-exec/schema.ts": "74eb04eaa8d90d966a98ca2b1b7fffc7d2205a55a1e38958effa641b72c680a3",
62
62
  "packages/nx-plugin/src/executors/bounded-exec/test-result-writer.ts": "df7668a11d105a1f88d2187ef8b0edff9db7ba56d8176b5bc35daf1359667637",
63
63
  "packages/nx-plugin/src/executors/bounded-exec/test-results.ts": "4f83dc3accd7892f45385796522267adad9401326d0cd9ce4d4e1145b9023577",
64
64
  "packages/nx-plugin/src/executors/bounded-exec/verdict.ts": "cf8416985b83e41409fc689ceef61df89c8cf2e42bdb42eea7a7c157b8e8eba2",
65
- "packages/nx-plugin/src/executors/cargo-zigbuild/executor.ts": "d20b73cc90ae1a9c3f96996cdde4d97347395ca875c4801ab67842ec89f9acd7",
65
+ "packages/nx-plugin/src/executors/cargo-zigbuild/executor.ts": "622a5f36897d9eb1f7465654e88f4291aedee9767603028d20c1e819b91d72f4",
66
66
  "packages/nx-plugin/src/executors/cargo-zigbuild/schema.ts": "e5cf3b0cc91a2d003a63ca0c9a93f1ec08263469b8a19dbe338b2dc0c0810747",
67
67
  "packages/nx-plugin/src/executors/scriptc-native/executor.ts": "4db61da4444d3a30acd3995b6cf53a4bc403a40fe856d88b2c30ce467badbea8",
68
68
  "packages/nx-plugin/src/executors/scriptc-native/ffi-paths.ts": "a73ed6800f69992cad6b954f14c0adb4f0ded45900bf84582df4755a3775104c",
@@ -87,11 +87,11 @@
87
87
  "packages/nx-plugin/src/generators/make-public/schema.d.ts": "5e7bd2f1ce16795df4c919d6d53588ea85b574c84400940b6322275f96f60357",
88
88
  "packages/nx-plugin/src/go-tests.ts": "8e356b6ee276e6e836c404353b0ffb5ccec5beb261126f167f730e6e01e9c2b6",
89
89
  "packages/nx-plugin/src/graph-input-contract.ts": "8a1aec1294960ae80bcff55a0370c95004a911bf1afe6caa47e666da3baeac43",
90
- "packages/nx-plugin/src/index.ts": "64dca8cf4bed31d59fab58576025b7aede5e1ccaa4996319189c37ebb4f2d60f",
90
+ "packages/nx-plugin/src/index.ts": "e1491a4a6a4a2979ee27c320654da1753c7120c223df8f56d52e3e19d3735a5b",
91
91
  "packages/nx-plugin/src/managed-assets.ts": "9cea959c09f3163992e666eecc5a65ec1f1b63c81fc56c5e99088507d02c5e3b",
92
92
  "packages/nx-plugin/src/managed-files/ci-workflow.ts": "2d64d689e999af20d65cc21b4803659a835a6eb5340e8d3f896cb0c74e6a0878",
93
93
  "packages/nx-plugin/src/managed-files/context.ts": "5b83c000322382cb781df4f415f3759388e69686b76779599572a62a5c4dd28c",
94
- "packages/nx-plugin/src/managed-files/files.ts": "4de7e3898f1cb107be5ac2d4419865637469690985ec4f37951aa2efee5e8686",
94
+ "packages/nx-plugin/src/managed-files/files.ts": "c88d4f6ab100f25e8e0453f898ed42d8cf067d8c102b2c2984a1f33fb1b34a2c",
95
95
  "packages/nx-plugin/src/managed-files/generator.ts": "8cf1a1b121645c5ead86c163c9da03f612efb2fff6aabed3ea858d87d6cbd0b3",
96
96
  "packages/nx-plugin/src/managed-files/github-runs-on.ts": "a049ca60a79dec57f77e5d18090569a9b8b78818219f236fe352e7705500f531",
97
97
  "packages/nx-plugin/src/managed-files/json-edit.ts": "81bc6dd10fffff583cc9f2269f0c2fd2f76b1c5aedbc7d068cf29878371497c2",
@@ -106,7 +106,7 @@
106
106
  "packages/nx-plugin/src/nextest-code-bound.ts": "e1036934a35f1b65e0f43bddbea259e01a1100e553cdeaefc2db8823a4517340",
107
107
  "packages/nx-plugin/src/nextest-timings.ts": "3d3c87e8a6e701e5e87073754257a442b9e2045665de31a9571b8c38dc8bfd0b",
108
108
  "packages/nx-plugin/src/nx-publish.ts": "0e660129843e7656d8d68b4f6df967739df66aa99264f709124d5ea25c62f7a2",
109
- "packages/nx-plugin/src/owned-installation.ts": "6d4c0eac0c9b9fef1c27dbedd008722b702136a177b39567d623234632de5470",
109
+ "packages/nx-plugin/src/owned-installation.ts": "d44c1c485668250542f1b91c7aa45864e54e8a51535bb65d0c2aeadaa50955d9",
110
110
  "packages/nx-plugin/src/package-target-policy.ts": "32b88c9e6ae54e2ae5492086ff7f4d1147e9f53f014a0614f48953a649bb8cc7",
111
111
  "packages/nx-plugin/src/platform-targets.ts": "a2a1aa3a7fae87931e6387275983435c7f76ce8a91808a9c47eb111bd83cad8f",
112
112
  "packages/nx-plugin/src/process-children.darwin.ts": "a2f95428b94738e53a6d6bee0cbb721bd22a6608432ec393520d0c7baa468329",
@@ -120,22 +120,22 @@
120
120
  "packages/nx-plugin/src/runtime-input.ts": "56e748e0b7835d65efbb3be109c201bb4f10dc601a7ac5c8a8a51521501329a7",
121
121
  "packages/nx-plugin/src/rust-tokens.ts": "cbaf7552192b4f82f04518fbcc48c235b4974de5348bc3c175cabcaffffdc32b",
122
122
  "packages/nx-plugin/src/source-directories.ts": "453de3d8be798e6e69eebf7d3ed1842fb13e7d1476b6a088f032ecdfa39a2a72",
123
- "packages/nx-plugin/src/task-graph-policy.ts": "bf3e20de0e975de217a1c0bda1e6bbae801b7fa3c98e09bd262d7df4cde6c511",
123
+ "packages/nx-plugin/src/task-graph-policy.ts": "ed8cd57c8eac63752589b41e582381bfbe6af98f55454eede169a516f5c3d10a",
124
124
  "packages/nx-plugin/src/task-results.ts": "79aab74e46eacb26bba5d67cfdb2a2eedf0d5c03594e76de6b77e734664555a4",
125
125
  "packages/nx-plugin/src/test-backstop.ts": "bd8b27cc05f001e460c29997125f2d7cb07a98ca1ae306f0b0f1884978e247e1",
126
126
  "packages/nx-plugin/src/test-clock-policy.ts": "4edaef6535b862a5b4ca19686ad958c4df1986e1f97821a6193d4a99742598e9",
127
127
  "packages/nx-plugin/src/test-program.ts": "5c5337a3a1deb7e2b11e46fd91136a0b6f41d4b5b42873be573330c59d73000b",
128
128
  "packages/nx-plugin/src/test-timings.ts": "73c2de1b5c0d06a6628d1659727a8504eaf3c21e89fe0a5da969702ba6823ec9",
129
129
  "packages/nx-plugin/src/test-walk-policy.ts": "f1c92f1a2ba0c3282abb1706bb637d4b5dc74109edb27f7e41edc14e475bfc91",
130
- "packages/nx-plugin/src/testing.ts": "2f14ec40b51dd5a1314e5873708ae30c0cd3f0b5bd85042e9a38d7e68ad5a422",
130
+ "packages/nx-plugin/src/testing.ts": "ef26d48eb7b90d682778cbbff678c9cc25df57a6775cb58b8c925e8fb829fe6a",
131
131
  "packages/nx-plugin/src/tool-bins.ts": "8e5b194d76ce854fd33ad464017c021af401a2d92383f5c31168652b73656601",
132
132
  "packages/nx-plugin/src/type-guards.ts": "87d87a9bb83f0f4614b9f615d8cc7347772cb1418dc1946978987147c0d6ef0c",
133
133
  "packages/nx-plugin/src/typecheck-test-policy.ts": "5f6b1ff0dbf4bcac84721e60452790fb5e4ce41ee35ca2f1d033d51575ed53d7",
134
134
  "packages/nx-plugin/src/version-actions.cts": "c579ed33d5641bd487024429758582fe1f7bde376cfbd4a4a4325aa70fb71883",
135
135
  "packages/nx-plugin/src/wait-why-policy.ts": "f10a5370665c0c38dc778d7532b2cd2b008221efea097b788aeaba8ee63745ea",
136
- "packages/nx-plugin/src/workspace-config-policy.ts": "4b5c914027f1512d52a9eed195a368d0e9b21222c17c462841ccb33ba889de5e",
136
+ "packages/nx-plugin/src/workspace-config-policy.ts": "6cd57431636ecc08eb550aa6771192fe3800159351d21dbb1057df51f8c3955b",
137
137
  "packages/nx-plugin/src/workspace-index.ts": "b2036b48bae92d618027bcc1f876eb9312627ed035d4753eead70b23aa482cc5",
138
- "packages/nx-plugin/src/workspace-manifest.ts": "02329a63dec5fae66bc571ce8a876ff1864c2e6ed07016ef132b9d97d4330c22",
138
+ "packages/nx-plugin/src/workspace-manifest.ts": "9f64639c1a1aaf4aa11115352448aee926f7615b4479992a5c2cb79e5c41ea93",
139
139
  "packages/nx-plugin/src/workspace-package-policy.ts": "f569ce4e5d27168ea83aa41893573cb869d6f062d37133e95911fdd1d709fa8c",
140
140
  "packages/nx-plugin/tsconfig.lib.json": "553a96cc72e10c187d5e7d3da767270d8184ae07929139e417345c770b8d84d1"
141
141
  },
@@ -17,7 +17,7 @@
17
17
  *
18
18
  * rustc and cargo are not here on purpose. Cargo keys units on the output of `rustc -vV`, never on rustc's path, and the
19
19
  * version recipe beside this one hashes it. On a non-Linux host the default shell and its linux-cross profile carry
20
- * different rust-std targets, so a rustc path would split the pre-push probe from the cached cross-check verdict.
20
+ * different rust-std targets, so a rustc path would split one target's key between the two shells.
21
21
  *
22
22
  * Only a path in the Nix store counts. A store object is named by the hash of everything it was built from, so one
23
23
  * shell gives one object on every machine of a platform. A path elsewhere belongs to the machine and takes no part.
@@ -19,7 +19,7 @@ import { delimiter, join } from 'node:path';
19
19
  *
20
20
  * rustc and cargo are not here on purpose. Cargo keys units on the output of `rustc -vV`, never on rustc's path, and the
21
21
  * version recipe beside this one hashes it. On a non-Linux host the default shell and its linux-cross profile carry
22
- * different rust-std targets, so a rustc path would split the pre-push probe from the cached cross-check verdict.
22
+ * different rust-std targets, so a rustc path would split one target's key between the two shells.
23
23
  *
24
24
  * Only a path in the Nix store counts. A store object is named by the hash of everything it was built from, so one
25
25
  * shell gives one object on every machine of a platform. A path elsewhere belongs to the machine and takes no part.
@@ -20,8 +20,8 @@
20
20
  * differs between a bare shell and a devenv profile for the SAME sources: in
21
21
  * the `linux-cross` profile `CARGO_INSTALL_ROOT` moves under
22
22
  * `profiles/linux-cross/`, and every variable the profile's tools set appears,
23
- * so the entry `check:linux` writes inside the profile could never be hit by
24
- * the pre-push probe, which runs bare. Measured on one repository-root archive
23
+ * so an entry written inside the profile could never be hit from a bare shell (the
24
+ * pre-push probe ran bare while `check:linux` ran in the profile). Measured on one repository-root archive
25
25
  * target with the dump still in place: bare 18197306115812424011, in-profile
26
26
  * 12567954759860890767.
27
27
  *
@@ -21,8 +21,8 @@ import { runtimeInput, shellWord } from './runtime-input.js';
21
21
  * differs between a bare shell and a devenv profile for the SAME sources: in
22
22
  * the `linux-cross` profile `CARGO_INSTALL_ROOT` moves under
23
23
  * `profiles/linux-cross/`, and every variable the profile's tools set appears,
24
- * so the entry `check:linux` writes inside the profile could never be hit by
25
- * the pre-push probe, which runs bare. Measured on one repository-root archive
24
+ * so an entry written inside the profile could never be hit from a bare shell (the
25
+ * pre-push probe ran bare while `check:linux` ran in the profile). Measured on one repository-root archive
26
26
  * target with the dump still in place: bare 18197306115812424011, in-profile
27
27
  * 12567954759860890767.
28
28
  *