@ship.zone/runner 2.1.0 → 4.0.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/.smartconfig.json +118 -3
- package/changelog.md +101 -0
- package/dist_rust/runnerworkspace_linux_amd64_musl +0 -0
- package/dist_rust/runnerworkspace_linux_amd64_musl.third-party-notices.json +679 -0
- package/dist_rust/runnerworkspace_linux_amd64_musl.third-party-notices.txt +15719 -0
- package/dist_rust/runnerworkspace_linux_amd64_musl.tsrust-build.json +5 -5
- package/dist_rust/runnerworkspace_linux_arm64_musl +0 -0
- package/dist_rust/runnerworkspace_linux_arm64_musl.third-party-notices.json +679 -0
- package/dist_rust/runnerworkspace_linux_arm64_musl.third-party-notices.txt +15719 -0
- package/dist_rust/runnerworkspace_linux_arm64_musl.tsrust-build.json +5 -5
- package/dist_ts/00_commitinfo_data.d.ts +8 -0
- package/dist_ts/00_commitinfo_data.js +9 -0
- package/dist_ts/api-client.d.ts +47 -0
- package/dist_ts/api-client.js +600 -0
- package/dist_ts/artifact-manager.d.ts +11 -0
- package/dist_ts/artifact-manager.js +140 -0
- package/dist_ts/attempt-state.d.ts +18 -0
- package/dist_ts/attempt-state.js +151 -0
- package/dist_ts/cache-manager.d.ts +13 -0
- package/dist_ts/cache-manager.js +300 -0
- package/dist_ts/cli-entry.d.ts +2 -0
- package/dist_ts/cli-entry.js +18 -0
- package/dist_ts/cli.d.ts +14 -0
- package/dist_ts/cli.js +243 -0
- package/dist_ts/config.d.ts +8 -0
- package/dist_ts/config.js +495 -0
- package/dist_ts/egress-proxy.d.ts +99 -0
- package/dist_ts/egress-proxy.js +607 -0
- package/dist_ts/errors.d.ts +41 -0
- package/dist_ts/errors.js +90 -0
- package/dist_ts/filesystem.d.ts +73 -0
- package/dist_ts/filesystem.js +207 -0
- package/dist_ts/index.d.ts +20 -0
- package/dist_ts/index.js +21 -0
- package/dist_ts/interfaces.d.ts +685 -0
- package/dist_ts/interfaces.js +3 -0
- package/dist_ts/log-sender.d.ts +26 -0
- package/dist_ts/log-sender.js +124 -0
- package/dist_ts/microvm-executor.d.ts +90 -0
- package/dist_ts/microvm-executor.js +1045 -0
- package/dist_ts/node-version.d.ts +11 -0
- package/dist_ts/node-version.js +43 -0
- package/dist_ts/npm-grants.d.ts +9 -0
- package/dist_ts/npm-grants.js +44 -0
- package/dist_ts/oci-registry.d.ts +73 -0
- package/dist_ts/oci-registry.js +508 -0
- package/dist_ts/plugins.d.ts +23 -0
- package/dist_ts/plugins.js +27 -0
- package/dist_ts/protocol-validator.d.ts +39 -0
- package/dist_ts/protocol-validator.js +488 -0
- package/dist_ts/redactor.d.ts +78 -0
- package/dist_ts/redactor.js +235 -0
- package/dist_ts/registration-state.d.ts +16 -0
- package/dist_ts/registration-state.js +171 -0
- package/dist_ts/runner.d.ts +65 -0
- package/dist_ts/runner.js +912 -0
- package/dist_ts/source-workspace.d.ts +10 -0
- package/dist_ts/source-workspace.js +125 -0
- package/dist_ts/spec-version.d.ts +11 -0
- package/dist_ts/spec-version.js +41 -0
- package/dist_ts/staging-scavenger.d.ts +7 -0
- package/dist_ts/staging-scavenger.js +63 -0
- package/dist_ts/state-owner.d.ts +74 -0
- package/dist_ts/state-owner.js +291 -0
- package/dist_ts/transfer-archive.d.ts +78 -0
- package/dist_ts/transfer-archive.js +1619 -0
- package/dist_ts/validation.d.ts +11 -0
- package/dist_ts/validation.js +79 -0
- package/dist_ts/vsock-protocol.d.ts +130 -0
- package/dist_ts/vsock-protocol.js +336 -0
- package/dist_ts/wire-schema.d.ts +10 -0
- package/dist_ts/wire-schema.js +114 -0
- package/native-notices/crates/bitflags-2.13.1/license-apache +201 -0
- package/native-notices/crates/bitflags-2.13.1/license-mit +25 -0
- package/native-notices/crates/cc-1.8.0/license-apache +201 -0
- package/native-notices/crates/cc-1.8.0/license-mit +25 -0
- package/native-notices/crates/cfg-if-1.0.4/license-apache +201 -0
- package/native-notices/crates/cfg-if-1.0.4/license-mit +25 -0
- package/native-notices/crates/cfg_aliases-0.2.2/license +9 -0
- package/native-notices/crates/cfg_aliases-0.2.2/notices.md +26 -0
- package/native-notices/crates/find-msvc-tools-0.1.14/license-apache +201 -0
- package/native-notices/crates/find-msvc-tools-0.1.14/license-mit +25 -0
- package/native-notices/crates/itoa-1.0.18/license-apache +176 -0
- package/native-notices/crates/itoa-1.0.18/license-mit +23 -0
- package/native-notices/crates/libc-0.2.189/license-apache +176 -0
- package/native-notices/crates/libc-0.2.189/license-mit +25 -0
- package/native-notices/crates/memchr-2.8.3/copying +3 -0
- package/native-notices/crates/memchr-2.8.3/license-mit +21 -0
- package/native-notices/crates/memchr-2.8.3/unlicense +24 -0
- package/native-notices/crates/nix-0.30.1/license +21 -0
- package/native-notices/crates/proc-macro2-1.0.107/license-apache +176 -0
- package/native-notices/crates/proc-macro2-1.0.107/license-mit +23 -0
- package/native-notices/crates/quote-1.0.47/license-apache +176 -0
- package/native-notices/crates/quote-1.0.47/license-mit +23 -0
- package/native-notices/crates/serde-1.0.229/license-apache +176 -0
- package/native-notices/crates/serde-1.0.229/license-mit +23 -0
- package/native-notices/crates/serde_core-1.0.229/license-apache +176 -0
- package/native-notices/crates/serde_core-1.0.229/license-mit +23 -0
- package/native-notices/crates/serde_derive-1.0.229/license-apache +176 -0
- package/native-notices/crates/serde_derive-1.0.229/license-mit +23 -0
- package/native-notices/crates/serde_json-1.0.151/license-apache +176 -0
- package/native-notices/crates/serde_json-1.0.151/license-mit +23 -0
- package/native-notices/crates/shlex-2.0.1/license-apache +13 -0
- package/native-notices/crates/shlex-2.0.1/license-mit +21 -0
- package/native-notices/crates/syn-3.0.3/license-apache +176 -0
- package/native-notices/crates/syn-3.0.3/license-mit +23 -0
- package/native-notices/crates/tikv-jemalloc-sys-0.7.1+5.3.1-0-g81034ce1f1373e37dc865038e1bc8eeecf559ce8/license-apache +201 -0
- package/native-notices/crates/tikv-jemalloc-sys-0.7.1+5.3.1-0-g81034ce1f1373e37dc865038e1bc8eeecf559ce8/license-mit +25 -0
- package/native-notices/crates/tikv-jemallocator-0.7.0/license-apache +201 -0
- package/native-notices/crates/tikv-jemallocator-0.7.0/license-mit +25 -0
- package/native-notices/crates/unicode-ident-1.0.24/license-apache +176 -0
- package/native-notices/crates/unicode-ident-1.0.24/license-mit +23 -0
- package/native-notices/crates/unicode-ident-1.0.24/license-unicode +39 -0
- package/native-notices/crates/zmij-1.0.23/license-mit +23 -0
- package/native-notices/manifest.json +763 -0
- package/native-notices/native/tikv-jemalloc-sys-0.7.1+5.3.1-0-g81034ce1f1373e37dc865038e1bc8eeecf559ce8/jemalloc-5.3.1/jemalloc-copying +27 -0
- package/native-notices/readme.md +46 -0
- package/native-notices/runtime/gcc/gpl-3.0.txt +674 -0
- package/native-notices/runtime/gcc/runtime-library-exception-3.1.txt +73 -0
- package/native-notices/runtime/libunwind-22.1.2/license.txt +311 -0
- package/native-notices/runtime/musl-1.2.5/copyright +193 -0
- package/native-notices/rust/compiler-builtins-license.txt +275 -0
- package/native-notices/rust/copyright-library.html +8266 -0
- package/native-notices/rust/crates/addr2line-0.25.1/license-apache +201 -0
- package/native-notices/rust/crates/addr2line-0.25.1/license-mit +25 -0
- package/native-notices/rust/crates/adler2-2.0.1/license-0bsd +12 -0
- package/native-notices/rust/crates/adler2-2.0.1/license-apache +201 -0
- package/native-notices/rust/crates/adler2-2.0.1/license-mit +23 -0
- package/native-notices/rust/crates/memchr-2.7.6/copying +3 -0
- package/native-notices/rust/crates/memchr-2.7.6/license-mit +21 -0
- package/native-notices/rust/crates/memchr-2.7.6/unlicense +24 -0
- package/native-notices/rust/crates/miniz_oxide-0.8.9/license +25 -0
- package/native-notices/rust/crates/miniz_oxide-0.8.9/license-apache.md +177 -0
- package/native-notices/rust/crates/miniz_oxide-0.8.9/license-mit.md +24 -0
- package/native-notices/rust/crates/miniz_oxide-0.8.9/license-zlib.md +14 -0
- package/native-notices/rust/crates/object-0.37.3/license-apache +201 -0
- package/native-notices/rust/crates/object-0.37.3/license-mit +25 -0
- package/native-notices/rust/licenses/apache-2.0.txt +73 -0
- package/native-notices/rust/licenses/bsd-2-clause.txt +9 -0
- package/native-notices/rust/licenses/cc-by-sa-4.0.txt +427 -0
- package/native-notices/rust/licenses/gcc-exception-3.1.txt +30 -0
- package/native-notices/rust/licenses/gpl-2.0-only.txt +133 -0
- package/native-notices/rust/licenses/gpl-3.0-or-later.txt +202 -0
- package/native-notices/rust/licenses/isc.txt +7 -0
- package/native-notices/rust/licenses/llvm-exception.txt +15 -0
- package/native-notices/rust/licenses/mit.txt +9 -0
- package/native-notices/rust/licenses/ncsa.txt +29 -0
- package/native-notices/rust/licenses/ofl-1.1.txt +43 -0
- package/native-notices/rust/licenses/unicode-3.0.txt +39 -0
- package/package.json +31 -26
- package/readme.md +157 -95
- package/rust/.cargo/config.toml +1 -1
- package/rust/Cargo.lock +1 -0
- package/rust/Cargo.toml +3 -2
- package/rust/src/cpio.rs +147 -0
- package/rust/src/extfs.rs +747 -0
- package/rust/src/guest.rs +2411 -0
- package/rust/src/lib.rs +197 -1
- package/rust/src/main.rs +7 -2
- package/rust/src/oci_tar.rs +842 -0
- package/rust-toolchain.toml +4 -0
- package/ts/00_commitinfo_data.ts +2 -2
- package/ts/api-client.ts +29 -8
- package/ts/artifact-manager.ts +9 -7
- package/ts/attempt-state.ts +75 -84
- package/ts/cache-manager.ts +22 -28
- package/ts/cli-entry.ts +17 -0
- package/ts/cli.ts +86 -53
- package/ts/config.ts +146 -62
- package/ts/egress-proxy.ts +649 -0
- package/ts/errors.ts +19 -0
- package/ts/filesystem.ts +316 -0
- package/ts/index.ts +20 -15
- package/ts/interfaces.ts +105 -23
- package/ts/log-sender.ts +4 -4
- package/ts/microvm-executor.ts +1265 -0
- package/ts/node-version.ts +49 -0
- package/ts/npm-grants.ts +49 -0
- package/ts/oci-registry.ts +649 -0
- package/ts/plugins.ts +25 -3
- package/ts/protocol-validator.ts +34 -30
- package/ts/redactor.ts +2 -2
- package/ts/registration-state.ts +82 -90
- package/ts/runner.ts +81 -34
- package/ts/source-workspace.ts +11 -8
- package/ts/spec-version.ts +2 -2
- package/ts/staging-scavenger.ts +37 -26
- package/ts/state-owner.ts +353 -0
- package/ts/transfer-archive.ts +214 -243
- package/ts/validation.ts +1 -1
- package/ts/vsock-protocol.ts +437 -0
- package/ts/wire-schema.ts +3 -3
- package/deno.json +0 -56
- package/deno.lock +0 -1495
- package/dist_npm/mod.d.ts +0 -967
- package/dist_npm/mod.js +0 -10058
- package/mod.ts +0 -8
- package/musl-copyright.md +0 -81
- package/third-party-licenses.md +0 -187
- package/ts/oci-executor.ts +0 -3137
package/.smartconfig.json
CHANGED
|
@@ -6,10 +6,28 @@
|
|
|
6
6
|
"githost": "code.foss.global",
|
|
7
7
|
"gitscope": "ship.zone",
|
|
8
8
|
"gitrepo": "runner",
|
|
9
|
-
"description": "The
|
|
9
|
+
"description": "The Firecracker microVM OCI job runner for ship.zone CI/CD",
|
|
10
10
|
"npmPackagename": "@ship.zone/runner",
|
|
11
11
|
"license": "MIT"
|
|
12
12
|
},
|
|
13
|
+
"packageFiles": {
|
|
14
|
+
"sets": [
|
|
15
|
+
"source",
|
|
16
|
+
"config",
|
|
17
|
+
"docs"
|
|
18
|
+
],
|
|
19
|
+
"include": [
|
|
20
|
+
"changelog.md",
|
|
21
|
+
"dist_ts/**/*",
|
|
22
|
+
"dist_rust/**/*",
|
|
23
|
+
"native-notices/**/*",
|
|
24
|
+
"rust/Cargo.lock",
|
|
25
|
+
"rust/Cargo.toml",
|
|
26
|
+
"rust/.cargo/config.toml",
|
|
27
|
+
"rust/src/**/*",
|
|
28
|
+
"rust-toolchain.toml"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
13
31
|
"release": {
|
|
14
32
|
"confirmation": "prompt",
|
|
15
33
|
"preflight": {
|
|
@@ -40,10 +58,107 @@
|
|
|
40
58
|
"patterns": []
|
|
41
59
|
}
|
|
42
60
|
}
|
|
61
|
+
},
|
|
62
|
+
"assets": {
|
|
63
|
+
"schemaVersion": 1,
|
|
64
|
+
"kind": "binaryCli",
|
|
65
|
+
"cliName": "ship-zone-runner",
|
|
66
|
+
"displayName": "ship.zone runner",
|
|
67
|
+
"repository": {
|
|
68
|
+
"host": "code.foss.global",
|
|
69
|
+
"path": "ship.zone/runner",
|
|
70
|
+
"branch": "main"
|
|
71
|
+
},
|
|
72
|
+
"installer": {
|
|
73
|
+
"enabled": true,
|
|
74
|
+
"installDir": "/opt/ship-zone-runner",
|
|
75
|
+
"binDir": "/usr/local/bin",
|
|
76
|
+
"modes": {
|
|
77
|
+
"default": "binary"
|
|
78
|
+
},
|
|
79
|
+
"service": {
|
|
80
|
+
"detectNames": [
|
|
81
|
+
"ship-zone-runner"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"successHints": [
|
|
85
|
+
"ship-zone-runner --version",
|
|
86
|
+
"ship-zone-runner help"
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
"npmWrapper": {
|
|
90
|
+
"enabled": false
|
|
91
|
+
},
|
|
92
|
+
"releaseWorkflow": {
|
|
93
|
+
"compileCommand": "pnpm run build:binary"
|
|
94
|
+
}
|
|
43
95
|
}
|
|
44
96
|
},
|
|
45
97
|
"@git.zone/tsrust": {
|
|
46
|
-
"targets": [
|
|
47
|
-
|
|
98
|
+
"targets": [
|
|
99
|
+
"linux_amd64_musl",
|
|
100
|
+
"linux_arm64_musl"
|
|
101
|
+
],
|
|
102
|
+
"static": true,
|
|
103
|
+
"notices": {
|
|
104
|
+
"directory": "native-notices"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"@git.zone/tsbundle": {
|
|
108
|
+
"bundles": [
|
|
109
|
+
{
|
|
110
|
+
"from": "./ts/cli-entry.ts",
|
|
111
|
+
"to": "./dist/sea/ship-zone-runner.mjs",
|
|
112
|
+
"bundler": "esbuild",
|
|
113
|
+
"platform": "node",
|
|
114
|
+
"sea": true,
|
|
115
|
+
"production": true
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
},
|
|
119
|
+
"@git.zone/tssea": {
|
|
120
|
+
"nodeVersion": "26.11.1",
|
|
121
|
+
"bundle": "./dist/sea/ship-zone-runner.mjs",
|
|
122
|
+
"outDir": "./dist/binaries",
|
|
123
|
+
"targets": [
|
|
124
|
+
{
|
|
125
|
+
"target": "linux-x64",
|
|
126
|
+
"name": "ship-zone-runner-linux-x64"
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"target": "linux-arm64",
|
|
130
|
+
"name": "ship-zone-runner-linux-arm64"
|
|
131
|
+
}
|
|
132
|
+
],
|
|
133
|
+
"execArgv": [
|
|
134
|
+
"--use-system-ca"
|
|
135
|
+
],
|
|
136
|
+
"trees": {
|
|
137
|
+
"helper": {
|
|
138
|
+
"from": {
|
|
139
|
+
"linux-x64": "./dist_rust/runnerworkspace_linux_amd64_musl",
|
|
140
|
+
"linux-arm64": "./dist_rust/runnerworkspace_linux_arm64_musl"
|
|
141
|
+
},
|
|
142
|
+
"path": "runnerworkspace"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"sidecars": {
|
|
146
|
+
"runnerworkspace": {
|
|
147
|
+
"tree": "helper",
|
|
148
|
+
"path": "runnerworkspace"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
"smoke": {
|
|
152
|
+
"args": [
|
|
153
|
+
"--version"
|
|
154
|
+
],
|
|
155
|
+
"expectExitCode": 0,
|
|
156
|
+
"expectStdoutPattern": "^\\d+\\.\\d+\\.\\d+$",
|
|
157
|
+
"cleanEnv": true,
|
|
158
|
+
"emulate": true,
|
|
159
|
+
"env": {
|
|
160
|
+
"QEMU_LD_PREFIX": "/usr/aarch64-linux-gnu"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
48
163
|
}
|
|
49
164
|
}
|
package/changelog.md
CHANGED
|
@@ -1,5 +1,106 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-12-02 - 4.0.0
|
|
4
|
+
|
|
5
|
+
### Breaking Changes
|
|
6
|
+
|
|
7
|
+
- replace host Docker/Podman execution with direct Firecracker microVMs via `@push.rocks/smartvm` (runtime)
|
|
8
|
+
- No host Docker or Podman daemon is required or supported. Every attempt runs inside a dedicated
|
|
9
|
+
Firecracker microVM booted with a pinned Linux kernel and static Rust `runnerworkspace` guest
|
|
10
|
+
PID 1 agent over vsock.
|
|
11
|
+
- Replaced `OciExecutor` with `MicroVmExecutor`; removed Docker/Podman runtime configuration and
|
|
12
|
+
container-isolation acceptance. The runner now advertises `microvm` isolation only.
|
|
13
|
+
- CLI `init` replaces runtime endpoint flags with `--kernel-path`, `--profile workload|builder`,
|
|
14
|
+
`--builder-rootfs-path`, `--allow-egress`, and `--egress-blocked-cidr`.
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
- pull digest-pinned Linux OCI images directly via OCI Distribution v2 and pack layers into
|
|
19
|
+
deterministic read-only ext2 rootfs images with content-addressed host caching (oci-registry)
|
|
20
|
+
- add `vm` execution profile with ephemeral writable overlayfs over the read-only OCI rootfs and
|
|
21
|
+
cgroup v2 process cleanup between steps (microvm)
|
|
22
|
+
- add dedicated `builder` runner profile (`--profile builder`, advertising only `oci-image`) with
|
|
23
|
+
BuildKit (`buildctl`) execution inside a Firecracker microVM, source-policy digest pinning,
|
|
24
|
+
scoped secrets/auth, attestations disabled, digest-only push, and `PUT .../image` recording (builder)
|
|
25
|
+
- add opt-in host-enforced `egress` allowlist proxy (`--allow-egress`) implementing DNS `A`/`AAAA`
|
|
26
|
+
allowlisting, private/link-local/custom CIDR blocking, TTL bindings, TLS SNI on 443, and HTTP
|
|
27
|
+
`Host` on 80 (network)
|
|
28
|
+
- add `image-pull-grants`, `candidate-bindings`, and `npm-read-grants` lease features with exact
|
|
29
|
+
registry/repository grant matching, redirect refusal, attempt-private grant cache, and read-only
|
|
30
|
+
guest `.npmrc` delivery (grants)
|
|
31
|
+
|
|
32
|
+
### Fixes
|
|
33
|
+
|
|
34
|
+
- refuse a Node.js release older than the `engines.node` minimum at CLI startup (cli)
|
|
35
|
+
- `ship-zone-runner` prints `The runner needs Node.js 26.1.0 or later, and this is Node.js <version>`
|
|
36
|
+
and exits with code 1 before the CLI's modules load, instead of failing deep inside with "did not
|
|
37
|
+
report its fragment size". The minimum is read from `package.json` `engines.node`, which the
|
|
38
|
+
executables' bundle inlines.
|
|
39
|
+
- report a failure to resolve the embedded workspace helper of a single executable as a `RunnerError`
|
|
40
|
+
whose message carries the `@push.rocks/smartsea` error text and whose `cause` is that error (state)
|
|
41
|
+
- generate the package `files` list from `@git.zone/cli.packageFiles` in `.smartconfig.json`, so
|
|
42
|
+
`gitzone format` keeps `native-notices/`, the Rust sources and `changelog.md` in the package; the
|
|
43
|
+
packed file list is unchanged (package)
|
|
44
|
+
- drop the stale `dist_npm/` entry from `.gitignore` (repo)
|
|
45
|
+
|
|
46
|
+
## 2026-10-15 - 3.0.0
|
|
47
|
+
|
|
48
|
+
### Breaking Changes
|
|
49
|
+
|
|
50
|
+
- run on Node.js 26.1 or later instead of Deno (runtime)
|
|
51
|
+
- The package compiles to `dist_ts/` with `@git.zone/tsbuild`; `deno.json`, `deno.lock`, `mod.ts`
|
|
52
|
+
and the `jsr:@std/*` imports are gone, and every module dependency goes through `ts/plugins.ts`.
|
|
53
|
+
- Subprocesses run through `node:child_process` with an explicit environment and SIGTERM-then-SIGKILL
|
|
54
|
+
termination; staging capacity reads `fs.statfs` with the fragment size `frsize` (Node.js 26.1+)
|
|
55
|
+
instead of running `/usr/bin/stat`.
|
|
56
|
+
- Streamed artifact and cache uploads use the global `fetch` half-duplex (`duplex: 'half'`), as
|
|
57
|
+
Node.js requires for a stream request body.
|
|
58
|
+
- The CLI entry is `ts/cli-entry.ts`; its usage text names the `ship-zone-runner` executable.
|
|
59
|
+
- one runner per state directory (state)
|
|
60
|
+
- The runner takes an exclusive kernel `flock` on `<state>/.runner-owner.lock` through its own helper
|
|
61
|
+
(`runnerworkspace own-state`) before it touches the state directory; a second runner on the same
|
|
62
|
+
directory stops at once with `RunnerStateOwnedElsewhereError` (helper exit code 3), and losing the
|
|
63
|
+
helper stops the runner with `RunnerStateOwnershipLostError`. Many runners per host remain supported.
|
|
64
|
+
- `OciExecutor`, `AttemptStateStore`, `RegistrationStateStore`, `scavengeRunnerStaging` and
|
|
65
|
+
`ShipRunner` (`stateOwner` dependency) take a `RunnerStateOwner`; `registerRunnerDurably` requires
|
|
66
|
+
its `stateStore`.
|
|
67
|
+
- The 2.x advisory `.workspace-helper.lock` file is removed and no longer used.
|
|
68
|
+
- Staging is scavenged first, right after ownership is taken and before runtime verification.
|
|
69
|
+
- `ITransferArchiveFileOperations` uses Node.js shapes: `openRead` returns a `FileHandle`,
|
|
70
|
+
`makeTempFile`/`remove` take `IMakeTempOptions`/`IRemoveOptions` (transfer)
|
|
71
|
+
- the npm `bin` `ship-zone-runner` runs `dist_ts/cli-entry.js` with Node.js instead of the Deno bundle
|
|
72
|
+
`dist_npm/mod.js` (cli)
|
|
73
|
+
- `pnpm build` checks that the entry is built and starts with `#!/usr/bin/env node`
|
|
74
|
+
(`scripts/verify-npm-entrypoint.ts`).
|
|
75
|
+
- the package exports only `.` (`dist_ts/index.js`, types `dist_ts/index.d.ts`); the `./mod.js`
|
|
76
|
+
subpath and the `dist_npm/` bundle are removed (exports)
|
|
77
|
+
|
|
78
|
+
### Features
|
|
79
|
+
|
|
80
|
+
- ship the runner as Node.js 26.11.1 single executables for Linux x64 and arm64 (release)
|
|
81
|
+
- `pnpm run build:binary` bundles `ts/cli-entry.ts` with `@git.zone/tsbundle` and builds
|
|
82
|
+
`ship-zone-runner-linux-x64` and `ship-zone-runner-linux-arm64` with `@git.zone/tssea`; each
|
|
83
|
+
embeds the static workspace helper of its architecture as the sidecar `runnerworkspace`, which
|
|
84
|
+
the runner reads through `@push.rocks/smartsea`, and comes with its third-party notices.
|
|
85
|
+
- A `v*` tag runs `.gitea/workflows/release.yml`, which uploads the executables, their notices,
|
|
86
|
+
`install.sh` and `SHA256SUMS.txt` as release assets.
|
|
87
|
+
- `curl -fsSL https://code.foss.global/ship.zone/runner/releases/download/latest/install.sh | sudo bash`
|
|
88
|
+
installs the executable to `/opt/ship-zone-runner` and links `/usr/local/bin/ship-zone-runner`;
|
|
89
|
+
it leaves configuration and state where the runner keeps them.
|
|
90
|
+
- `ship-zone-runner --version` prints the version, like `version`.
|
|
91
|
+
|
|
92
|
+
### Maintenance
|
|
93
|
+
|
|
94
|
+
- tooling: `@git.zone/tsrust` 4.6, pnpm 12.10.1
|
|
95
|
+
- generated native notices replace the hand-kept legal files (legal)
|
|
96
|
+
- `tsrust notices` writes `native-notices/` (Rust crates, jemalloc, the Rust standard library,
|
|
97
|
+
musl, libunwind and the GCC runtime), which the package ships and every build checks;
|
|
98
|
+
`third-party-licenses.md` and `musl-copyright.md` are removed.
|
|
99
|
+
- `rust-toolchain.toml` pins Rust 1.95.0 with `rust-src` and both musl targets, and the aarch64
|
|
100
|
+
musl linker is `aarch64-linux-musl-gcc`.
|
|
101
|
+
- CI builds, type checks and tests on Node.js 26 in `ht-docker-node` (ci)
|
|
102
|
+
- tests run on `@git.zone/tstest` 8 as `test/test.*.node.ts`; the build uses `@git.zone/tsbuild` 6 with `@types/node` 26
|
|
103
|
+
|
|
3
104
|
## 2026-10-13 - 2.1.0
|
|
4
105
|
|
|
5
106
|
### Features
|
|
Binary file
|