@smoothbricks/nx-plugin 0.6.1 → 0.6.3-0
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.
- package/README.md +264 -55
- package/dist/.build-inputs.json +21 -15
- package/dist/bin/smoo-nx-publish.d.ts +3 -0
- package/dist/bin/smoo-nx-publish.d.ts.map +1 -0
- package/dist/bin/smoo-nx-publish.js +3 -0
- package/dist/cargo-retention-hook.d.ts +14 -3
- package/dist/cargo-retention-hook.d.ts.map +1 -1
- package/dist/cargo-retention-hook.js +25 -8
- package/dist/eslint-file-set.d.ts +4 -1
- package/dist/eslint-file-set.d.ts.map +1 -1
- package/dist/eslint-sources.d.ts +25 -0
- package/dist/eslint-sources.d.ts.map +1 -0
- package/dist/eslint-sources.js +99 -0
- package/dist/executors/all-verdicts/executor.d.ts +2 -1
- package/dist/executors/all-verdicts/executor.d.ts.map +1 -1
- package/dist/executors/all-verdicts/executor.js +48 -2
- package/dist/executors/all-verdicts/schema.d.ts +13 -0
- package/dist/executors/all-verdicts/schema.d.ts.map +1 -1
- package/dist/executors/all-verdicts/schema.js +7 -0
- package/dist/executors/bounded-exec/bounds.d.ts +57 -8
- package/dist/executors/bounded-exec/bounds.d.ts.map +1 -1
- package/dist/executors/bounded-exec/bounds.js +100 -11
- package/dist/executors/bounded-exec/executor.d.ts +2 -1
- package/dist/executors/bounded-exec/executor.d.ts.map +1 -1
- package/dist/executors/bounded-exec/executor.js +270 -27
- package/dist/executors/bounded-exec/hang-diagnostics.d.ts +2 -0
- package/dist/executors/bounded-exec/hang-diagnostics.d.ts.map +1 -1
- package/dist/executors/bounded-exec/hang-diagnostics.js +27 -3
- package/dist/executors/bounded-exec/mbx-pool.d.ts +20 -3
- package/dist/executors/bounded-exec/mbx-pool.d.ts.map +1 -1
- package/dist/executors/bounded-exec/mbx-pool.js +84 -4
- package/dist/executors/bounded-exec/mbx-queue.d.ts +30 -0
- package/dist/executors/bounded-exec/mbx-queue.d.ts.map +1 -0
- package/dist/executors/bounded-exec/mbx-queue.js +229 -0
- package/dist/executors/bounded-exec/progress.d.ts +9 -2
- package/dist/executors/bounded-exec/progress.d.ts.map +1 -1
- package/dist/executors/bounded-exec/progress.js +148 -22
- package/dist/executors/bounded-exec/test-result-writer.d.ts +30 -0
- package/dist/executors/bounded-exec/test-result-writer.d.ts.map +1 -0
- package/dist/executors/bounded-exec/test-result-writer.js +126 -0
- package/dist/executors/bounded-exec/test-results.d.ts +33 -0
- package/dist/executors/bounded-exec/test-results.d.ts.map +1 -0
- package/dist/executors/bounded-exec/test-results.js +33 -0
- package/dist/executors/bounded-exec/verdict.d.ts +20 -2
- package/dist/executors/bounded-exec/verdict.d.ts.map +1 -1
- package/dist/executors/bounded-exec/verdict.js +102 -4
- package/dist/index.d.ts +3 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +67 -65
- package/dist/managed-files/files.d.ts.map +1 -1
- package/dist/managed-files/files.js +6 -0
- package/dist/nx-publish.d.ts +24 -0
- package/dist/nx-publish.d.ts.map +1 -0
- package/dist/nx-publish.js +150 -0
- package/dist/runtime-input-policy.d.ts +14 -0
- package/dist/runtime-input-policy.d.ts.map +1 -1
- package/dist/runtime-input-policy.js +1 -1
- package/dist/tool-bins.d.ts +6 -8
- package/dist/tool-bins.d.ts.map +1 -1
- package/dist/tool-bins.js +7 -5
- package/dist/workspace-index.d.ts +7 -0
- package/dist/workspace-index.d.ts.map +1 -1
- package/dist/workspace-index.js +11 -0
- package/executors.json +1 -1
- package/managed/raw/envrc +15 -0
- package/managed/raw/patches/ttsc@0.34.1.patch +75 -0
- package/managed/raw/tooling/devenv +1 -2
- package/managed/raw/tooling/direnv/developer-links.ts +15 -1
- package/managed/raw/tooling/direnv/devenv.smoo.nix +45 -13
- package/managed/raw/tooling/direnv/github-actions-bootstrap.sh +20 -10
- package/managed/raw/tooling/direnv/linked-snapshots.ts +50 -13
- package/managed/raw/tooling/direnv/setup-environment.ts +36 -9
- package/managed/raw/tooling/direnv/ttsc-env.sh +8 -6
- package/managed/raw/tooling/git-hooks/pre-push.sh +4 -1
- package/managed/raw/tooling/git-reword-commit +151 -0
- package/managed/templates/github/actions/cache-node-modules/action.yml +1 -1
- package/managed/templates/github/actions/cache-ttsc-plugins/action.yml +12 -11
- package/package.json +226 -10
- package/runtime/nx-publish/cache_adapter.js +45 -0
- package/runtime/nx-publish/nx_publish.js +60 -0
- package/runtime-input.sh +12 -3
- package/src/bin/smoo-nx-publish.ts +4 -0
- package/src/cargo-retention-hook.ts +28 -11
- package/src/eslint-file-set.ts +4 -1
- package/src/eslint-sources.ts +134 -0
- package/src/executors/all-verdicts/executor.ts +58 -3
- package/src/executors/all-verdicts/schema.json +4 -0
- package/src/executors/all-verdicts/schema.ts +14 -0
- package/src/executors/bounded-exec/bounds.ts +132 -15
- package/src/executors/bounded-exec/executor.ts +303 -27
- package/src/executors/bounded-exec/hang-diagnostics.ts +31 -3
- package/src/executors/bounded-exec/mbx-pool.ts +82 -5
- package/src/executors/bounded-exec/mbx-queue.ts +170 -0
- package/src/executors/bounded-exec/progress.ts +168 -15
- package/src/executors/bounded-exec/test-result-writer.ts +152 -0
- package/src/executors/bounded-exec/test-results.ts +39 -0
- package/src/executors/bounded-exec/verdict.ts +108 -5
- package/src/index.ts +74 -70
- package/src/managed-files/files.ts +6 -0
- package/src/nx-publish.ts +157 -0
- package/src/runtime-input-policy.ts +1 -1
- package/src/tool-bins.ts +13 -9
- package/src/workspace-index.ts +12 -0
- package/test-timings.json +8 -2
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
// Accepted-task publication for declared gates (specs/cowshed/05_gateway.md, "Publication").
|
|
2
|
+
// Capture each successful Nx invocation before another overwrites run.json; publish the captured lists only after
|
|
3
|
+
// the entire gate passes. Ordinary shed clients remain read-only.
|
|
4
|
+
|
|
5
|
+
import { spawn } from 'node:child_process';
|
|
6
|
+
import { readFileSync } from 'node:fs';
|
|
7
|
+
import { isAbsolute, join } from 'node:path';
|
|
8
|
+
import { fileURLToPath } from 'node:url';
|
|
9
|
+
|
|
10
|
+
const USAGE = 'usage: smoo-nx-publish hashes RUN_JSON SINCE_EPOCH | publish CHECKOUT HASHES_JSON\n';
|
|
11
|
+
|
|
12
|
+
/** A task hash as the gateway's cache route takes it (05_gateway.md). */
|
|
13
|
+
const TASK_HASH = /^[A-Za-z0-9_-]{1,128}$/;
|
|
14
|
+
|
|
15
|
+
// One cached producer copies the unchanged canonical cowshed scripts outside the TypeScript output tree.
|
|
16
|
+
const PUBLISH_ASSETS = fileURLToPath(new URL('../runtime/nx-publish/', import.meta.url));
|
|
17
|
+
|
|
18
|
+
/** A refusal says why: a malformed summary or hash list is never guessed at. */
|
|
19
|
+
export type HashList =
|
|
20
|
+
| { readonly kind: 'hashes'; readonly hashes: readonly string[] }
|
|
21
|
+
| { readonly kind: 'refused'; readonly why: string };
|
|
22
|
+
|
|
23
|
+
const refusal = (why: string): HashList => ({ kind: 'refused', why });
|
|
24
|
+
|
|
25
|
+
function errorMessage(error: unknown): string {
|
|
26
|
+
return error instanceof Error ? error.message : String(error);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export function isRecord(value: unknown): value is Record<string, unknown> {
|
|
30
|
+
return typeof value === 'object' && value !== null && !Array.isArray(value);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function isTaskHash(value: unknown): value is string {
|
|
34
|
+
return typeof value === 'string' && TASK_HASH.test(value);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Why a run summary's `run` is not of the invocation that began at `since` (epoch milliseconds), or undefined when it
|
|
39
|
+
* is. A summary Nx began before the gate is an earlier invocation's: its tasks are not the gate's.
|
|
40
|
+
*/
|
|
41
|
+
export function staleSummary(run: Record<string, unknown>, since: number): string | undefined {
|
|
42
|
+
const started = run.startTime;
|
|
43
|
+
const startedAt = typeof started === 'string' ? Date.parse(started) : Number.NaN;
|
|
44
|
+
if (Number.isNaN(startedAt)) return `the run summary has no start time: ${JSON.stringify(started)}`;
|
|
45
|
+
if (startedAt >= since) return undefined;
|
|
46
|
+
return `the run summary is of an invocation that began at ${started}, before this gate began at ${new Date(since).toISOString()}`;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* The distinct hashes of the run's succeeded tasks (status 0), in run order, from a summary Nx began at or after
|
|
51
|
+
* `since` (epoch milliseconds). Every task must be well formed, failed or not.
|
|
52
|
+
*/
|
|
53
|
+
export function succeededHashes(since: number, summaryJson: string): HashList {
|
|
54
|
+
let summary: unknown;
|
|
55
|
+
try {
|
|
56
|
+
summary = JSON.parse(summaryJson);
|
|
57
|
+
} catch (error) {
|
|
58
|
+
return refusal(`the run summary is not JSON: ${errorMessage(error)}`);
|
|
59
|
+
}
|
|
60
|
+
if (!isRecord(summary) || !isRecord(summary.run) || !Array.isArray(summary.tasks)) {
|
|
61
|
+
return refusal('the run summary has no run object or no tasks array');
|
|
62
|
+
}
|
|
63
|
+
const stale = staleSummary(summary.run, since);
|
|
64
|
+
if (stale !== undefined) return refusal(stale);
|
|
65
|
+
const tasks: readonly unknown[] = summary.tasks;
|
|
66
|
+
const hashes = new Set<string>();
|
|
67
|
+
for (const task of tasks) {
|
|
68
|
+
if (!isRecord(task) || typeof task.status !== 'number') {
|
|
69
|
+
return refusal(`the run summary has a task without a numeric status: ${JSON.stringify(task)}`);
|
|
70
|
+
}
|
|
71
|
+
if (!isTaskHash(task.hash)) {
|
|
72
|
+
return refusal(`the run summary has an invalid task hash: ${JSON.stringify(task.hash)}`);
|
|
73
|
+
}
|
|
74
|
+
if (task.status === 0) hashes.add(task.hash);
|
|
75
|
+
}
|
|
76
|
+
return { kind: 'hashes', hashes: [...hashes] };
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/** The hash list 'hashes' printed: a JSON array of distinct, well-formed task hashes. 'publish' checks it before spawning. */
|
|
80
|
+
export function hashList(text: string): HashList {
|
|
81
|
+
let value: unknown;
|
|
82
|
+
try {
|
|
83
|
+
value = JSON.parse(text);
|
|
84
|
+
} catch (error) {
|
|
85
|
+
return refusal(`the hash list is not JSON: ${errorMessage(error)}`);
|
|
86
|
+
}
|
|
87
|
+
if (!Array.isArray(value) || !value.every(isTaskHash)) {
|
|
88
|
+
return refusal('the hash list is not a JSON array of valid task hashes');
|
|
89
|
+
}
|
|
90
|
+
if (new Set(value).size !== value.length) return refusal('the hash list repeats a task hash');
|
|
91
|
+
return { kind: 'hashes', hashes: value };
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/** cache_adapter.js first: it defines the cache nx_publish.js calls. Both go to 'node -' as one program. */
|
|
95
|
+
function bridgeProgram(): string {
|
|
96
|
+
const adapter = readFileSync(join(PUBLISH_ASSETS, 'cache_adapter.js'), 'utf8');
|
|
97
|
+
const publisher = readFileSync(join(PUBLISH_ASSETS, 'nx_publish.js'), 'utf8');
|
|
98
|
+
return `${adapter}\n${publisher}`;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
/** Runs the bridge as 'node - ARGS' with the program on stdin. Its stderr is ours; its stdout comes back. */
|
|
102
|
+
function runBridge(args: readonly string[]): Promise<{ readonly status: number; readonly stdout: string }> {
|
|
103
|
+
// Read before spawning: a read that threw after the spawn would leave node waiting on a stdin that never closes.
|
|
104
|
+
const program = bridgeProgram();
|
|
105
|
+
// eslint-disable-next-line deadline/no-unbounded-wait -- WHY unbounded: the accepted-result archive command lasts as long as its work; node close/error settles this wait, and the operator's interrupt or the enclosing cowshed job or test-runner lifecycle ends a hung one (05_gateway.md, "Deadlines", "Enforcement")
|
|
106
|
+
return new Promise((resolve, reject) => {
|
|
107
|
+
const child = spawn('node', ['-', ...args], { stdio: ['pipe', 'pipe', 'inherit'] });
|
|
108
|
+
let stdout = '';
|
|
109
|
+
child.stdout.setEncoding('utf8');
|
|
110
|
+
child.stdout.on('data', (chunk: string) => {
|
|
111
|
+
stdout += chunk;
|
|
112
|
+
});
|
|
113
|
+
child.on('error', reject);
|
|
114
|
+
child.on('close', (status, signal) => {
|
|
115
|
+
if (status === null) reject(new Error(`node ended by signal ${String(signal)}`));
|
|
116
|
+
else resolve({ status, stdout });
|
|
117
|
+
});
|
|
118
|
+
child.stdin.on('error', reject);
|
|
119
|
+
child.stdin.end(program);
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
function fail(why: string): number {
|
|
124
|
+
process.stderr.write(`smoo-nx-publish: ${why}\n`);
|
|
125
|
+
return 1;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
async function main(argv: readonly string[]): Promise<number> {
|
|
129
|
+
const [verb, first, second] = argv;
|
|
130
|
+
if (verb === 'hashes' && argv.length === 3 && first !== undefined && second !== undefined) {
|
|
131
|
+
const since = Number(second);
|
|
132
|
+
if (!Number.isInteger(since)) return fail(`SINCE must be whole epoch seconds, not ${second}`);
|
|
133
|
+
const result = succeededHashes(since * 1000, readFileSync(first, 'utf8'));
|
|
134
|
+
if (result.kind === 'refused') return fail(result.why);
|
|
135
|
+
process.stdout.write(`${JSON.stringify(result.hashes)}\n`);
|
|
136
|
+
return 0;
|
|
137
|
+
}
|
|
138
|
+
if (verb === 'publish' && argv.length === 3 && first !== undefined && second !== undefined) {
|
|
139
|
+
if (!isAbsolute(first)) return fail(`the checkout must be an absolute path, not ${first}`);
|
|
140
|
+
const list = hashList(readFileSync(second, 'utf8'));
|
|
141
|
+
if (list.kind === 'refused') return fail(list.why);
|
|
142
|
+
const bridge = await runBridge([first, JSON.stringify(list.hashes)]);
|
|
143
|
+
process.stdout.write(bridge.stdout);
|
|
144
|
+
return bridge.status;
|
|
145
|
+
}
|
|
146
|
+
process.stderr.write(USAGE);
|
|
147
|
+
return 64;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/** Run the packaged publisher, returning a failure status and diagnostic for operational refusals. */
|
|
151
|
+
export async function runNxPublish(argv: readonly string[]): Promise<number> {
|
|
152
|
+
try {
|
|
153
|
+
return await main(argv);
|
|
154
|
+
} catch (error) {
|
|
155
|
+
return fail(errorMessage(error));
|
|
156
|
+
}
|
|
157
|
+
}
|
|
@@ -107,7 +107,7 @@ function closingBracket(text: string, from: number, open: string, close: string)
|
|
|
107
107
|
* The shell tokens of `script`. A command substitution is part of its word, and the programs it runs are appended to
|
|
108
108
|
* `nested`; quoting is removed from the words, which are only inspected, never run.
|
|
109
109
|
*/
|
|
110
|
-
function shellTokens(script: string, nested: string[]): Token[] {
|
|
110
|
+
export function shellTokens(script: string, nested: string[]): Token[] {
|
|
111
111
|
const tokens: Token[] = [];
|
|
112
112
|
let word: string | undefined;
|
|
113
113
|
const flush = (): void => {
|
package/src/tool-bins.ts
CHANGED
|
@@ -23,18 +23,16 @@ function toolCommand(cwd: string, tool: string, file: string): string {
|
|
|
23
23
|
return `${posix.join(posix.relative(cwd, '.'), PLUGIN_LINK)}/../${tool}/${file}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
/** The tool packages whose
|
|
27
|
-
const NATIVE_TOOL_PACKAGES = ['build-inputs', 'cargo-retain', 'nextest-extract'] as const;
|
|
26
|
+
/** The tool packages whose native artifacts inferred commands consume. */
|
|
27
|
+
const NATIVE_TOOL_PACKAGES = ['build-inputs', 'cargo-retain', 'nextest-extract', 'cowshed'] as const;
|
|
28
28
|
|
|
29
29
|
export type NativeToolPackage = (typeof NATIVE_TOOL_PACKAGES)[number];
|
|
30
30
|
|
|
31
31
|
type TargetDependency = NonNullable<TargetConfiguration['dependsOn']>[number];
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
* that is a project of the workspace being inferred (a checkout of the repository that builds it) has only what its
|
|
37
|
-
* `scriptc-<arch>-<family>` target last wrote, so a command running it depends on that target.
|
|
34
|
+
* Native tools as the inferring host consumes them. Installed packages already ship their artifacts; a workspace
|
|
35
|
+
* package needs its declared producer. Scriptc tools use the host platform target, cowshed its napi-native addon.
|
|
38
36
|
*/
|
|
39
37
|
export interface NativeTools {
|
|
40
38
|
/** The host's directory under a tool package's `dist/bin`. */
|
|
@@ -101,8 +99,14 @@ export function nativeToolCommand(
|
|
|
101
99
|
return toolCommand(cwd, tool, `dist/bin/${tools.platform}/${bin}`);
|
|
102
100
|
}
|
|
103
101
|
|
|
104
|
-
/** The task
|
|
105
|
-
export function nativeToolDependsOn(
|
|
102
|
+
/** The task producing a tool artifact, only when this workspace owns its package. */
|
|
103
|
+
export function nativeToolDependsOn(
|
|
104
|
+
tools: NativeTools | null,
|
|
105
|
+
tool: NativeToolPackage,
|
|
106
|
+
target?: string,
|
|
107
|
+
): TargetDependency[] {
|
|
106
108
|
const project = tools?.projects.get(tool);
|
|
107
|
-
return project === undefined || tools === null
|
|
109
|
+
return project === undefined || tools === null
|
|
110
|
+
? []
|
|
111
|
+
: [{ projects: [project], target: target ?? (tool === 'cowshed' ? 'napi-native' : tools.target) }];
|
|
108
112
|
}
|
package/src/workspace-index.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import native from 'nx/src/native/index.js';
|
|
2
|
+
import { workspaceDataDirectoryForWorkspace } from 'nx/src/utils/cache-directory.js';
|
|
1
3
|
import { globWithWorkspaceContext, globWithWorkspaceContextSync } from 'nx/src/utils/workspace-context.js';
|
|
2
4
|
import { workspaceRoot as daemonWorkspaceRoot } from 'nx/src/utils/workspace-root.js';
|
|
3
5
|
|
|
@@ -16,3 +18,13 @@ export async function globIndexedFiles(workspaceRoot: string, globs: string[]):
|
|
|
16
18
|
? globWithWorkspaceContext(workspaceRoot, globs)
|
|
17
19
|
: globWithWorkspaceContextSync(workspaceRoot, globs);
|
|
18
20
|
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Like {@link globIndexedFiles}, read from the filesystem now: a new native context, the same walk and the same ignore
|
|
24
|
+
* rules, never the table of this process or of the daemon. A table only learns of a write when a watcher event reaches
|
|
25
|
+
* it, so one the watcher missed leaves a deleted file listed and an added one unlisted until that process ends. What
|
|
26
|
+
* runs on the files as they are asks here; what describes a graph asks {@link globIndexedFiles}.
|
|
27
|
+
*/
|
|
28
|
+
export function freshIndexedFiles(workspaceRoot: string, globs: string[]): string[] {
|
|
29
|
+
return new native.WorkspaceContext(workspaceRoot, workspaceDataDirectoryForWorkspace(workspaceRoot)).glob(globs);
|
|
30
|
+
}
|
package/test-timings.json
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"src/ensure-built.test.ts": 63589,
|
|
6
6
|
"src/owned-installation.test.ts": 52150,
|
|
7
7
|
"src/nx-daemon-validity.test.ts": 50650,
|
|
8
|
+
"src/executors/bounded-exec/mbx-queue.test.ts": 45955,
|
|
8
9
|
"src/executors/bounded-exec/cargo-progress-host.test.ts": 38973,
|
|
9
10
|
"src/cargo-resolve-cache.test.ts": 35830,
|
|
10
11
|
"src/executors/bounded-exec/executor.test.ts": 27061,
|
|
@@ -13,8 +14,10 @@
|
|
|
13
14
|
"src/linked-snapshots.nx.test.ts": 17751,
|
|
14
15
|
"src/cargo-retention.test.ts": 17431,
|
|
15
16
|
"src/cargo-source-hash.test.ts": 16020,
|
|
17
|
+
"src/executors/bounded-exec/progress.test.ts": 13261,
|
|
16
18
|
"src/process-group.test.ts": 11471,
|
|
17
19
|
"src/cargo-closure-input.test.ts": 11140,
|
|
20
|
+
"src/managed-files/devenv-wrapper.test.ts": 10173,
|
|
18
21
|
"src/nx-dot-input-policy.test.ts": 8998,
|
|
19
22
|
"src/nx-daemon-claim.test.ts": 8514,
|
|
20
23
|
"src/task-results.test.ts": 8194,
|
|
@@ -36,6 +39,7 @@
|
|
|
36
39
|
"src/nx-daemon-watch-filter.test.ts": 2746,
|
|
37
40
|
"src/nx-cache-restore-mtime.test.ts": 2727,
|
|
38
41
|
"src/nx-remote-cache-outage.test.ts": 2659,
|
|
42
|
+
"src/executors/bounded-exec/test-results-run.test.ts": 2373,
|
|
39
43
|
"src/serial-group-wiring.test.ts": 2245,
|
|
40
44
|
"src/task-history-namespace.test.ts": 2160,
|
|
41
45
|
"src/nx-skipped-task-exit.test.ts": 2119,
|
|
@@ -53,13 +57,13 @@
|
|
|
53
57
|
"src/test-walk-policy.test.ts": 1330,
|
|
54
58
|
"src/cargo-build-script-env.test.ts": 1286,
|
|
55
59
|
"src/nextest-code-bound.test.ts": 1178,
|
|
60
|
+
"src/executors/all-verdicts/executor.test.ts": 1171,
|
|
56
61
|
"src/nx-foreign-workspace-env.test.ts": 1117,
|
|
57
62
|
"src/bin/smoo-nx-bound-failures.test.ts": 1046,
|
|
58
63
|
"src/typescript-resolution.test.ts": 1001,
|
|
59
64
|
"src/testing.test.ts": 900,
|
|
60
65
|
"src/cargo-child-kill.test.ts": 867,
|
|
61
66
|
"src/nx-resident-graph-workers.test.ts": 778,
|
|
62
|
-
"src/executors/all-verdicts/executor.test.ts": 735,
|
|
63
67
|
"src/nx-failure-life-cycles.test.ts": 689,
|
|
64
68
|
"src/nx-incomplete-run-summary.test.ts": 667,
|
|
65
69
|
"src/nx-critical-path-schedule.test.ts": 662,
|
|
@@ -78,6 +82,7 @@
|
|
|
78
82
|
"src/executors/scriptc-native/executor.test.ts": 362,
|
|
79
83
|
"src/ensure-built-witness.test.ts": 361,
|
|
80
84
|
"src/executors/bounded-exec/hang-diagnostics.test.ts": 347,
|
|
85
|
+
"src/eslint-sources.test.ts": 326,
|
|
81
86
|
"src/nx-daemon-root-normalization.test.ts": 307,
|
|
82
87
|
"src/executors/bounded-exec/runtime-pin.test.ts": 136,
|
|
83
88
|
"src/test-timings.test.ts": 135,
|
|
@@ -94,6 +99,7 @@
|
|
|
94
99
|
"src/workspace-config-policy.test.ts": 80,
|
|
95
100
|
"src/nx-state-location.test.ts": 57,
|
|
96
101
|
"src/manifest-hash.test.ts": 53,
|
|
102
|
+
"src/executors/bounded-exec/test-results.test.ts": 48,
|
|
97
103
|
"src/wait-why-policy.test.ts": 40,
|
|
98
104
|
"src/executors/bounded-exec/ram-provenance.test.ts": 38,
|
|
99
105
|
"src/executors/bounded-exec/run-cpu-pool.test.ts": 38,
|
|
@@ -121,10 +127,10 @@
|
|
|
121
127
|
"src/nx-run-information.test.ts": 9,
|
|
122
128
|
"src/nx-task-graph-cycles.test.ts": 8,
|
|
123
129
|
"src/bun-file-packages.test.ts": 7,
|
|
124
|
-
"src/executors/bounded-exec/progress.test.ts": 7,
|
|
125
130
|
"src/executors/bounded-exec/ram-fixture.test.ts": 6,
|
|
126
131
|
"src/executors/bounded-exec/runner-lifecycle.test.ts": 6,
|
|
127
132
|
"src/executors/bounded-exec/runner-sizing.test.ts": 6,
|
|
133
|
+
"src/cargo-retention-hook.test.ts": 5,
|
|
128
134
|
"src/executors/bounded-exec/mbx-pool.test.ts": 5,
|
|
129
135
|
"src/executors/bounded-exec/owned-subtree.test.ts": 5,
|
|
130
136
|
"src/executors/bounded-exec/bounds.test.ts": 3
|