@ship.zone/runner 2.0.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/dist_npm/mod.js CHANGED
@@ -4958,7 +4958,7 @@ var init_deno = __esm({
4958
4958
  "deno.json"() {
4959
4959
  deno_default = {
4960
4960
  name: "@ship.zone/runner",
4961
- version: "2.0.0",
4961
+ version: "2.1.0",
4962
4962
  exports: "./mod.ts",
4963
4963
  nodeModulesDir: "none",
4964
4964
  minimumDependencyAge: {
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "format": "tsrust.build-provenance.v2",
3
- "binarySha256": "d69a00882fd822a2afecf456c38dcf828c164ec7241ce1ecfb0365d94061932b",
3
+ "binarySha256": "cfa82f9b6cc4794786822c28b816dc8cced8477bd94794036fcc3b3cdb5ce843",
4
4
  "buildInfo": {
5
5
  "projectName": "@ship.zone/runner",
6
- "projectVersion": "2.0.0",
7
- "gitCommit": "a6f054f5aa45bfe86054b7a266d836d7318c4546",
6
+ "projectVersion": "2.1.0",
7
+ "gitCommit": "aa3d0f5a51d6f846c8a73fb84f1eed7ebd003f0a",
8
8
  "gitDirty": false,
9
- "builtAt": "2026-09-27T19:54:14.422Z",
10
- "tsrustVersion": "1.15.1",
9
+ "builtAt": "2026-10-13T13:05:50.189Z",
10
+ "tsrustVersion": "4.4.0",
11
11
  "binary": "runnerworkspace",
12
12
  "target": "linux_amd64_musl"
13
13
  }
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "format": "tsrust.build-provenance.v2",
3
- "binarySha256": "7775abaf87eeaaf41bc47607734e704e8c63b99fdcceeb6c692397536ba7b394",
3
+ "binarySha256": "c161d5fe0fe38c37fc3fbd3290161821bd420195296a16d22389bd2efd6d10bf",
4
4
  "buildInfo": {
5
5
  "projectName": "@ship.zone/runner",
6
- "projectVersion": "2.0.0",
7
- "gitCommit": "a6f054f5aa45bfe86054b7a266d836d7318c4546",
6
+ "projectVersion": "2.1.0",
7
+ "gitCommit": "aa3d0f5a51d6f846c8a73fb84f1eed7ebd003f0a",
8
8
  "gitDirty": false,
9
- "builtAt": "2026-09-27T19:54:22.712Z",
10
- "tsrustVersion": "1.15.1",
9
+ "builtAt": "2026-10-13T13:07:10.387Z",
10
+ "tsrustVersion": "4.4.0",
11
11
  "binary": "runnerworkspace",
12
12
  "target": "linux_arm64_musl"
13
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ship.zone/runner",
3
- "version": "2.0.0",
3
+ "version": "2.1.0",
4
4
  "description": "The isolated OCI job runner for ship.zone CI/CD",
5
5
  "homepage": "https://code.foss.global/ship.zone/runner",
6
6
  "bugs": {
@@ -33,7 +33,7 @@
33
33
  "ajv": "^8.20.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@git.zone/tsrust": "^1.15.1"
36
+ "@git.zone/tsrust": "^4.4.0"
37
37
  },
38
38
  "files": [
39
39
  "changelog.md",
@@ -56,6 +56,7 @@
56
56
  ],
57
57
  "scripts": {
58
58
  "build": "deno task check && deno task bundle && deno run --allow-read=dist_npm/mod.js scripts/verify-npm-entrypoint.ts && tsrust",
59
+ "build:release": "deno task check && deno task bundle && deno run --allow-read=dist_npm/mod.js scripts/verify-npm-entrypoint.ts && tsrust --configured-targets && tsrust verify",
59
60
  "test": "deno task test && cargo test --manifest-path rust/Cargo.toml"
60
61
  }
61
62
  }
package/rust/Cargo.lock CHANGED
@@ -8,6 +8,16 @@ version = "2.13.1"
8
8
  source = "registry+https://github.com/rust-lang/crates.io-index"
9
9
  checksum = "b588b76d00fde79687d7646a9b5bdf3cc0f655e0bbd080335a95d7e96f3587da"
10
10
 
11
+ [[package]]
12
+ name = "cc"
13
+ version = "1.8.0"
14
+ source = "registry+https://github.com/rust-lang/crates.io-index"
15
+ checksum = "6651c9ed80effdc7db0ff72512157f901af5e3549e341e24b1dd4887d836d838"
16
+ dependencies = [
17
+ "find-msvc-tools",
18
+ "shlex",
19
+ ]
20
+
11
21
  [[package]]
12
22
  name = "cfg-if"
13
23
  version = "1.0.4"
@@ -20,6 +30,12 @@ version = "0.2.2"
20
30
  source = "registry+https://github.com/rust-lang/crates.io-index"
21
31
  checksum = "f079e83a288787bcd14a6aea84cee5c87a67c5a3e660c30f557a3d24761b3527"
22
32
 
33
+ [[package]]
34
+ name = "find-msvc-tools"
35
+ version = "0.1.14"
36
+ source = "registry+https://github.com/rust-lang/crates.io-index"
37
+ checksum = "aedcfb3409746eddb02b9e19ebda1c3394f759a152e48ee875a0844d1b955484"
38
+
23
39
  [[package]]
24
40
  name = "itoa"
25
41
  version = "1.0.18"
@@ -75,6 +91,7 @@ dependencies = [
75
91
  "nix",
76
92
  "serde",
77
93
  "serde_json",
94
+ "tikv-jemallocator",
78
95
  ]
79
96
 
80
97
  [[package]]
@@ -120,6 +137,12 @@ dependencies = [
120
137
  "zmij",
121
138
  ]
122
139
 
140
+ [[package]]
141
+ name = "shlex"
142
+ version = "2.0.1"
143
+ source = "registry+https://github.com/rust-lang/crates.io-index"
144
+ checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
145
+
123
146
  [[package]]
124
147
  name = "syn"
125
148
  version = "3.0.3"
@@ -131,6 +154,26 @@ dependencies = [
131
154
  "unicode-ident",
132
155
  ]
133
156
 
157
+ [[package]]
158
+ name = "tikv-jemalloc-sys"
159
+ version = "0.7.1+5.3.1-0-g81034ce1f1373e37dc865038e1bc8eeecf559ce8"
160
+ source = "registry+https://github.com/rust-lang/crates.io-index"
161
+ checksum = "1a2825c78386b4ae0314074867860ba9577875de945f05992c38815cbec327f0"
162
+ dependencies = [
163
+ "cc",
164
+ "libc",
165
+ ]
166
+
167
+ [[package]]
168
+ name = "tikv-jemallocator"
169
+ version = "0.7.0"
170
+ source = "registry+https://github.com/rust-lang/crates.io-index"
171
+ checksum = "249f09e49ab1609436f34c776e84231bead18d6a955f119f939bdc1d847561bd"
172
+ dependencies = [
173
+ "libc",
174
+ "tikv-jemalloc-sys",
175
+ ]
176
+
134
177
  [[package]]
135
178
  name = "unicode-ident"
136
179
  version = "1.0.24"
package/rust/Cargo.toml CHANGED
@@ -10,6 +10,9 @@ nix = { version = "0.30.1", default-features = false, features = ["fs", "signal"
10
10
  serde = { version = "1.0.229", features = ["derive"] }
11
11
  serde_json = "1.0.149"
12
12
 
13
+ [target.'cfg(not(target_env = "msvc"))'.dependencies]
14
+ tikv-jemallocator = { version = "0.7.0", features = ["background_threads"] }
15
+
13
16
  [profile.release]
14
17
  strip = true
15
18
  lto = true
package/rust/src/main.rs CHANGED
@@ -1,3 +1,7 @@
1
+ #[cfg(not(target_env = "msvc"))]
2
+ #[global_allocator]
3
+ static GLOBAL: tikv_jemallocator::Jemalloc = tikv_jemallocator::Jemalloc;
4
+
1
5
  fn main() {
2
6
  if let Err(error) = runnerworkspace::run(std::env::args_os().skip(1)) {
3
7
  eprintln!("runnerworkspace: {error}");
@@ -37,6 +37,8 @@ targets. They also include:
37
37
  | serde | 1.0.229 | MIT |
38
38
  | serde_core | 1.0.229 | MIT |
39
39
  | serde_json | 1.0.151 | MIT |
40
+ | tikv-jemalloc-sys | 0.7.1+5.3.1-0-g81034ce1f1373e37dc865038e1bc8eeecf559ce8 | MIT |
41
+ | tikv-jemallocator | 0.7.0 | MIT |
40
42
  | zmij | 1.0.23 | MIT |
41
43
 
42
44
  Upstream copyright notices supplied with these crates include:
@@ -93,3 +95,93 @@ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA FILES OR SOFTWAR
93
95
  Except as contained in this notice, the name of a copyright holder shall not be used in advertising
94
96
  or otherwise to promote the sale, use or other dealings in these Data Files or Software without
95
97
  prior written authorization of the copyright holder.
98
+
99
+ ## Allocator Dependency Notices
100
+
101
+ The binary uses `tikv-jemallocator` 0.7.0 and `tikv-jemalloc-sys` 0.7.1+5.3.1-0-g81034ce1f1373e37dc865038e1bc8eeecf559ce8 under their MIT license option. The latter compiles in jemalloc 5.3.1 under BSD-2-Clause. Their upstream license texts follow verbatim.
102
+
103
+ ### tikv-jemallocator 0.7.0 — MIT
104
+
105
+ Copyright (c) 2014 Alex Crichton
106
+
107
+ Permission is hereby granted, free of charge, to any
108
+ person obtaining a copy of this software and associated
109
+ documentation files (the "Software"), to deal in the
110
+ Software without restriction, including without
111
+ limitation the rights to use, copy, modify, merge,
112
+ publish, distribute, sublicense, and/or sell copies of
113
+ the Software, and to permit persons to whom the Software
114
+ is furnished to do so, subject to the following
115
+ conditions:
116
+
117
+ The above copyright notice and this permission notice
118
+ shall be included in all copies or substantial portions
119
+ of the Software.
120
+
121
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
122
+ ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
123
+ TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
124
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
125
+ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
126
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
127
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
128
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
129
+ DEALINGS IN THE SOFTWARE.
130
+
131
+ ### tikv-jemalloc-sys 0.7.1+5.3.1-0-g81034ce1f1373e37dc865038e1bc8eeecf559ce8 — MIT
132
+
133
+ Copyright (c) 2014 Alex Crichton
134
+
135
+ Permission is hereby granted, free of charge, to any
136
+ person obtaining a copy of this software and associated
137
+ documentation files (the "Software"), to deal in the
138
+ Software without restriction, including without
139
+ limitation the rights to use, copy, modify, merge,
140
+ publish, distribute, sublicense, and/or sell copies of
141
+ the Software, and to permit persons to whom the Software
142
+ is furnished to do so, subject to the following
143
+ conditions:
144
+
145
+ The above copyright notice and this permission notice
146
+ shall be included in all copies or substantial portions
147
+ of the Software.
148
+
149
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
150
+ ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
151
+ TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
152
+ PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
153
+ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
154
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
155
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
156
+ IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
157
+ DEALINGS IN THE SOFTWARE.
158
+
159
+ ### jemalloc 5.3.1 — BSD-2-Clause
160
+
161
+ Unless otherwise specified, files in the jemalloc source distribution are
162
+ subject to the following license:
163
+ --------------------------------------------------------------------------------
164
+ Copyright (C) 2002-present Jason Evans <jasone@canonware.com>.
165
+ All rights reserved.
166
+ Copyright (C) 2007-2012 Mozilla Foundation. All rights reserved.
167
+ Copyright (C) 2009-present Facebook, Inc. All rights reserved.
168
+
169
+ Redistribution and use in source and binary forms, with or without
170
+ modification, are permitted provided that the following conditions are met:
171
+ 1. Redistributions of source code must retain the above copyright notice(s),
172
+ this list of conditions and the following disclaimer.
173
+ 2. Redistributions in binary form must reproduce the above copyright notice(s),
174
+ this list of conditions and the following disclaimer in the documentation
175
+ and/or other materials provided with the distribution.
176
+
177
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY EXPRESS
178
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
179
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
180
+ EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
181
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
182
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
183
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
184
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
185
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
186
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
187
+ --------------------------------------------------------------------------------
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@ship.zone/runner',
6
- version: '2.0.0',
6
+ version: '2.1.0',
7
7
  description: 'The isolated OCI job runner for ship.zone CI/CD'
8
8
  }