@ship.zone/runner 1.1.0 → 2.1.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 +2 -1
- package/changelog.md +40 -0
- package/deno.json +13 -13
- package/deno.lock +227 -494
- package/dist_npm/mod.d.ts +3 -12
- package/dist_npm/mod.js +40 -64
- package/dist_rust/runnerworkspace_linux_amd64_musl +0 -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.tsrust-build.json +5 -5
- package/package.json +4 -3
- package/readme.md +14 -12
- package/rust/Cargo.lock +43 -0
- package/rust/Cargo.toml +3 -0
- package/rust/src/main.rs +4 -0
- package/third-party-licenses.md +92 -0
- package/ts/00_commitinfo_data.ts +1 -1
- package/ts/cli.ts +2 -7
- package/ts/interfaces.ts +3 -3
- package/ts/oci-executor.ts +11 -10
- package/ts/plugins.ts +4 -4
- package/ts/protocol-validator.ts +5 -5
- package/ts/runner.ts +2 -39
- package/ts/spec-version.ts +0 -11
- package/ts/wire-schema.ts +8 -7
package/.smartconfig.json
CHANGED
package/changelog.md
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2026-10-13 - 2.1.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- Use jemalloc with background purging as the global allocator of the Rust workspace helper on every non-MSVC target and ship its license in the third-party notices. (rust)
|
|
8
|
+
|
|
9
|
+
### Maintenance
|
|
10
|
+
|
|
11
|
+
- release tooling: @git.zone/tsrust 4.4.0, pnpm 12.10.0
|
|
12
|
+
- build and verify every configured Rust target in the release build (`build:release`), since a plain tsrust build now covers only the host architecture
|
|
13
|
+
|
|
14
|
+
## 2026-09-27 - 2.0.0
|
|
15
|
+
|
|
16
|
+
### Breaking Changes
|
|
17
|
+
|
|
18
|
+
- speak the @ship.zone/ci-spec 2.0.0 runner protocol (protocol)
|
|
19
|
+
- Replace the deprecated `@foss.global/ci-spec` 1.2.0 with `@ship.zone/ci-spec` 2.0.0; the runner
|
|
20
|
+
implements and sends `spec` 2.0.0 and, under the same-major rule, refuses 1.x coordinators and
|
|
21
|
+
abandons 1.x jobs as `runner_error`.
|
|
22
|
+
- The reserved step environment names are `SHIPZONE_CI_MATRIX_JSON` and `SHIPZONE_CI_INPUTS_JSON`,
|
|
23
|
+
and secret targets and step environment names may not use any other `SHIPZONE_CI_*` name;
|
|
24
|
+
`FOSS_CI_*` names are no longer reserved.
|
|
25
|
+
- The compiled job schema and the OpenAPI components are registered under their 2.0.0 document
|
|
26
|
+
identifiers, `https://ship.zone/spec/ci/schemas/runner-job.schema.json` and
|
|
27
|
+
`https://ship.zone/spec/ci/spec/runner.openapi.json`, the job schema by its `$id` only.
|
|
28
|
+
- Capabilities always carry `resources`, the empty `leaseFeatures` list, and `maximumTimeoutMs`,
|
|
29
|
+
which are plain 2.0.0 capability fields; `capabilitiesForCoordinator`, `compareSpecVersions`,
|
|
30
|
+
and `lowerSpecVersion` are removed from the public API.
|
|
31
|
+
- The runner names its OCI containers and volumes `shipzone-ci-step-*`, `shipzone-ci-helper-*`,
|
|
32
|
+
`shipzone-ci-probe-*`, and `shipzone-ci-volume-*` instead of `foss-ci-*`, and reconciles only
|
|
33
|
+
the new names; operators of an earlier runner remove leftover `foss-ci-*` containers and volumes
|
|
34
|
+
by hand.
|
|
35
|
+
- The conformance map follows the 2.0.0 behavior cases: `capability-fields-negotiated` is gone,
|
|
36
|
+
and the 11 new behaviour cases are coordinator obligations.
|
|
37
|
+
|
|
38
|
+
### Maintenance
|
|
39
|
+
|
|
40
|
+
- exempt the ship.zone scope from the Deno release-age gate (deno)
|
|
41
|
+
- `deno.json` excludes `npm:@ship.zone/*` instead of `npm:@foss.global/*`, which no dependency uses any more.
|
|
42
|
+
|
|
3
43
|
## 2026-09-27 - 1.1.0
|
|
4
44
|
|
|
5
45
|
### Features
|
package/deno.json
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ship.zone/runner",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"exports": "./mod.ts",
|
|
5
5
|
"nodeModulesDir": "none",
|
|
6
6
|
"minimumDependencyAge": {
|
|
7
7
|
"age": "P1D",
|
|
8
8
|
"exclude": [
|
|
9
|
-
"npm:@foss.global/*",
|
|
10
9
|
"npm:@git.zone/*",
|
|
11
|
-
"npm:@push.rocks/*"
|
|
10
|
+
"npm:@push.rocks/*",
|
|
11
|
+
"npm:@ship.zone/*"
|
|
12
12
|
]
|
|
13
13
|
},
|
|
14
14
|
"tasks": {
|
|
15
15
|
"dev": "deno run --allow-all mod.ts",
|
|
16
|
-
"bundle": "deno bundle --frozen --check --platform=deno --keep-names --external '@
|
|
16
|
+
"bundle": "deno bundle --frozen --check --platform=deno --keep-names --external '@ship.zone/ci-spec' --external '@ship.zone/ci-spec/*' --external 'ajv/*' --declaration --outdir dist_npm mod.ts",
|
|
17
17
|
"test": "deno test --allow-env --allow-net --allow-read --allow-write --allow-run test/",
|
|
18
18
|
"check": "deno check mod.ts test/ scripts/",
|
|
19
19
|
"fmt": "deno fmt",
|
|
@@ -40,15 +40,15 @@
|
|
|
40
40
|
"strict": true
|
|
41
41
|
},
|
|
42
42
|
"imports": {
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
46
|
-
"@
|
|
47
|
-
"@
|
|
48
|
-
"@
|
|
49
|
-
"@
|
|
50
|
-
"@
|
|
51
|
-
"@
|
|
43
|
+
"@ship.zone/ci-spec": "npm:@ship.zone/ci-spec@2.0.0",
|
|
44
|
+
"@ship.zone/ci-spec/archive-cases.json": "npm:@ship.zone/ci-spec@2.0.0/archive-cases.json",
|
|
45
|
+
"@ship.zone/ci-spec/digest-cases.json": "npm:@ship.zone/ci-spec@2.0.0/digest-cases.json",
|
|
46
|
+
"@ship.zone/ci-spec/runner-cases.json": "npm:@ship.zone/ci-spec@2.0.0/runner-cases.json",
|
|
47
|
+
"@ship.zone/ci-spec/runner-job.schema.json": "npm:@ship.zone/ci-spec@2.0.0/runner-job.schema.json",
|
|
48
|
+
"@ship.zone/ci-spec/runner-messages.json": "npm:@ship.zone/ci-spec@2.0.0/runner-messages.json",
|
|
49
|
+
"@ship.zone/ci-spec/runner.openapi.json": "npm:@ship.zone/ci-spec@2.0.0/runner.openapi.json",
|
|
50
|
+
"@ship.zone/ci-spec/version-cases.json": "npm:@ship.zone/ci-spec@2.0.0/version-cases.json",
|
|
51
|
+
"@ship.zone/ci-spec/conformance/runner-jobs/": "npm:/@ship.zone/ci-spec@2.0.0/conformance/runner-jobs/",
|
|
52
52
|
"@std/assert": "jsr:@std/assert@^1.0.14",
|
|
53
53
|
"@std/path": "jsr:@std/path@^1.1.2",
|
|
54
54
|
"ajv/dist/2020.js": "npm:ajv@8.20.0/dist/2020.js"
|