@smoothbricks/nx-plugin 0.7.17 → 0.7.18

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 (102) hide show
  1. package/README.md +204 -64
  2. package/dist/.build-inputs.json +24 -21
  3. package/dist/bun-lock-scope.d.ts +128 -20
  4. package/dist/bun-lock-scope.d.ts.map +1 -1
  5. package/dist/bun-lock-scope.js +267 -44
  6. package/dist/cargo-closure-input.d.ts +8 -6
  7. package/dist/cargo-closure-input.d.ts.map +1 -1
  8. package/dist/cargo-closure-input.js +14 -11
  9. package/dist/cargo-source-hash.d.ts +23 -4
  10. package/dist/cargo-source-hash.d.ts.map +1 -1
  11. package/dist/cargo-source-hash.js +80 -14
  12. package/dist/cargo-workspace.d.ts +20 -2
  13. package/dist/cargo-workspace.d.ts.map +1 -1
  14. package/dist/cargo-workspace.js +42 -22
  15. package/dist/ensure-built-receipt.d.ts +3 -2
  16. package/dist/ensure-built-receipt.d.ts.map +1 -1
  17. package/dist/ensure-built-receipt.js +3 -2
  18. package/dist/eslint-config-closure.d.ts +8 -3
  19. package/dist/eslint-config-closure.d.ts.map +1 -1
  20. package/dist/eslint-config-closure.js +24 -5
  21. package/dist/executors/bounded-exec/bounds.d.ts +12 -1
  22. package/dist/executors/bounded-exec/bounds.d.ts.map +1 -1
  23. package/dist/executors/bounded-exec/bounds.js +8 -4
  24. package/dist/executors/bounded-exec/cpu-rise.d.ts +73 -0
  25. package/dist/executors/bounded-exec/cpu-rise.d.ts.map +1 -0
  26. package/dist/executors/bounded-exec/cpu-rise.js +111 -0
  27. package/dist/executors/bounded-exec/executor.d.ts +1 -1
  28. package/dist/executors/bounded-exec/executor.d.ts.map +1 -1
  29. package/dist/executors/bounded-exec/executor.js +54 -22
  30. package/dist/executors/bounded-exec/hang-diagnostics.d.ts +8 -0
  31. package/dist/executors/bounded-exec/hang-diagnostics.d.ts.map +1 -1
  32. package/dist/executors/bounded-exec/hang-diagnostics.js +66 -6
  33. package/dist/executors/bounded-exec/mbx-pool.d.ts +16 -2
  34. package/dist/executors/bounded-exec/mbx-pool.d.ts.map +1 -1
  35. package/dist/executors/bounded-exec/mbx-pool.js +18 -2
  36. package/dist/executors/bounded-exec/mbx-reservations.d.ts +5 -2
  37. package/dist/executors/bounded-exec/mbx-reservations.d.ts.map +1 -1
  38. package/dist/executors/bounded-exec/mbx-reservations.js +5 -3
  39. package/dist/executors/bounded-exec/progress-channel.d.ts +38 -0
  40. package/dist/executors/bounded-exec/progress-channel.d.ts.map +1 -0
  41. package/dist/executors/bounded-exec/progress-channel.js +113 -0
  42. package/dist/executors/bounded-exec/progress.d.ts +2 -1
  43. package/dist/executors/bounded-exec/progress.d.ts.map +1 -1
  44. package/dist/executors/bounded-exec/ram-temp.d.ts +24 -1
  45. package/dist/executors/bounded-exec/ram-temp.d.ts.map +1 -1
  46. package/dist/executors/bounded-exec/ram-temp.js +123 -16
  47. package/dist/executors/bounded-exec/schema.d.ts +5 -0
  48. package/dist/executors/bounded-exec/schema.d.ts.map +1 -1
  49. package/dist/executors/bounded-exec/schema.js +17 -1
  50. package/dist/executors/bounded-exec/verdict.d.ts +13 -6
  51. package/dist/executors/bounded-exec/verdict.d.ts.map +1 -1
  52. package/dist/executors/bounded-exec/verdict.js +34 -9
  53. package/dist/index.d.ts.map +1 -1
  54. package/dist/index.js +199 -89
  55. package/dist/managed-files/generator.d.ts +5 -1
  56. package/dist/managed-files/generator.d.ts.map +1 -1
  57. package/dist/managed-files/generator.js +22 -7
  58. package/dist/managed-files/render-memo.d.ts +13 -0
  59. package/dist/managed-files/render-memo.d.ts.map +1 -0
  60. package/dist/managed-files/render-memo.js +94 -0
  61. package/dist/test-program.d.ts +11 -6
  62. package/dist/test-program.d.ts.map +1 -1
  63. package/dist/test-program.js +39 -35
  64. package/dist/tool-bins.d.ts +12 -0
  65. package/dist/tool-bins.d.ts.map +1 -1
  66. package/dist/tool-bins.js +31 -6
  67. package/dist/typecheck-test-policy.d.ts +10 -1
  68. package/dist/typecheck-test-policy.d.ts.map +1 -1
  69. package/dist/typecheck-test-policy.js +40 -24
  70. package/dist/workspace-index.d.ts +14 -1
  71. package/dist/workspace-index.d.ts.map +1 -1
  72. package/dist/workspace-index.js +36 -4
  73. package/managed/raw/patches/nx@24.0.3.patch +703 -119
  74. package/managed/raw/tooling/direnv/developer-links.ts +17 -3
  75. package/managed/templates/github/actions/save-nix-devenv/action.yml +19 -1
  76. package/managed/templates/github/actions/setup-devenv/action.yml +2 -0
  77. package/package.json +3 -2
  78. package/src/bun-lock-scope.ts +293 -40
  79. package/src/cargo-closure-input.ts +19 -11
  80. package/src/cargo-source-hash.ts +103 -13
  81. package/src/cargo-workspace.ts +59 -20
  82. package/src/ensure-built-receipt.ts +3 -2
  83. package/src/eslint-config-closure.ts +27 -6
  84. package/src/executors/bounded-exec/bounds.ts +13 -4
  85. package/src/executors/bounded-exec/cpu-rise.ts +156 -0
  86. package/src/executors/bounded-exec/executor.ts +65 -21
  87. package/src/executors/bounded-exec/hang-diagnostics.ts +88 -6
  88. package/src/executors/bounded-exec/mbx-pool.ts +24 -3
  89. package/src/executors/bounded-exec/mbx-reservations.ts +7 -5
  90. package/src/executors/bounded-exec/progress-channel.ts +129 -0
  91. package/src/executors/bounded-exec/progress.ts +2 -1
  92. package/src/executors/bounded-exec/ram-temp.ts +137 -17
  93. package/src/executors/bounded-exec/schema.ts +19 -0
  94. package/src/executors/bounded-exec/verdict.ts +44 -16
  95. package/src/index.ts +255 -98
  96. package/src/managed-files/generator.ts +21 -6
  97. package/src/managed-files/render-memo.ts +135 -0
  98. package/src/test-program.ts +36 -41
  99. package/src/tool-bins.ts +35 -6
  100. package/src/typecheck-test-policy.ts +49 -24
  101. package/src/workspace-index.ts +40 -5
  102. package/test-timings.json +6 -0
@@ -1,4 +1,11 @@
1
1
  import { type Demand, type ReservedDemand } from './runner-sizing.js';
2
+ /**
3
+ * mbx's pool priorities, as `MBX_SCHEDULER_PRIORITY` and a reservation name them: interactive work's `interactive`,
4
+ * which mbx ranks first and decays as its job ages, a gate's `normal`, every other job's `low` (cowshed's
5
+ * `PoolPriority`).
6
+ */
7
+ export declare const MBX_PRIORITIES: readonly ['interactive', 'normal', 'low'];
8
+ export type MbxPriority = (typeof MBX_PRIORITIES)[number];
2
9
  /**
3
10
  * mbx's machine-wide pool as a leaf runner meets it (specs/cowshed/05_gateway.md, "Host scheduling", "Parallelism inside
4
11
  * a job"). With the mbx capability the canonical environment names the one pool (`MBX_SCHEDULER=1` beside the shared
@@ -6,7 +13,7 @@ import { type Demand, type ReservedDemand } from './runner-sizing.js';
6
13
  * serves a pool of its own beside it.
7
14
  */
8
15
  export interface MbxPool {
9
- readonly priority: 'normal' | 'low';
16
+ readonly priority: MbxPriority;
10
17
  }
11
18
  /**
12
19
  * The pool the environment names, or `null` where the project has no mbx and cowshed's own pools apply unchanged, or
@@ -33,7 +40,7 @@ export type MbxLeaf = {
33
40
  readonly kind: 'cargo';
34
41
  } | {
35
42
  readonly kind: 'reserve';
36
- readonly priority: 'normal' | 'low';
43
+ readonly priority: MbxPriority;
37
44
  readonly demand: ReservedDemand;
38
45
  };
39
46
  /** A leaf mbx's pool reserves for. */
@@ -50,6 +57,13 @@ export declare function runsPrebuiltNextest(command: string): boolean;
50
57
  * cores busy while 25 of its tasks queued a minute or more, and a gate's Go test leaf waited 401 s for all 18 cores.
51
58
  */
52
59
  export declare function mbxLeaf(pool: MbxPool, demand: Demand, command: string): MbxLeaf | null;
60
+ /**
61
+ * Whether a run of `command` under mbx's pool is a Cargo leaf: the one leaf whose admission wait the run reads from
62
+ * mbx's activity report and its waiters' native lineage (mbx-queue.ts; specs/cowshed/11_shell.md, "Cargo test-runner
63
+ * boundaries"), so the only run that loads cowshed's process-lineage entry and its addon. The command alone decides
64
+ * it: the pool's priority, the core count and the environment size a leaf, never its kind.
65
+ */
66
+ export declare function runsAsCargoLeaf(command: string): boolean;
53
67
  /**
54
68
  * Only a known scheduled execution may stop its idle clock at zero holds. Plain Cargo tests can run doctests;
55
69
  * archive-file targets, direct binaries and other runners are not proven scheduled at spawn (11_shell.md,
@@ -1 +1 @@
1
- {"version":3,"file":"mbx-pool.d.ts","sourceRoot":"","sources":["../../../src/executors/bounded-exec/mbx-pool.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,MAAM,EAIX,KAAK,cAAc,EAEpB,MAAM,oBAAoB,CAAC;AAG5B;;;;;GAKG;AACH,MAAM,WAAW,OAAO;IACtB,QAAQ,CAAC,QAAQ,EAAE,QAAQ,GAAG,KAAK,CAAC;CACrC;AAED;;;;;;;GAOG;AACH,wBAAgB,OAAO,CAAC,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,OAAO,GAAG,IAAI,CAKhF;AAED;;;;;;;;;;;GAWG;AACH,MAAM,MAAM,OAAO,GACf;IAAE,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAA;CAAE,GAC1B;IACE,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IACzB,QAAQ,CAAC,QAAQ,EAAE,QAAQ,GAAG,KAAK,CAAC;IACpC,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;CACjC,CAAC;AAEN,sCAAsC;AACtC,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,OAAO,EAAE;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC,CAAC;AAKjE,+FAA+F;AAC/F,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAE5D;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,CAoBtF;AAQD;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,UAAU,CAAC,G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sCAAsC;AACtC,MAAM,MAAM,YAAY,GAAG,OAAO,CAAC,OAAO,EAAE;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,CAAC,CAAC;AAKjE,+FAA+F;AAC/F,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAE5D;AAED;;;;;;GAMG;AACH,wBAAgB,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,CAoBtF;AAED;;;;;GAKG;AACH,wBAAgB,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAExD;AASD;;;;GAIG;AACH,wBAAgB,YAAY,CAAC,IAAI,EAAE,OAAO,GAAG,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,CAAC,MAAM,CAAC,UAAU,CAAC,GAAG,OAAO,CAkDrH;AAED;;;;GAIG;AACH,eAAO,MAAM,YAAY,IAAI,CAAC;AAE9B;;;GAGG;AACH,wBAAgB,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,IAAI,GAAG,MAAM,CAKzE;AAED;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,GAAG,MAAM,CAInG;AAkBD;;;GAGG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAIpE"}
@@ -1,6 +1,12 @@
1
1
  import { shellTokens } from '../../runtime-input-policy.js';
2
- import { CPU_TOKENS_ENV, GRANTED_CPUS_ENV, grantedSizing, invocationSpan, WANT_ENV, } from './runner-sizing.js';
2
+ import { CPU_TOKENS_ENV, GRANTED_CPUS_ENV, grantedSizing, invocationSpan, runnerDemand, WANT_ENV, } from './runner-sizing.js';
3
3
  import { shellQuote } from './verdict.js';
4
+ /**
5
+ * mbx's pool priorities, as `MBX_SCHEDULER_PRIORITY` and a reservation name them: interactive work's `interactive`,
6
+ * which mbx ranks first and decays as its job ages, a gate's `normal`, every other job's `low` (cowshed's
7
+ * `PoolPriority`).
8
+ */
9
+ export const MBX_PRIORITIES = ['interactive', 'normal', 'low'];
4
10
  /**
5
11
  * The pool the environment names, or `null` where the project has no mbx and cowshed's own pools apply unchanged, or
6
12
  * where this run is already inside an mbx reservation: whatever holds one hands its work `MBX_SCHED_DISABLE=1` (a
@@ -13,7 +19,8 @@ export function mbxPool(environment) {
13
19
  if (environment.MBX_SCHEDULER !== '1' || !environment.MBX_CACHE_DIR || environment.MBX_SCHED_DISABLE === '1') {
14
20
  return null;
15
21
  }
16
- return { priority: environment.MBX_SCHEDULER_PRIORITY === 'normal' ? 'normal' : 'low' };
22
+ const named = MBX_PRIORITIES.find((priority) => priority === environment.MBX_SCHEDULER_PRIORITY);
23
+ return { priority: named ?? 'low' };
17
24
  }
18
25
  /** A nextest invocation that runs test binaries already built, from extracted archive metadata or an archive file. */
19
26
  const PREBUILT_NEXTEST = /(?<![\w-])--(?:binaries-metadata|archive-file)(?=[=\s]|$)/;
@@ -49,6 +56,15 @@ export function mbxLeaf(pool, demand, command) {
49
56
  return reserve(demand);
50
57
  }
51
58
  }
59
+ /**
60
+ * Whether a run of `command` under mbx's pool is a Cargo leaf: the one leaf whose admission wait the run reads from
61
+ * mbx's activity report and its waiters' native lineage (mbx-queue.ts; specs/cowshed/11_shell.md, "Cargo test-runner
62
+ * boundaries"), so the only run that loads cowshed's process-lineage entry and its addon. The command alone decides
63
+ * it: the pool's priority, the core count and the environment size a leaf, never its kind.
64
+ */
65
+ export function runsAsCargoLeaf(command) {
66
+ return mbxLeaf({ priority: 'low' }, runnerDemand(command, undefined, 1, {}), command)?.kind === 'cargo';
67
+ }
52
68
  /**
53
69
  * The value an in-place runner gives `--target-dir-remap`: smoo-nx-nextest-binaries' answer, quoted. The plugin infers
54
70
  * the native helper; a repository's own runner may name its script through bun, which prints the same path.
@@ -1,11 +1,14 @@
1
1
  import type { PostTasksExecutionContext, PreTasksExecutionContext } from 'nx/src/project-graph/plugins/public-api.js';
2
+ import { type MbxPriority } from './mbx-pool.js';
2
3
  /**
3
4
  * mbx's reservation endpoint of one Nx run (specs/cowshed/05_gateway.md, "Parallelism inside a job"). A reserved leaf
4
5
  * once ran under its own `mbx reserve`, two mbx processes per task whose dynamic loading alone kept the host's vnode
5
6
  * table recycling. With mbx's pool, the run's `preTasksExecution` starts `mbx reservations <socket>` once and publishes
6
7
  * the socket in `RESERVATIONS_ENV`, which every task inherits; each task's executor asks it for its leaf's cores over
7
8
  * one connection per process (`reserveCores`), and the run's `postTasksExecution` closes the endpoint's standard input,
8
- * which ends it. Admission is `mbx reserve`'s: the same pool, priority and order. A grant lasts until its leaf ends, or
9
+ * which ends it. Nx runs both hooks in the process that runs the tasks, never in a daemon (patches/README.md, "A run's
10
+ * task hooks run in its own process"), so the endpoint is a child of the run and ends with it, whatever becomes of the
11
+ * run's daemon. Admission is `mbx reserve`'s: the same pool, priority and order. A grant lasts until its leaf ends, or
9
12
  * until its connection closes, so an executor that dies gives back what it held.
10
13
  */
11
14
  export declare const RESERVATIONS_ENV = "MBX_RESERVATIONS_SOCKET";
@@ -59,5 +62,5 @@ export interface Reservation {
59
62
  * Ask the endpoint at `socket` for at most `cpus` cores at `priority`, over this process's one connection to it,
60
63
  * opened by its first request and kept while another one may come.
61
64
  */
62
- export declare function reserveCores(socket: string, cpus: number, priority: 'normal' | 'low'): Reservation;
65
+ export declare function reserveCores(socket: string, cpus: number, priority: MbxPriority): Reservation;
63
66
  //# sourceMappingURL=mbx-reservations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mbx-reservations.d.ts","sourceRoot":"","sources":["../../../src/executors/bounded-exec/mbx-reservations.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,MAAM,4CA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C,GAAG,MAAM,CAI3F;AAmBD;;;;GAIG;AACH,wBAAsB,oBAAoB,CACxC,OAAO,EAAE,IAAI,CAAC,wBAAwB,EAAE,IAAI,CAAC,EAC7C,GAAG,GAAE,MAAM,CAAC,UAAwB,GACnC,OAAO,CAAC,IAAI,CAAC,CAef;AAED,6GAA6G;AAC7G,wBAAsB,oBAAoB,CAAC,OAAO,EAAE,IAAI,CAAC,yBAAyB,EAAE,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAYxG;AAsED,wHAAwH;AACxH,MAAM,MAAM,OAAO,GACf;IAAE,QAAQ,CAAC,EAAE,EAAE,IAAI,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,CAAA;CAAE,GAC5E;IAAE,QAAQ,CAAC,EAAE,EAAE,KAAK,CAAC;IAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC;AAEnD,iDAAiD;AACjD,MAAM,WAAW,WAAW;IAC1B,gFAAgF;IAChF,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,OAAO,CAAC,CAAC;IACnC,6FAA6F;IAC7F,OAAO,IAAI,IAAI,CAAC;CACjB;AAgID;;;GAGG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,WAAW,GAAG,WAAW,CAU7F"}
@@ -17,7 +17,9 @@ import { mbxPool } from './mbx-pool.js';
17
17
  * table recycling. With mbx's pool, the run's `preTasksExecution` starts `mbx reservations <socket>` once and publishes
18
18
  * the socket in `RESERVATIONS_ENV`, which every task inherits; each task's executor asks it for its leaf's cores over
19
19
  * one connection per process (`reserveCores`), and the run's `postTasksExecution` closes the endpoint's standard input,
20
- * which ends it. Admission is `mbx reserve`'s: the same pool, priority and order. A grant lasts until its leaf ends, or
20
+ * which ends it. Nx runs both hooks in the process that runs the tasks, never in a daemon (patches/README.md, "A run's
21
+ * task hooks run in its own process"), so the endpoint is a child of the run and ends with it, whatever becomes of the
22
+ * run's daemon. Admission is `mbx reserve`'s: the same pool, priority and order. A grant lasts until its leaf ends, or
21
23
  * until its connection closes, so an executor that dies gives back what it held.
22
24
  */
23
25
  export const RESERVATIONS_ENV = 'MBX_RESERVATIONS_SOCKET';
@@ -153,11 +155,11 @@ const stringifyRequest = (() => {
153
155
  else
154
156
  _throwTypeGuardError_1._throwTypeGuardError({
155
157
  method: "typia.json.createStringify",
156
- expected: "({ type: \"reserve\"; id: Uint; cpus: number & Type<\"uint32\"> & Minimum<1>; priority: \"low\" | \"normal\"; } | { type: \"release\"; id: Uint; })",
158
+ expected: "({ type: \"reserve\"; id: Uint; cpus: number & Type<\"uint32\"> & Minimum<1>; priority: \"interactive\" | \"low\" | \"normal\"; } | { type: \"release\"; id: Uint; })",
157
159
  value: input
158
160
  });
159
161
  })();
160
- const _io0 = input => "reserve" === input.type && _ip0(input) && ("number" === typeof input.cpus && (_isTypeUint32_1._isTypeUint32(input.cpus) && 1 <= input.cpus)) && ("low" === input.priority || "normal" === input.priority);
162
+ const _io0 = input => "reserve" === input.type && _ip0(input) && ("number" === typeof input.cpus && (_isTypeUint32_1._isTypeUint32(input.cpus) && 1 <= input.cpus)) && ("interactive" === input.priority || "low" === input.priority || "normal" === input.priority);
161
163
  const _io1 = input => "release" === input.type && _ip0(input);
162
164
  return input => _su0(input);
163
165
  })();
@@ -0,0 +1,38 @@
1
+ /**
2
+ * A run's progress channel: a running test reports its own forward motion on it, and each record restarts the idle
3
+ * bound as a finished test does (specs/cowshed/08_testing.md, "Integration tests (real substrate)"). An agent harness
4
+ * that enforces its own no-progress bound over what its run does (a span written, a byte of output) reports each
5
+ * movement that check sees, so a long test that keeps moving is not ended because it is the last test still running.
6
+ * CPU is never a record: a compile inside a test reports nothing and is still ended at the bound, where the pre-signal
7
+ * snapshot names it (cpu-rise.ts).
8
+ *
9
+ * The channel is a Unix stream socket the executor serves for one run, in a fresh 0700 directory, and names in the
10
+ * command's environment as {@link PROGRESS_SOCKET_ENV}. Each line a client writes is one record and must be
11
+ * {@link PROGRESS_RECORD}; anything else is a broken reporter, said and failed, never read as progress. A client may
12
+ * write one record per connection or many. The server ends its side when the client ends its own, after every record
13
+ * the client wrote was read, so a client that waits for that end knows its records counted.
14
+ */
15
+ export declare const PROGRESS_SOCKET_ENV = "BOUNDED_EXEC_PROGRESS_SOCKET";
16
+ /** The one record: something the test watches moved. */
17
+ export declare const PROGRESS_RECORD = "moved";
18
+ export interface ProgressChannel {
19
+ /** The socket's path, as the command's environment names it. */
20
+ readonly socket: string;
21
+ /** Ends every connection and removes the socket's directory; the error that left something behind, or null. */
22
+ close(): Promise<string | null>;
23
+ }
24
+ export interface ProgressHandlers {
25
+ /** A record was read. */
26
+ readonly moved: () => void;
27
+ /** A client wrote something that is not a record; its connection is ended. */
28
+ readonly invalid: (detail: string) => void;
29
+ }
30
+ /** Serve one run's progress channel; a channel that cannot be served is the run's refusal, never a silent bound. */
31
+ export declare function serveProgressChannel(handlers: ProgressHandlers): Promise<{
32
+ ok: true;
33
+ channel: ProgressChannel;
34
+ } | {
35
+ ok: false;
36
+ error: string;
37
+ }>;
38
+ //# sourceMappingURL=progress-channel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress-channel.d.ts","sourceRoot":"","sources":["../../../src/executors/bounded-exec/progress-channel.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,mBAAmB,iCAAiC,CAAC;AAClE,wDAAwD;AACxD,eAAO,MAAM,eAAe,UAAU,CAAC;AAOvC,MAAM,WAAW,eAAe;IAC9B,gEAAgE;IAChE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,+GAA+G;IAC/G,KAAK,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,gBAAgB;IAC/B,yBAAyB;IACzB,QAAQ,CAAC,KAAK,EAAE,MAAM,IAAI,CAAC;IAC3B,8EAA8E;IAC9E,QAAQ,CAAC,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CAC5C;AAUD,oHAAoH;AACpH,wBAAsB,oBAAoB,CACxC,QAAQ,EAAE,gBAAgB,GACzB,OAAO,CAAC;IAAE,EAAE,EAAE,IAAI,CAAC;IAAC,OAAO,EAAE,eAAe,CAAA;CAAE,GAAG;IAAE,EAAE,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CA2EhF"}
@@ -0,0 +1,113 @@
1
+ import { rm } from 'node:fs/promises';
2
+ import { createServer } from 'node:net';
3
+ import { join } from 'node:path';
4
+ import { ownedSocketDirectory } from '../../testing.js';
5
+ /**
6
+ * A run's progress channel: a running test reports its own forward motion on it, and each record restarts the idle
7
+ * bound as a finished test does (specs/cowshed/08_testing.md, "Integration tests (real substrate)"). An agent harness
8
+ * that enforces its own no-progress bound over what its run does (a span written, a byte of output) reports each
9
+ * movement that check sees, so a long test that keeps moving is not ended because it is the last test still running.
10
+ * CPU is never a record: a compile inside a test reports nothing and is still ended at the bound, where the pre-signal
11
+ * snapshot names it (cpu-rise.ts).
12
+ *
13
+ * The channel is a Unix stream socket the executor serves for one run, in a fresh 0700 directory, and names in the
14
+ * command's environment as {@link PROGRESS_SOCKET_ENV}. Each line a client writes is one record and must be
15
+ * {@link PROGRESS_RECORD}; anything else is a broken reporter, said and failed, never read as progress. A client may
16
+ * write one record per connection or many. The server ends its side when the client ends its own, after every record
17
+ * the client wrote was read, so a client that waits for that end knows its records counted.
18
+ */
19
+ export const PROGRESS_SOCKET_ENV = 'BOUNDED_EXEC_PROGRESS_SOCKET';
20
+ /** The one record: something the test watches moved. */
21
+ export const PROGRESS_RECORD = 'moved';
22
+ const CHANNEL_DIRECTORY = 'bounded-progress-';
23
+ const CHANNEL_SOCKET = 'p.sock';
24
+ /** How much of a refused line its refusal quotes. */
25
+ const QUOTED_CHARS = 80;
26
+ function describe(error) {
27
+ return error instanceof Error ? error.message : String(error);
28
+ }
29
+ function quoted(line) {
30
+ return JSON.stringify(line.length > QUOTED_CHARS ? `${line.slice(0, QUOTED_CHARS)}…` : line);
31
+ }
32
+ /** Serve one run's progress channel; a channel that cannot be served is the run's refusal, never a silent bound. */
33
+ export async function serveProgressChannel(handlers) {
34
+ let directory;
35
+ try {
36
+ directory = await ownedSocketDirectory(CHANNEL_DIRECTORY, CHANNEL_SOCKET);
37
+ }
38
+ catch (error) {
39
+ return { ok: false, error: `its directory could not be made: ${describe(error)}` };
40
+ }
41
+ const socketPath = join(directory, CHANNEL_SOCKET);
42
+ const clients = new Set();
43
+ const serve = (client) => {
44
+ clients.add(client);
45
+ client.on('close', () => clients.delete(client));
46
+ // A client that dies mid-record (its test was killed) loses that record with its connection; nothing else is read.
47
+ client.on('error', () => { });
48
+ client.setEncoding('utf8');
49
+ let partial = '';
50
+ const refuse = (detail) => {
51
+ partial = '';
52
+ client.destroy();
53
+ handlers.invalid(detail);
54
+ };
55
+ client.on('data', (text) => {
56
+ const lines = (partial + text).split('\n');
57
+ partial = lines.pop() ?? '';
58
+ for (const line of lines) {
59
+ if (line !== PROGRESS_RECORD) {
60
+ refuse(`a progress record is the line ${PROGRESS_RECORD}, not ${quoted(line)}`);
61
+ return;
62
+ }
63
+ handlers.moved();
64
+ }
65
+ // No prefix longer than the record can still become one.
66
+ if (partial.length > PROGRESS_RECORD.length) {
67
+ refuse(`a progress record is the line ${PROGRESS_RECORD}, not ${quoted(partial)}`);
68
+ }
69
+ });
70
+ client.on('end', () => {
71
+ if (partial !== '')
72
+ refuse(`a progress connection ended inside a record: ${quoted(partial)}`);
73
+ });
74
+ };
75
+ const server = createServer(serve);
76
+ // eslint-disable-next-line deadline/no-unbounded-wait -- WHY unbounded: listen is this process's own bind of a path in its fresh directory; the kernel answers it with the listening callback or an error, and no peer takes part
77
+ const listened = await new Promise((settle) => {
78
+ server.once('error', settle);
79
+ server.listen(socketPath, () => {
80
+ server.off('error', settle);
81
+ settle(null);
82
+ });
83
+ });
84
+ const close = async () => {
85
+ const failures = [];
86
+ for (const client of clients)
87
+ client.destroy();
88
+ if (listened === null) {
89
+ // eslint-disable-next-line deadline/no-unbounded-wait -- WHY unbounded: every accepted connection was destroyed just above, so the server closes without waiting on a peer
90
+ const closed = await new Promise((settle) => server.close(settle));
91
+ if (closed !== undefined)
92
+ failures.push(`its socket did not close: ${closed.message}`);
93
+ }
94
+ try {
95
+ await rm(directory, { recursive: true, force: true });
96
+ }
97
+ catch (error) {
98
+ failures.push(`its directory was not removed: ${describe(error)}`);
99
+ }
100
+ return failures.length === 0 ? null : `the progress channel at ${socketPath}: ${failures.join('; ')}`;
101
+ };
102
+ if (listened !== null) {
103
+ const left = await close();
104
+ return {
105
+ ok: false,
106
+ error: `it could not listen at ${socketPath}: ${listened.message}${left === null ? '' : `; ${left}`}`,
107
+ };
108
+ }
109
+ server.on('error', (error) => {
110
+ handlers.invalid(`the progress channel at ${socketPath} failed: ${error.message}`);
111
+ });
112
+ return { ok: true, channel: { socket: socketPath, close } };
113
+ }
@@ -1,7 +1,8 @@
1
1
  import type { NativeTestResult } from './test-result-writer.js';
2
2
  /**
3
3
  * What a run's output says about its forward motion: whether a test finished, and which tests the runner said
4
- * are running and has not said finished. `idleTimeoutMs` re-arms only on a finished test.
4
+ * are running and has not said finished. In the output, `idleTimeoutMs` re-arms only on a finished test; a running test
5
+ * reports its own progress on the run's progress channel instead (progress-channel.ts).
5
6
  *
6
7
  * Output alone is not progress. nextest repeats a `SLOW` line for every test still running at each slow-timeout
7
8
  * period, and a hung test may print a heartbeat, so a bound on silence never fires on either. A finished test is
@@ -1 +1 @@
1
- {"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../../../src/executors/bounded-exec/progress.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAGhE;;;;;;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AAE,CAAC,MAAM,EAAE,gBAAgB,KAAK,IAAI,GAAG,WAAW,CA4LxG;AAED,2FAA2F;AAC3F,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,CAuBtG;AACD;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,CAmB1D"}
@@ -189,6 +189,11 @@ export interface RamTempLease {
189
189
  * another attach, or none, is not this lease's volume: its free space is some other filesystem's.
190
190
  */
191
191
  attach: string;
192
+ /**
193
+ * The I/O Registry entry of the disk that attach is on, which the volume's marker named and the registry proved when
194
+ * the lease was taken: the disk a release of a lease whose volume lost its mount detaches.
195
+ */
196
+ registryEntry: string;
192
197
  }
193
198
  export interface RamUnavailable {
194
199
  readonly kind: 'ram-unavailable';
@@ -321,6 +326,18 @@ export declare class RamTempVolume {
321
326
  */
322
327
  release(lease: RamTempLease, keep: boolean, subtrees: SubtreeOwner): Promise<Result<string[], RamTempError>>;
323
328
  private releaseLease;
329
+ /**
330
+ * Release a lease whose volume went from the mountpoint while its task held it. A volume that lost its mount leaves its
331
+ * disk attached and mounted nowhere: no path reaches its files and no lease can be taken on it, yet its pages stay
332
+ * resident until it is detached (on 2026-11-10 a restart of fseventsd stranded the user's 8 GiB disk so, owned by no
333
+ * lease). The lease's own registry entry, which the registry proved when the lease was taken, makes the disk this
334
+ * volume's: the release detaches it through the gateway's registry-bound `ram-detach`, under a detach claim no other
335
+ * caller passes, and the lease is said lost with what became of its disk. A disk mounted anywhere is left as it is and
336
+ * named, and one already gone is said so; nothing is forced.
337
+ */
338
+ private releaseLost;
339
+ /** The RAM disk of this volume's user and size that registry entry `entry` registers, as one read finds it; else null. */
340
+ private diskOf;
324
341
  /**
325
342
  * Wait out another caller's creation or detach. Liveness of its owner is its pid's, so a crashed
326
343
  * owner whose pid was reused holds every caller here; past each `CLAIM_WAIT_NOTICE_MS` on the same
@@ -408,7 +425,13 @@ export declare class RamTempVolume {
408
425
  * directory, and a task still gone. Any other is left for a fresh look, never removed.
409
426
  */
410
427
  private unchanged;
411
- /** Check the root the volume mounts below, detach what earlier creators left, then attach and provision the volume. */
428
+ /**
429
+ * Check the root the volume mounts below, detach what earlier creators left, then attach and provision the volume. An
430
+ * unmounted mountpoint with contents is never mounted over and its files never touched: the volume is unavailable.
431
+ * Only the disk the ledger records as kept is still detached first, by that registry entry, since a lost mount
432
+ * strands it beside such a directory: tasks that held leases on it may have written there after the loss. With no
433
+ * kept record the refusal inspects nothing on the host.
434
+ */
412
435
  private provisionVolume;
413
436
  /**
414
437
  * Provision the leased disk, record it in the ledger as the kept volume's disk, and keep it once its volume is mounted
@@ -1 +1 @@
1
- {"version":3,"file":"ram-temp.d.ts","sourceRoot":"","sources":["../../../src/executors/bounded-exec/ram-temp.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAe,KAAK,UAAU,EAAgC,MAAM,iBAAiB,CAAC;AAE7F,OAAO,EAEL,KAAK,WAAW,EAEhB,KAAK,gBAAgB,EACrB,KAAK,aAAa,EAClB,KAAK,YAAY,EAClB,MAAM,oBAAoB,CAAC;AAW5B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAqIpD;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,QAA6C,CAAC;AASlF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,KAAK,CAAC;AACvC,8EAA8E;AAC9E,eAAO,MAAM,8BAA8B,QAA2C,CAAC;AAEvF,yFAAyF;AACzF,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAE3E;AAeD;;;GAGG;AACH,eAAO,MAAM,aAAa,IAAI,CAAC;AAQ/B,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MA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GxC;AA2BD,8FAA8F;AAC9F,wBAAgB,WAAW,CACzB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,SAAS,MAAM,EAAE,EACvB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,aAAa,EACvB,aAAa,CAAC,EAAE,MAAM,GACrB;IAAE,IAAI,EAAE,MAAM,EAAE,CAAC;IAAC,QAAQ,EAAE,WAAW,GAAG,cAAc,CAAA;CAAE,GAAG,IAAI,CAenE;AAeD;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CAChC,aAAa,EAAE,MAAM,EACrB,iBAAiB,GAAE,MAAiC,EACpD,WAAW,GAAE,UAA4B,EACzC,OAAO,SAAmD,GACzD,YAAY,CAoDd"}
@@ -485,6 +485,7 @@ export class RamTempVolume {
485
485
  directory: value.directory,
486
486
  mountpoint: this.paths.mountpoint,
487
487
  attach: value.volume.attach,
488
+ registryEntry: value.volume.registryEntry,
488
489
  },
489
490
  held: [...value.held, ...settled.value.held].map((lease) => lease.text),
490
491
  reaped: [...settled.value.reaped],
@@ -519,7 +520,15 @@ export class RamTempVolume {
519
520
  const directory = await this.make(op);
520
521
  return {
521
522
  ledger: next,
522
- value: { ok: true, value: { directory, mountpoint: this.paths.mountpoint, attach: volume.attach } },
523
+ value: {
524
+ ok: true,
525
+ value: {
526
+ directory,
527
+ mountpoint: this.paths.mountpoint,
528
+ attach: volume.attach,
529
+ registryEntry: volume.registryEntry,
530
+ },
531
+ },
523
532
  };
524
533
  });
525
534
  if (!placed.ok) {
@@ -585,7 +594,7 @@ export class RamTempVolume {
585
594
  // A lease that went while its task held it is said, never released as though it were there.
586
595
  const held = leaseOn(lease, volume);
587
596
  if ('lost' in held) {
588
- return { ledger, value: { kind: 'lost', detail: held.lost } };
597
+ return { ledger, value: { kind: 'lost', detail: held.lost, stranded: volume?.attach !== lease.attach } };
589
598
  }
590
599
  if (ledger.lifecycle !== null) {
591
600
  return { ledger, value: { kind: 'wait', claim: ledger.lifecycle } };
@@ -604,7 +613,9 @@ export class RamTempVolume {
604
613
  case 'lost':
605
614
  return {
606
615
  ok: false,
607
- error: { kind: 'lease-lost', lease: lease.directory, mountpoint: lease.mountpoint, detail: value.detail },
616
+ error: value.stranded
617
+ ? await this.releaseLost(op, lease, value.detail)
618
+ : { kind: 'lease-lost', lease: lease.directory, mountpoint: lease.mountpoint, detail: value.detail },
608
619
  };
609
620
  case 'wait': {
610
621
  const yielded = await this.yieldTo(op, value.claim, waited);
@@ -656,6 +667,83 @@ export class RamTempVolume {
656
667
  }
657
668
  }
658
669
  }
670
+ /**
671
+ * Release a lease whose volume went from the mountpoint while its task held it. A volume that lost its mount leaves its
672
+ * disk attached and mounted nowhere: no path reaches its files and no lease can be taken on it, yet its pages stay
673
+ * resident until it is detached (on 2026-11-10 a restart of fseventsd stranded the user's 8 GiB disk so, owned by no
674
+ * lease). The lease's own registry entry, which the registry proved when the lease was taken, makes the disk this
675
+ * volume's: the release detaches it through the gateway's registry-bound `ram-detach`, under a detach claim no other
676
+ * caller passes, and the lease is said lost with what became of its disk. A disk mounted anywhere is left as it is and
677
+ * named, and one already gone is said so; nothing is forced.
678
+ */
679
+ async releaseLost(op, lease, lost) {
680
+ const said = (detail) => ({
681
+ kind: 'lease-lost',
682
+ lease: lease.directory,
683
+ mountpoint: lease.mountpoint,
684
+ detail: `${lost}; ${detail}`,
685
+ });
686
+ const entry = lease.registryEntry;
687
+ let waited = null;
688
+ for (;;) {
689
+ const found = await this.diskOf(entry);
690
+ if (!found.ok)
691
+ return said(`its disk (registry ${entry}) could not be read: ${describeRamTempError(found.error)}`);
692
+ const disk = found.value;
693
+ if (disk === null)
694
+ return said(`its disk (registry ${entry}) is no longer attached`);
695
+ if (disk.mountpoints.length > 0) {
696
+ return said(`its disk ${disk.physical} (registry ${entry}) is mounted at ${disk.mountpoints.join(', ')}, so this release left it attached`);
697
+ }
698
+ const stranded = `its disk ${disk.physical} (registry ${entry}) stayed attached with its mount at ${lease.mountpoint} lost`;
699
+ const taken = await this.locked(op, 'release', async (ledger) => ledger.lifecycle !== null
700
+ ? { ledger, value: ledger.lifecycle }
701
+ : { ledger: { ...ledger, lifecycle: { kind: 'detach', owner: op.owner } }, value: null });
702
+ if (!taken.ok) {
703
+ const why = taken.error.kind === 'lock-denied' ? taken.error.detail : describeRamTempError(taken.error);
704
+ return said(`${stranded}, and no detach claim could be taken: ${why}`);
705
+ }
706
+ if (taken.value !== null) {
707
+ // Another caller is creating or detaching: look at the disk again once it has.
708
+ const yielded = await this.yieldTo(op, taken.value, waited);
709
+ if (!yielded.ok) {
710
+ const why = yielded.error.kind === 'lock-denied' ? yielded.error.detail : describeRamTempError(yielded.error);
711
+ return said(`${stranded}, and waiting on another caller's ${taken.value.kind} failed: ${why}`);
712
+ }
713
+ waited = yielded.value;
714
+ continue;
715
+ }
716
+ const command = await this.runDetach(op, disk.physical, entry);
717
+ if (!command.ok)
718
+ return said(`${stranded}, and its detach failed: ${describeRamTempError(command.error)}`);
719
+ if (command.value.pending !== undefined) {
720
+ return said(`${stranded}; its detach still runs in the gateway (${commandText(command.value)})`);
721
+ }
722
+ const detached = detachOutcome(command.value, disk, 'hdiutil detach (lost mount)');
723
+ return said(detached.ok
724
+ ? `${stranded}, and this release detached it`
725
+ : `${stranded}, and its detach failed: ${describeRamTempError(detached.error)}`);
726
+ }
727
+ }
728
+ /** The RAM disk of this volume's user and size that registry entry `entry` registers, as one read finds it; else null. */
729
+ async diskOf(entry) {
730
+ const registry = await this.commands.run('/usr/sbin/ioreg', ['-r', '-c', 'IOHDIXHDDriveOutKernel', '-l', '-w0']);
731
+ if (registry.status !== 0)
732
+ return failed('ioreg (RAM disks)', commandText(registry));
733
+ const table = await this.commands.run('/sbin/mount', []);
734
+ if (table.status !== 0)
735
+ return failed('mount (mount table)', commandText(table));
736
+ const disks = ramDisksIn(registry.stdout, table.stdout);
737
+ if (!disks.ok)
738
+ return failed('ioreg (RAM disks)', disks.error);
739
+ const disk = disks.value.find((candidate) => candidate.entry === entry && candidate.uid === this.paths.uid && candidate.sectors === this.sectors);
740
+ if (disk === undefined)
741
+ return { ok: true, value: null };
742
+ const { physical } = disk;
743
+ return physical === null
744
+ ? failed('ioreg (RAM disks)', `registry entry ${entry} has published no whole disk`)
745
+ : { ok: true, value: { ...disk, physical } };
746
+ }
659
747
  /**
660
748
  * Wait out another caller's creation or detach. Liveness of its owner is its pid's, so a crashed
661
749
  * owner whose pid was reused holds every caller here; past each `CLAIM_WAIT_NOTICE_MS` on the same
@@ -1310,24 +1398,43 @@ export class RamTempVolume {
1310
1398
  }
1311
1399
  return confirmed;
1312
1400
  }
1313
- /** Check the root the volume mounts below, detach what earlier creators left, then attach and provision the volume. */
1401
+ /**
1402
+ * Check the root the volume mounts below, detach what earlier creators left, then attach and provision the volume. An
1403
+ * unmounted mountpoint with contents is never mounted over and its files never touched: the volume is unavailable.
1404
+ * Only the disk the ledger records as kept is still detached first, by that registry entry, since a lost mount
1405
+ * strands it beside such a directory: tasks that held leases on it may have written there after the loss. With no
1406
+ * kept record the refusal inspects nothing on the host.
1407
+ */
1314
1408
  async provisionVolume(op) {
1409
+ let unowned;
1315
1410
  try {
1316
- const [root, parent] = await Promise.all([stat(this.paths.mountpoint), stat(join(this.paths.mountpoint, '..'))]);
1317
- if (root.dev === parent.dev && (await readdir(this.paths.mountpoint)).length !== 0) {
1318
- return {
1319
- ok: false,
1320
- error: {
1321
- kind: 'ram-unavailable',
1322
- reason: 'unproven-owner',
1323
- detail: `${this.paths.mountpoint} is an unmounted directory with unowned contents; nothing removed or hidden by a new mount`,
1324
- },
1325
- };
1326
- }
1411
+ const [mount, parent] = await Promise.all([stat(this.paths.mountpoint), stat(join(this.paths.mountpoint, '..'))]);
1412
+ unowned = mount.dev === parent.dev && (await readdir(this.paths.mountpoint)).length !== 0;
1327
1413
  }
1328
1414
  catch (error) {
1329
1415
  if (errorCode(error) !== 'ENOENT')
1330
1416
  return failed('provenance', errorText(error));
1417
+ unowned = false;
1418
+ }
1419
+ if (unowned) {
1420
+ const read = await this.readLedger();
1421
+ if (!read.ok) {
1422
+ return read;
1423
+ }
1424
+ if (read.value.ledger.kept !== null) {
1425
+ const strays = await this.reclaimStrays(op, this.holdersPass());
1426
+ if (!strays.ok) {
1427
+ return strays;
1428
+ }
1429
+ }
1430
+ return {
1431
+ ok: false,
1432
+ error: {
1433
+ kind: 'ram-unavailable',
1434
+ reason: 'unproven-owner',
1435
+ detail: `${this.paths.mountpoint} is an unmounted directory with unowned contents; nothing removed or hidden by a new mount`,
1436
+ },
1437
+ };
1331
1438
  }
1332
1439
  const root = await rootReadiness(this.paths);
1333
1440
  if (!root.ok) {
@@ -1747,7 +1854,7 @@ async function removeMountDirectories(directories) {
1747
1854
  function leaseOn(lease, volume) {
1748
1855
  if (volume === null) {
1749
1856
  return {
1750
- lost: `no marked volume is mounted at ${lease.mountpoint} any more: it was detached while the task held its lease`,
1857
+ lost: `no marked volume is mounted at ${lease.mountpoint} any more: it was unmounted or detached while the task held its lease`,
1751
1858
  };
1752
1859
  }
1753
1860
  if (volume.attach !== lease.attach) {
@@ -65,4 +65,9 @@ export interface BoundedExecCommand {
65
65
  args?: string | string[];
66
66
  __unparsed__?: string[];
67
67
  }
68
+ /**
69
+ * The command line a run of `options` starts: `command`, then `args`, then the arguments Nx forwards from its own
70
+ * command line unless `forwardAllArgs` is false. The executor runs it and graph inference reads its runner from it.
71
+ */
72
+ export declare function boundedCommand(options: Pick<BoundedExecCommand, 'command' | 'args' | 'forwardAllArgs' | '__unparsed__'>): string;
68
73
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/executors/bounded-exec/schema.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,GAAG,kBAAkB,GAAG,iBAAiB,CAAC;AAExE,MAAM,MAAM,iBAAiB,GACzB;IAAE,SAAS,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,MA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