@smoothbricks/nx-plugin 0.7.13 → 0.7.15
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 +30 -9
- package/dist/.build-inputs.json +3 -3
- package/dist/executors/bounded-exec/ram-temp.d.ts.map +1 -1
- package/dist/executors/bounded-exec/ram-temp.js +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +35 -10
- package/dist/managed-files/publish-workflow.js +3 -1
- package/managed/templates/github/actions/setup-devenv/action.yml +31 -13
- package/package.json +1 -1
- package/src/executors/bounded-exec/ram-temp.ts +4 -0
- package/src/index.ts +35 -10
- package/src/managed-files/publish-workflow.ts +3 -0
package/README.md
CHANGED
|
@@ -907,9 +907,10 @@ integrity. Nx merges its default plugin's lockfile nodes after every configured
|
|
|
907
907
|
on they would replace these: the plugin refuses the option then, and refuses a name the lockfile installs nowhere
|
|
908
908
|
(`src/built-output-packages.ts`, `src/built-output-packages.test.ts`).
|
|
909
909
|
|
|
910
|
-
The option covers the lockfile only. A manifest that declares a named package's version is still an input
|
|
911
|
-
project's files are; a workspace keeps the version out of member manifests by declaring it once, in the
|
|
912
|
-
`catalog`, and `catalog:` in each member.
|
|
910
|
+
The option covers the lockfile only. A member manifest that declares a named package's version is still an input
|
|
911
|
+
wherever its project's files are; a workspace keeps the version out of member manifests by declaring it once, in the
|
|
912
|
+
root manifest's `catalog`, and `catalog:` in each member. Inferred validation inputs omit the root's install-only pins
|
|
913
|
+
as described below; targets producing shipped artifacts retain the raw manifests.
|
|
913
914
|
|
|
914
915
|
### Manifest versions and validation inputs
|
|
915
916
|
|
|
@@ -918,13 +919,22 @@ files are inputs of `lint`, `typecheck` and `typecheck-tests`, so a publish run
|
|
|
918
919
|
over a change that alters no code. Those three targets therefore leave the raw manifests out of their filesets and hash
|
|
919
920
|
them by field instead: a `json` input with `excludeFields` for `package.json#version`. The lockfile is no file input
|
|
920
921
|
(see Lockfile scope), so the release's rewrite of its `workspaces` mirror re-keys nothing. Nx hashes the field input in
|
|
921
|
-
its native hasher, so this costs no process.
|
|
922
|
+
its native hasher, so this costs no process. A member's dependency range and export map still count, as does every
|
|
922
923
|
locked package the project reaches.
|
|
923
924
|
|
|
924
925
|
The workspace root manifest also drops `scripts`, `smoo` and `nx` from these three targets' hash. No check reads them:
|
|
925
926
|
scripts are commands a developer runs, `smoo.developerLinks` names links whose linked bytes reach a hash only through
|
|
926
|
-
their own inputs, and the root project's `nx` configuration is hashed as that project's configuration.
|
|
927
|
-
|
|
927
|
+
their own inputs, and the root project's `nx` configuration is hashed as that project's configuration. The same root
|
|
928
|
+
field input is used in the root project's versionless named inputs, so its own manifest cannot reintroduce the fields.
|
|
929
|
+
|
|
930
|
+
The root's install-only fields are excluded too: `dependencies`, `devDependencies`, `optionalDependencies`,
|
|
931
|
+
`peerDependencies`, `overrides`, `resolutions`, `patchedDependencies`, `catalog` and `catalogs`, including
|
|
932
|
+
`workspaces.catalog` and `workspaces.catalogs` in the object form. Checks load installed packages, not these pins: the
|
|
933
|
+
bun lock-scope nodes still key those packages, and the patch files still key patch bytes. A pin-only edit therefore
|
|
934
|
+
keeps a check's key; a changed installed dependency still re-keys the tasks that reach it (subject to Built-output
|
|
935
|
+
packages above). Resolution fields such as `type`, `imports` and `exports`, workspace member patterns, and other root
|
|
936
|
+
fields remain hashed: an edit to something a check reads must still miss. Artifact-producing targets retain their raw
|
|
937
|
+
manifest inputs.
|
|
928
938
|
|
|
929
939
|
Crate manifests are the one kind Nx cannot hash by field, because TOML has no such input. The plugin hashes them itself,
|
|
930
940
|
in the process that builds the graph and is already reading them: a single forward scan over the bytes feeds the hasher
|
|
@@ -2381,9 +2391,10 @@ named in the task's error instead. The task finds these disks, and the one it de
|
|
|
2381
2391
|
Registry (an `IOHDIXHDDriveOutKernel` entry per RAM disk, with its size, its owner uid and the `FullName` of each of its
|
|
2382
2392
|
volumes) and their mounts in the mount table, never in `hdiutil info`: measured 2026-10-22, `hdiutil info` left an
|
|
2383
2393
|
attached RAM disk out of 2 of 10 listings while other images attached and detached, and a disk left out would read as
|
|
2384
|
-
absent.
|
|
2385
|
-
|
|
2386
|
-
|
|
2394
|
+
absent. Only registered drive entries count: a departed entry and its retained BSD names authorize no cleanup. A
|
|
2395
|
+
registry read that does not parse whole fails the task instead. A BSD name passes to the next disk once its disk goes,
|
|
2396
|
+
so every RAM detach is gateway-owned and bound to an exact device and registry entry: a provisioning rollback releases
|
|
2397
|
+
its `ram-lease`, or, when a gateway restart lost that lease, sends the typed `ram-detach` every other detach is
|
|
2387
2398
|
(specs/cowshed/05_gateway.md, "RAM disks"). The gateway revalidates that identity inside its own lease before spawning
|
|
2388
2399
|
the native tool. It uses no force; a busy owned staging volume stays in place with its named refusal. A requester or its
|
|
2389
2400
|
job ending cannot kill this protected mutation. Authoritative terminal, proven not-started and unknown outcomes remain
|
|
@@ -2899,6 +2910,16 @@ profile directory containing its Cargo shim before launching real Cargo, so the
|
|
|
2899
2910
|
remain available for declared tools such as the macOS linker (`specs/cowshed/16_build_volumes.md`, "One Cargo
|
|
2900
2911
|
environment on every path").
|
|
2901
2912
|
|
|
2913
|
+
For host CI matrix jobs, pass `cache-scope` to `./.github/actions/setup-devenv`, for example
|
|
2914
|
+
`cache-scope: test-${{ matrix.id }}`. Use the same stable identity in the workflow's push and pull-request legs. A blank
|
|
2915
|
+
input preserves `github.job` and every existing nonmatrix path. The identity isolates Nx artifacts and metadata,
|
|
2916
|
+
devenv/direnv state, the stable work root and Cargo target; it is hashed, not used as a filesystem path. The generated
|
|
2917
|
+
macOS architecture matrix passes `macos-platform-${{ matrix.arch }}`. Task records seed from that same identity in the
|
|
2918
|
+
starting push scope, including when `records-workflow` selects another workflow; an explicit `records-job` selects a
|
|
2919
|
+
different source identity without changing this job's paths. Each scope keeps its own records once measured
|
|
2920
|
+
([CI cache ownership](../../specs/cowshed/10_ci.md#cache-and-setup-ownership-in-the-workflow),
|
|
2921
|
+
[host scheduling](../../specs/cowshed/05_gateway.md#host-scheduling)).
|
|
2922
|
+
|
|
2902
2923
|
### Workflow security and bounded execution
|
|
2903
2924
|
|
|
2904
2925
|
Managed action references use full commit SHAs with their release tags in comments. Read-only jobs explicitly set
|
package/dist/.build-inputs.json
CHANGED
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"packages/nx-plugin/src/executors/bounded-exec/ram-detach.ts": "535d26114d14d0d94db76227ea7ba52b1ae0b590d7dbac22993b6796d255e666",
|
|
67
67
|
"packages/nx-plugin/src/executors/bounded-exec/ram-temp-fixtures.ts": "075da4ecfd1cf7dd98fc8c894599dcf2720faba07ac30b8e5592964178849359",
|
|
68
68
|
"packages/nx-plugin/src/executors/bounded-exec/ram-temp-held.ts": "7c32555bc6dab3f767925b55b68684d33a69393050342d06f055fb81e8e5332b",
|
|
69
|
-
"packages/nx-plugin/src/executors/bounded-exec/ram-temp.ts": "
|
|
69
|
+
"packages/nx-plugin/src/executors/bounded-exec/ram-temp.ts": "0364bc2a92baa3ae7febb7a2920df695cc56fe5956c79adfc7167e489efa78ec",
|
|
70
70
|
"packages/nx-plugin/src/executors/bounded-exec/run-cpu-pool.ts": "17148ca7a51aff54d9cbb01db558a828804b158f46e4d3d85d39449d2b644861",
|
|
71
71
|
"packages/nx-plugin/src/executors/bounded-exec/runner-hook.ts": "606eab5db826e571eb15df618315e01cc773d09fd647beb1c00f6434df58ffad",
|
|
72
72
|
"packages/nx-plugin/src/executors/bounded-exec/runner-lifecycle.ts": "b2a7c901296bb6c139909297bbdbab5bd00e94319c022307d006b0e1293f6454",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"packages/nx-plugin/src/generators/make-public/schema.d.ts": "5e7bd2f1ce16795df4c919d6d53588ea85b574c84400940b6322275f96f60357",
|
|
102
102
|
"packages/nx-plugin/src/go-tests.ts": "8e356b6ee276e6e836c404353b0ffb5ccec5beb261126f167f730e6e01e9c2b6",
|
|
103
103
|
"packages/nx-plugin/src/graph-input-contract.ts": "8a1aec1294960ae80bcff55a0370c95004a911bf1afe6caa47e666da3baeac43",
|
|
104
|
-
"packages/nx-plugin/src/index.ts": "
|
|
104
|
+
"packages/nx-plugin/src/index.ts": "8d021d230250f960beea3dcc7d52c0321839c40ce34e4972104254a4e0b05146",
|
|
105
105
|
"packages/nx-plugin/src/managed-assets.ts": "9cea959c09f3163992e666eecc5a65ec1f1b63c81fc56c5e99088507d02c5e3b",
|
|
106
106
|
"packages/nx-plugin/src/managed-files/ci-workflow.ts": "c48f80cf3b215a8b41fdeb220e653a3a26ee288e833b1bb215f8f15de006e5ae",
|
|
107
107
|
"packages/nx-plugin/src/managed-files/context.ts": "472553c8e15f5bb72f7167ca3f3c5ce5171f479a3cdf2fb4b9f86d1f1addf4bd",
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
"packages/nx-plugin/src/managed-files/paths.ts": "0727cde9a3eea88420290b63cb4c9a3ffab857b39e0411eed3c4ddeb4e563745",
|
|
115
115
|
"packages/nx-plugin/src/managed-files/pr-preview-cleanup-workflow.ts": "0f34805a6d737f364c23801da62aefcd4afdc7ba87e911019dd6301be640b385",
|
|
116
116
|
"packages/nx-plugin/src/managed-files/private-npm-policy.ts": "795882f98b2c2434e7c0115e93a7b4c0da6142ae0602274b362893c49a46d5a7",
|
|
117
|
-
"packages/nx-plugin/src/managed-files/publish-workflow.ts": "
|
|
117
|
+
"packages/nx-plugin/src/managed-files/publish-workflow.ts": "4cb4a8417f09bbdd2aad1e3b5036d6f88c20c62ad64c3163cd0f0134de3e5170",
|
|
118
118
|
"packages/nx-plugin/src/managed-files/tree.ts": "a6b7dc515796a3824199938ce70af7d2b45347ed32064b487f3d5f381509dc54",
|
|
119
119
|
"packages/nx-plugin/src/manifest-hash.ts": "26cb2598853801cf70785386e1847feba7f04780b43809597004b7fb7ecbc2b6",
|
|
120
120
|
"packages/nx-plugin/src/nextest-code-bound.ts": "e1036934a35f1b65e0f43bddbea259e01a1100e553cdeaefc2db8823a4517340",
|
|
@@ -1 +1 @@
|
|
|
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;GAYG;AACH,wBAAgB,kBAAkB,CAChC,aAAa,EAAE,MAAM,EACrB,iBAAiB,GAAE,MAAiC,EACpD,WAAW,GAAE,UAA4B,EACzC,OAAO,SAAmD,GACzD,YAAY,CAoDd"}
|
|
@@ -2051,6 +2051,11 @@ export function ramDisksIn(registry, table) {
|
|
|
2051
2051
|
if (!header.startsWith('+-o ') || entryId === undefined) {
|
|
2052
2052
|
return { ok: false, error: `not an IOHDIXHDDriveOutKernel entry: ${header.slice(0, 160)}` };
|
|
2053
2053
|
}
|
|
2054
|
+
if (/, !registered,/.test(header))
|
|
2055
|
+
continue;
|
|
2056
|
+
if (!/, registered,/.test(header)) {
|
|
2057
|
+
return { ok: false, error: `an entry has no registration state: ${header.slice(0, 160)}` };
|
|
2058
|
+
}
|
|
2054
2059
|
// The entry's own properties end at its first child; only they name its image and owner.
|
|
2055
2060
|
const firstChild = entry.indexOf('+-o ', header.length);
|
|
2056
2061
|
const own = entry.slice(header.length, firstChild === -1 ? undefined : firstChild);
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,cAAc,EAGnB,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EAGtB,KAAK,mBAAmB,EACzB,MAAM,0BAA0B,CAAC;AAqElC,OAAO,EACL,KAAK,uBAAuB,EAG7B,MAAM,wBAAwB,CAAC;AAqBhC,gEAAgE;AAChE,eAAO,MAAM,aAAa,WAAW,CAAC;AACtC,uEAAuE;AACvE,eAAO,MAAM,mBAAmB,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAWA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,cAAc,EAGnB,KAAK,aAAa,EAClB,KAAK,kBAAkB,E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AAC,CAmCxB"}
|
package/dist/index.js
CHANGED
|
@@ -89,17 +89,36 @@ function typecheckTargets(packageJsonPath, packageJson) {
|
|
|
89
89
|
* node and the project's through its `^` input, so a release's rewrite of the
|
|
90
90
|
* lockfile's `workspaces` mirror re-keys nothing.
|
|
91
91
|
*
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
*
|
|
92
|
+
* No check reads the root's scripts, developer-link configuration or Nx
|
|
93
|
+
* configuration; Nx already hashes the resolved project configuration. Nor
|
|
94
|
+
* does a check read install-only dependency ranges, overrides or catalogs:
|
|
95
|
+
* the bun lock-scope nodes key the installed packages they resolve to, and
|
|
96
|
+
* patch files key the patch bytes. Keeping those pins here would re-key every
|
|
97
|
+
* check on a catalog bump even when a built-output package's bytes agree.
|
|
98
|
+
* Resolution fields (type, imports, exports) and workspace member patterns
|
|
99
|
+
* remain inputs; only the catalogs nested beside those patterns are dropped.
|
|
100
100
|
*/
|
|
101
101
|
const VERSIONLESS_TOOLCHAIN_MANIFEST_INPUTS = [
|
|
102
|
-
{
|
|
102
|
+
{
|
|
103
|
+
json: '{workspaceRoot}/package.json',
|
|
104
|
+
excludeFields: [
|
|
105
|
+
'version',
|
|
106
|
+
'scripts',
|
|
107
|
+
'smoo',
|
|
108
|
+
'nx',
|
|
109
|
+
'dependencies',
|
|
110
|
+
'devDependencies',
|
|
111
|
+
'optionalDependencies',
|
|
112
|
+
'peerDependencies',
|
|
113
|
+
'overrides',
|
|
114
|
+
'resolutions',
|
|
115
|
+
'patchedDependencies',
|
|
116
|
+
'catalog',
|
|
117
|
+
'catalogs',
|
|
118
|
+
'workspaces.catalog',
|
|
119
|
+
'workspaces.catalogs',
|
|
120
|
+
],
|
|
121
|
+
},
|
|
103
122
|
];
|
|
104
123
|
/** A path segment Nx's workspace file map never carries, so a fileset naming it hashes nothing. */
|
|
105
124
|
const NODE_MODULES_SEGMENT = /(?:^|\/)node_modules(?:\/|$)/;
|
|
@@ -1301,7 +1320,13 @@ async function createProjectTargets(packageJsonPath, workspaceRoot, hostPlatform
|
|
|
1301
1320
|
const crateInputs = versionless !== null && hasCrateManifests ? await versionlessCrateInputs(projectRoot, workspaceRoot) : [];
|
|
1302
1321
|
const versionlessProjectInputs = versionless === null
|
|
1303
1322
|
? []
|
|
1304
|
-
: [
|
|
1323
|
+
: [
|
|
1324
|
+
...(projectRoot === '.'
|
|
1325
|
+
? ['!{projectRoot}/package.json', ...VERSIONLESS_TOOLCHAIN_MANIFEST_INPUTS]
|
|
1326
|
+
: VERSIONLESS_PACKAGE_INPUTS),
|
|
1327
|
+
...crateInputs,
|
|
1328
|
+
...(projectRoot === '.' ? ROOT_LOCKFILE_EXCLUSIONS : []),
|
|
1329
|
+
];
|
|
1305
1330
|
// The options a TypeScript task's answer really depends on, which is the
|
|
1306
1331
|
// whole `extends` chain of the configs its commands name and not just those
|
|
1307
1332
|
// two files. Resolved once per project: every target below shares it.
|
|
@@ -829,7 +829,9 @@ function renderMacosPlatformSteps(options) {
|
|
|
829
829
|
if (siblingSourceCheckouts.length > 0) {
|
|
830
830
|
lines.push('', ` # Step ${stepNumber++}`, ...siblingSourceCheckouts);
|
|
831
831
|
}
|
|
832
|
-
lines.push('', ` # Step ${stepNumber++}. Composite action internals do not affect top-level job step`, ' # anchors; update these comments if top-level steps move.', ' - name: 🧱 Setup Nix/devenv', ' id: setup', ...setupDevenvUsesLines())
|
|
832
|
+
lines.push('', ` # Step ${stepNumber++}. Composite action internals do not affect top-level job step`, ' # anchors; update these comments if top-level steps move.', ' - name: 🧱 Setup Nix/devenv', ' id: setup', ...setupDevenvUsesLines(), ...(macosPlatformArchitectures(options).length >= 2
|
|
833
|
+
? [` cache-scope: macos-platform-${githubExpression('matrix.arch')}`]
|
|
834
|
+
: []));
|
|
833
835
|
if (isSmoothBricksCodebasePackageName(options.repoName)) {
|
|
834
836
|
lines.push('', ` # Step ${stepNumber++}`, ' - name: 🏗️ Build smoo Nx version actions', ' # Nx Release loads @smoothbricks/nx-plugin/version-actions through the', ' # export map in its own node process, and versioning runs before the', ' # build phase, so the hook must exist in dist first. Downstream', ' # consumers install the published package and skip this bootstrap.', ' #', ' # `nx` cannot do it: the project graph loads this very plugin, so', ' # `nx build nx-plugin` deadlocks on the executor it is building.', ' # ttsc needs only the package tsconfig -- the bootstrap the shell entry', ' # runs (tooling/direnv/enter-shell.ts) -- and emits as the typescript-emit', ' # executor does (EMIT_OVERRIDES), so dist holds no build info.', ' working-directory: packages/nx-plugin', ' run: bun ../../tooling/ttsc-emit.ts');
|
|
835
837
|
}
|
|
@@ -6,6 +6,14 @@ description: >
|
|
|
6
6
|
actions cache: store paths and the Nix database come back as files, so no NAR is imported and no daemon is needed.
|
|
7
7
|
|
|
8
8
|
inputs:
|
|
9
|
+
cache-scope:
|
|
10
|
+
description: >
|
|
11
|
+
The job identity for mutable host caches and stable workspace paths. Set a distinct stable identity per matrix
|
|
12
|
+
leg. Blank means github.job, preserving existing paths. Starting push records use the same identity unless
|
|
13
|
+
records-job names another one. Identities contain only ASCII letters, digits, underscores, dots, slashes and
|
|
14
|
+
hyphens.
|
|
15
|
+
required: false
|
|
16
|
+
default: ''
|
|
9
17
|
records-workflow:
|
|
10
18
|
description: >
|
|
11
19
|
The workflow whose pushes keep the bounded-exec task records this job's scope starts from, for a workflow whose
|
|
@@ -13,7 +21,7 @@ inputs:
|
|
|
13
21
|
required: false
|
|
14
22
|
default: ''
|
|
15
23
|
records-job:
|
|
16
|
-
description: The job of that workflow. Blank means this job.
|
|
24
|
+
description: The job or cache-scope identity of that workflow. Blank means this job's cache scope.
|
|
17
25
|
required: false
|
|
18
26
|
default: ''
|
|
19
27
|
|
|
@@ -115,7 +123,7 @@ runs:
|
|
|
115
123
|
env:
|
|
116
124
|
NX_CACHE_BIND: /var/cache/ci/nx
|
|
117
125
|
NX_CACHE_REPO: ${{ github.repository }}
|
|
118
|
-
|
|
126
|
+
CACHE_SCOPE: ${{ inputs.cache-scope || github.job }}
|
|
119
127
|
SCOPE_REF: ${{ github.event.pull_request.number || github.ref }}
|
|
120
128
|
# A pull request's base branch, whose pushes run under refs/heads/<it>;
|
|
121
129
|
# empty for a push.
|
|
@@ -125,24 +133,24 @@ runs:
|
|
|
125
133
|
RECORDS_WORKFLOW: ${{ inputs.records-workflow }}
|
|
126
134
|
RECORDS_JOB: ${{ inputs.records-job }}
|
|
127
135
|
run: |
|
|
136
|
+
if [[ ! "$CACHE_SCOPE" =~ ^[a-zA-Z0-9_./-]+$ ]]; then
|
|
137
|
+
printf '%s\n' 'cache-scope must be a single-line job or matrix identity (letters, digits, _ . / -)' >&2
|
|
138
|
+
exit 2
|
|
139
|
+
fi
|
|
128
140
|
# A workflow's directory under the shared bind: its name, slugged.
|
|
129
141
|
lane_of() { printf '%s' "$1" | tr '[:upper:]' '[:lower:]' | tr -cs 'a-z0-9._-' '-'; }
|
|
130
|
-
|
|
131
|
-
# The cache root of the run identity SCOPE_REF names.
|
|
142
|
+
# The cache root of workflow $1, job or matrix identity $2, and ref $3.
|
|
132
143
|
scope_root() {
|
|
133
|
-
|
|
144
|
+
lane=$(lane_of "$1")
|
|
145
|
+
scope=$(printf '%s\0%s\0%s\0%s\0%s' "$1" "$3" "$2" "$RUNNER_OS" "$RUNNER_ARCH" | git hash-object --stdin)
|
|
134
146
|
printf '%s' "$NX_CACHE_BIND/$NX_CACHE_REPO/${lane:-default}/$scope"
|
|
135
147
|
}
|
|
136
|
-
NX_CACHE_ROOT=$(scope_root)
|
|
148
|
+
NX_CACHE_ROOT=$(scope_root "$GITHUB_WORKFLOW" "$CACHE_SCOPE" "$SCOPE_REF")
|
|
137
149
|
records="$NX_CACHE_ROOT/workspace-data/bounded-exec"
|
|
138
|
-
# The cache root of the scope that job $2 of workflow $1 runs the pushes to ref $3 in.
|
|
139
|
-
scope_root_of() {
|
|
140
|
-
lane=$(lane_of "$1") GITHUB_WORKFLOW="$1" GITHUB_JOB="$2" SCOPE_REF="$3" scope_root
|
|
141
|
-
}
|
|
142
150
|
from_workflow=${RECORDS_WORKFLOW:-$GITHUB_WORKFLOW}
|
|
143
151
|
from_ref=${BASE_REF:+refs/heads/$BASE_REF}
|
|
144
152
|
from_ref=${from_ref:-$SCOPE_REF}
|
|
145
|
-
from=$(
|
|
153
|
+
from=$(scope_root "$from_workflow" "${RECORDS_JOB:-$CACHE_SCOPE}" "$from_ref")
|
|
146
154
|
if [ "$from" != "$NX_CACHE_ROOT" ]; then
|
|
147
155
|
copied=0
|
|
148
156
|
for verdict in "$from"/workspace-data/bounded-exec/*/verdict.json; do
|
|
@@ -212,10 +220,15 @@ runs:
|
|
|
212
220
|
DEVENV_STATE_REPO: ${{ github.repository }}
|
|
213
221
|
DEVENV_STATE_LANE: ${{ github.workflow }}
|
|
214
222
|
DEVENV_STATE_JOB: ${{ github.job }}
|
|
223
|
+
CACHE_SCOPE: ${{ inputs.cache-scope || github.job }}
|
|
215
224
|
SCOPE_REF: ${{ github.event.pull_request.number || github.ref }}
|
|
216
225
|
run: |
|
|
226
|
+
if [[ ! "$CACHE_SCOPE" =~ ^[a-zA-Z0-9_./-]+$ ]]; then
|
|
227
|
+
printf '%s\n' 'cache-scope must be a single-line job or matrix identity (letters, digits, _ . / -)' >&2
|
|
228
|
+
exit 2
|
|
229
|
+
fi
|
|
217
230
|
lane=$(printf '%s' "$DEVENV_STATE_LANE" | tr '[:upper:]' '[:lower:]' | tr -cs 'a-z0-9._-' '-')
|
|
218
|
-
scope=$(printf '%s\0%s\0%s\0%s\0%s' "$GITHUB_WORKFLOW" "$SCOPE_REF" "$
|
|
231
|
+
scope=$(printf '%s\0%s\0%s\0%s\0%s' "$GITHUB_WORKFLOW" "$SCOPE_REF" "$CACHE_SCOPE" "$RUNNER_OS" "$RUNNER_ARCH" | git hash-object --stdin)
|
|
219
232
|
root="/var/cache/ci/devenv/$DEVENV_STATE_REPO/${lane:-default}/$DEVENV_STATE_JOB/$scope"
|
|
220
233
|
mkdir -p "$root/.devenv" "$root/.direnv"
|
|
221
234
|
rm -rf tooling/direnv/.devenv tooling/direnv/.direnv
|
|
@@ -251,10 +264,15 @@ runs:
|
|
|
251
264
|
CARGO_TARGET_BIND: /var/cache/ci/cargo-target
|
|
252
265
|
CARGO_TARGET_REPO: ${{ github.repository }}
|
|
253
266
|
CARGO_TARGET_LANE: ${{ github.workflow }}
|
|
267
|
+
CACHE_SCOPE: ${{ inputs.cache-scope || github.job }}
|
|
254
268
|
SCOPE_REF: ${{ github.event.pull_request.number || github.ref }}
|
|
255
269
|
run: |
|
|
270
|
+
if [[ ! "$CACHE_SCOPE" =~ ^[a-zA-Z0-9_./-]+$ ]]; then
|
|
271
|
+
printf '%s\n' 'cache-scope must be a single-line job or matrix identity (letters, digits, _ . / -)' >&2
|
|
272
|
+
exit 2
|
|
273
|
+
fi
|
|
256
274
|
lane=$(printf '%s' "$CARGO_TARGET_LANE" | tr '[:upper:]' '[:lower:]' | tr -cs 'a-z0-9._-' '-')
|
|
257
|
-
scope=$(printf '%s\0%s\0%s\0%s\0%s' "$GITHUB_WORKFLOW" "$SCOPE_REF" "$
|
|
275
|
+
scope=$(printf '%s\0%s\0%s\0%s\0%s' "$GITHUB_WORKFLOW" "$SCOPE_REF" "$CACHE_SCOPE" "$RUNNER_OS" "$RUNNER_ARCH" | git hash-object --stdin)
|
|
258
276
|
root="$CARGO_TARGET_BIND/$CARGO_TARGET_REPO/${lane:-default}/$scope"
|
|
259
277
|
target="$DEVENV_WORKDIR/target"
|
|
260
278
|
if mkdir -p "$root" "$target" && sudo mount --bind "$root" "$target"; then
|
package/package.json
CHANGED
|
@@ -2612,6 +2612,10 @@ export function ramDisksIn(registry: string, table: string): Result<RamDisk[], s
|
|
|
2612
2612
|
if (!header.startsWith('+-o ') || entryId === undefined) {
|
|
2613
2613
|
return { ok: false, error: `not an IOHDIXHDDriveOutKernel entry: ${header.slice(0, 160)}` };
|
|
2614
2614
|
}
|
|
2615
|
+
if (/, !registered,/.test(header)) continue;
|
|
2616
|
+
if (!/, registered,/.test(header)) {
|
|
2617
|
+
return { ok: false, error: `an entry has no registration state: ${header.slice(0, 160)}` };
|
|
2618
|
+
}
|
|
2615
2619
|
// The entry's own properties end at its first child; only they name its image and owner.
|
|
2616
2620
|
const firstChild = entry.indexOf('+-o ', header.length);
|
|
2617
2621
|
const own = entry.slice(header.length, firstChild === -1 ? undefined : firstChild);
|
package/src/index.ts
CHANGED
|
@@ -180,17 +180,36 @@ function typecheckTargets(packageJsonPath: string, packageJson: PackageJson): Ty
|
|
|
180
180
|
* node and the project's through its `^` input, so a release's rewrite of the
|
|
181
181
|
* lockfile's `workspaces` mirror re-keys nothing.
|
|
182
182
|
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
*
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
*
|
|
183
|
+
* No check reads the root's scripts, developer-link configuration or Nx
|
|
184
|
+
* configuration; Nx already hashes the resolved project configuration. Nor
|
|
185
|
+
* does a check read install-only dependency ranges, overrides or catalogs:
|
|
186
|
+
* the bun lock-scope nodes key the installed packages they resolve to, and
|
|
187
|
+
* patch files key the patch bytes. Keeping those pins here would re-key every
|
|
188
|
+
* check on a catalog bump even when a built-output package's bytes agree.
|
|
189
|
+
* Resolution fields (type, imports, exports) and workspace member patterns
|
|
190
|
+
* remain inputs; only the catalogs nested beside those patterns are dropped.
|
|
191
191
|
*/
|
|
192
192
|
const VERSIONLESS_TOOLCHAIN_MANIFEST_INPUTS = [
|
|
193
|
-
{
|
|
193
|
+
{
|
|
194
|
+
json: '{workspaceRoot}/package.json',
|
|
195
|
+
excludeFields: [
|
|
196
|
+
'version',
|
|
197
|
+
'scripts',
|
|
198
|
+
'smoo',
|
|
199
|
+
'nx',
|
|
200
|
+
'dependencies',
|
|
201
|
+
'devDependencies',
|
|
202
|
+
'optionalDependencies',
|
|
203
|
+
'peerDependencies',
|
|
204
|
+
'overrides',
|
|
205
|
+
'resolutions',
|
|
206
|
+
'patchedDependencies',
|
|
207
|
+
'catalog',
|
|
208
|
+
'catalogs',
|
|
209
|
+
'workspaces.catalog',
|
|
210
|
+
'workspaces.catalogs',
|
|
211
|
+
],
|
|
212
|
+
},
|
|
194
213
|
];
|
|
195
214
|
|
|
196
215
|
/** A path segment Nx's workspace file map never carries, so a fileset naming it hashes nothing. */
|
|
@@ -1639,7 +1658,13 @@ async function createProjectTargets(
|
|
|
1639
1658
|
const versionlessProjectInputs =
|
|
1640
1659
|
versionless === null
|
|
1641
1660
|
? []
|
|
1642
|
-
: [
|
|
1661
|
+
: [
|
|
1662
|
+
...(projectRoot === '.'
|
|
1663
|
+
? ['!{projectRoot}/package.json', ...VERSIONLESS_TOOLCHAIN_MANIFEST_INPUTS]
|
|
1664
|
+
: VERSIONLESS_PACKAGE_INPUTS),
|
|
1665
|
+
...crateInputs,
|
|
1666
|
+
...(projectRoot === '.' ? ROOT_LOCKFILE_EXCLUSIONS : []),
|
|
1667
|
+
];
|
|
1643
1668
|
// The options a TypeScript task's answer really depends on, which is the
|
|
1644
1669
|
// whole `extends` chain of the configs its commands name and not just those
|
|
1645
1670
|
// two files. Resolved once per project: every target below shares it.
|
|
@@ -1169,6 +1169,9 @@ function renderMacosPlatformSteps(options: PublishWorkflowDefinitionOptions): st
|
|
|
1169
1169
|
' - name: 🧱 Setup Nix/devenv',
|
|
1170
1170
|
' id: setup',
|
|
1171
1171
|
...setupDevenvUsesLines(),
|
|
1172
|
+
...(macosPlatformArchitectures(options).length >= 2
|
|
1173
|
+
? [` cache-scope: macos-platform-${githubExpression('matrix.arch')}`]
|
|
1174
|
+
: []),
|
|
1172
1175
|
);
|
|
1173
1176
|
if (isSmoothBricksCodebasePackageName(options.repoName)) {
|
|
1174
1177
|
lines.push(
|