@zackees/soldr 0.9.40 → 0.9.53

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 CHANGED
@@ -1,3 +1,9 @@
1
+ <p align="center">
2
+ <a href="https://github.com/zackees/soldr/releases/latest"><img src="docs/assets/install-windows.svg" alt="Install soldr on Windows" height="68"></a> &nbsp;&nbsp; <a href="https://github.com/zackees/soldr/releases/latest"><img src="docs/assets/install-macos.svg" alt="Install soldr on macOS" height="68"></a> &nbsp;&nbsp; <a href="https://github.com/zackees/soldr/releases/latest"><img src="docs/assets/install-linux.svg" alt="Install soldr on Linux" height="68"></a>
3
+ </p>
4
+
5
+ <p align="center"><sub><code>uv tool install --upgrade soldr</code> &nbsp;&#183;&nbsp; <a href="#quick-start">quick start</a></sub></p>
6
+
1
7
  # Soldr / Rust
2
8
 
3
9
 
@@ -10,7 +16,7 @@
10
16
 
11
17
 
12
18
  [![CI](https://github.com/zackees/soldr/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/zackees/soldr/actions/workflows/ci.yml)
13
- [![Autonomous Release](https://github.com/zackees/soldr/actions/workflows/release-auto.yml/badge.svg?branch=main)](https://github.com/zackees/soldr/actions/workflows/release-auto.yml)
19
+ [![Auto Release](https://github.com/zackees/soldr/actions/workflows/auto-release.yml/badge.svg?branch=main)](https://github.com/zackees/soldr/actions/workflows/auto-release.yml)
14
20
 
15
21
  ## Performance
16
22
 
@@ -105,14 +111,16 @@ that archive on the target:
105
111
  ```bash
106
112
  soldr ci-test --no-run --target <triple>
107
113
  # then, on (or emulating) the target:
108
- cargo-nextest nextest run --archive-file <printed-path> --workspace-remap <checkout>
114
+ soldr replay-nextest --runner <absolute-nextest-binary> -- nextest run --archive-file <printed-path> --workspace-remap <checkout>
109
115
  ```
110
116
 
111
117
  Two things bite consumers here, both observed rather than hypothesised:
112
118
 
113
- * `cargo-nextest` is a **cargo subcommand shim**. Invoked as `cargo-nextest run`
114
- it proxies to cargo, which replies `unrecognized subcommand 'run'` — an error
115
- that reads like a broken archive. The `nextest` verb is required.
119
+ * Supply the absolute path to the packaged, target-native `cargo-nextest`
120
+ executable. The `nextest` token is required. `replay-nextest` accepts only
121
+ version probes and archive-backed list/run operations; it does not install
122
+ a toolchain or download a runner. Tests in the archive can still use tools
123
+ or network if their own execution environment permits it.
116
124
  * A replay needs the **project source**, because the archive records its
117
125
  workspace root. Without it: `error: workspace root manifest at ... does not
118
126
  exist`. `--workspace-remap` must point at a real checkout.
@@ -623,7 +631,7 @@ Built on lessons from:
623
631
  - [SECURITY.md](./SECURITY.md) describes the current hardening posture and release policy.
624
632
  - [docs/API_BOUNDARY.md](./docs/API_BOUNDARY.md) defines the supported machine-facing integration boundary.
625
633
  - [docs/PYPI_TRUSTED_PUBLISHING.md](./docs/PYPI_TRUSTED_PUBLISHING.md) describes the optional Trusted Publishing path for hardened PyPI wheels.
626
- - [`.github/workflows/release-auto.yml`](./.github/workflows/release-auto.yml) is the only release workflow: when a reviewed version bump lands on `main`, it derives the version from `Cargo.toml`, reruns the release gate, and performs final publication through the `release` environment where the release credentials live.
634
+ - [`.github/workflows/auto-release.yml`](./.github/workflows/auto-release.yml) is the only release workflow: when a reviewed version bump lands on `main`, it derives the version from `Cargo.toml`, reruns the release gate, and performs final publication through the `release` environment where the release credentials live.
627
635
  - [RELEASE.md](./RELEASE.md) documents the intended maximum-security release setup and owner workflow.
628
636
  - [docs/RELEASE_VERIFICATION.md](./docs/RELEASE_VERIFICATION.md) explains how to verify published release artifacts.
629
637
  - [docs/TRUST_BOUNDARIES.md](./docs/TRUST_BOUNDARIES.md) inventories the external systems and artifacts `soldr` currently trusts, including the current `0.5.x` limits of runtime fetched-binary trust.
@@ -191,7 +191,7 @@
191
191
  "test_files": [
192
192
  "contracts/zccache-runtime.v1.json",
193
193
  "contracts/zccache-integration-guardrails.v1.json",
194
- ".github/workflows/release-auto.yml",
194
+ ".github/workflows/auto-release.yml",
195
195
  "scripts/zccache-contract.js",
196
196
  "scripts/test-npm-package.js",
197
197
  "tests/test_zccache_runtime_contract.py"
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@zackees/soldr",
3
- "version": "0.9.40",
3
+ "version": "0.9.53",
4
4
  "description": "Instant Rust tools and builds from one command.",
5
5
  "license": "BSD-3-Clause",
6
- "homepage": "https://github.com/zackees/soldr",
6
+ "homepage": "https://github.com/forge-ci/soldr",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/zackees/soldr.git"
9
+ "url": "git+https://github.com/forge-ci/soldr.git"
10
10
  },
11
11
  "bugs": {
12
- "url": "https://github.com/zackees/soldr/issues"
12
+ "url": "https://github.com/forge-ci/soldr/issues"
13
13
  },
14
14
  "bin": {
15
15
  "soldr": "bin/soldr.js"
@@ -33,7 +33,7 @@ const TARGETS = {
33
33
  };
34
34
 
35
35
  // Files we expect to find at the root of every extracted release
36
- // archive. Names line up with what `release-auto.yml`'s
36
+ // archive. Names line up with what `auto-release.yml`'s
37
37
  // `Stage soldr release binaries`, `Build crgx from pinned source`, and
38
38
  // `Build cargo-chef from pinned source` steps drop into `dist/package/`
39
39
  // before the tar.zst is built. `.exe` suffix is appended at install
@@ -43,7 +43,7 @@ const BUNDLED_BINARIES = zccacheContract.RELEASE_BUNDLED_BINARIES;
43
43
  // The lowest glibc a host must have before the `-gnu` artifact is worth
44
44
  // downloading (soldr#1060).
45
45
  //
46
- // This tracks release-auto.yml's BUNDLED-ARCHIVE glibc ceiling
46
+ // This tracks auto-release.yml's BUNDLED-ARCHIVE glibc ceiling
47
47
  // (`verify_release_bundle.py --check glibc-baseline`), because the installer
48
48
  // downloads the whole archive. soldr's own binaries reach glibc 2.17 through
49
49
  // the managed sysroot (soldr#1060, verified in manylinux2014), but the
@@ -81,7 +81,7 @@ function compareVersions(left, right) {
81
81
  // 3. Anything else → musl.
82
82
  //
83
83
  // musl is the safe end of every unknown because that artifact is verified
84
- // statically linked before it is ever staged (release-auto.yml → "Verify musl
84
+ // statically linked before it is ever staged (auto-release.yml → "Verify musl
85
85
  // binary is statically linked"), so it has no dynamic loader dependency and
86
86
  // runs on glibc hosts too. The mistakes are not symmetric:
87
87
  //
@@ -64,7 +64,7 @@ assert(
64
64
  assert.strictEqual(pkg.name, "@zackees/soldr");
65
65
  assert.strictEqual(pkg.license, "BSD-3-Clause");
66
66
  assert.strictEqual(pkg.bin.soldr, "bin/soldr.js");
67
- assert.strictEqual(pkg.repository.url, "git+https://github.com/zackees/soldr.git");
67
+ assert.strictEqual(pkg.repository.url, "git+https://github.com/forge-ci/soldr.git");
68
68
  assert.deepStrictEqual(pkg.files, [
69
69
  "bin/soldr.js",
70
70
  "contracts/zccache-integration-guardrails.v1.json",
@@ -359,7 +359,7 @@ assert.strictEqual(
359
359
  );
360
360
  }
361
361
 
362
- // MIN_GLIBC_FOR_GNU must track the ceiling release-auto.yml enforces on the
362
+ // MIN_GLIBC_FOR_GNU must track the ceiling auto-release.yml enforces on the
363
363
  // gnu ARCHIVE (see the lockstep assertion below). When that ceiling drops,
364
364
  // the installer must follow it down -- otherwise glibc hosts keep being sent
365
365
  // to musl long after gnu would work -- and it must never go below it.
@@ -403,7 +403,7 @@ function glibcCeilingFor(workflowText, scriptName) {
403
403
  assert.strictEqual(
404
404
  distinct.length,
405
405
  1,
406
- `release-auto.yml passes conflicting --max-glibc values to ${scriptName}: ` +
406
+ `auto-release.yml passes conflicting --max-glibc values to ${scriptName}: ` +
407
407
  `${found.join(", ")}. They gate the same artifacts and must agree.`,
408
408
  );
409
409
  return distinct[0];
@@ -448,11 +448,11 @@ function glibcCeilingFor(workflowText, scriptName) {
448
448
  }
449
449
 
450
450
  const releaseWorkflow = fs.readFileSync(
451
- path.join(root, ".github", "workflows", "release-auto.yml"),
451
+ path.join(root, ".github", "workflows", "auto-release.yml"),
452
452
  "utf8",
453
453
  );
454
454
  // The installer downloads the whole -gnu ARCHIVE, not just soldr's own
455
- // binary, so its floor must be the ceiling release-auto.yml enforces on the
455
+ // binary, so its floor must be the ceiling auto-release.yml enforces on the
456
456
  // bundle (`verify_release_bundle.py --check glibc-baseline`), which also
457
457
  // covers the prebuilt `crgx` / `cargo-chef` fetched from soldr-toolchain.
458
458
  // Tracking the own-binary ceiling instead (2.17 since soldr#1060) would send
@@ -460,13 +460,13 @@ const releaseWorkflow = fs.readFileSync(
460
460
  const bundleCeiling = glibcCeilingFor(releaseWorkflow, "--check glibc-baseline");
461
461
  assert(
462
462
  bundleCeiling,
463
- "release-auto.yml must pass --max-glibc to the bundled glibc-baseline check",
463
+ "auto-release.yml must pass --max-glibc to the bundled glibc-baseline check",
464
464
  );
465
465
  assert.strictEqual(
466
466
  install.MIN_GLIBC_FOR_GNU,
467
467
  bundleCeiling,
468
468
  `install.js MIN_GLIBC_FOR_GNU (${install.MIN_GLIBC_FOR_GNU}) must match the ` +
469
- `--max-glibc ceiling release-auto.yml enforces on the bundled -gnu archive ` +
469
+ `--max-glibc ceiling auto-release.yml enforces on the bundled -gnu archive ` +
470
470
  `(${bundleCeiling})`,
471
471
  );
472
472