Skip to content

Commit 59caafa

Browse files
feat(shim): close INT-10 — pin v0.1.1 (full coverage), bump shim 0.1.2 (#295)
Final S4 wiring for #282. The v0.1.1 Release (cut on main after #292 swapped the retired macos-13 runner) produced all three platform binaries — the macos-x64 leg picked up a runner this time and built cleanly on macos-15-intel. This PR pins all three: linux-x64: b8f2cab7380306ca07b9599d7fe2470328236e7287a51c78c3bbb5e973fef5dc macos-x64: 6bc3837ef94f9b56a8bb63cec84c3f0ddf2d7e1092f49aa1d389da389b28b5e2 macos-arm64: 7f7cb5ee6b7ef37818498813891a2cd636300da7cb4a59e938031c78c0ee3589 `pins.js` `VERSION` v0.1.0 → v0.1.1, all three sha256 fields filled, and the "macos-x64 stuck in queue" interim comment is dropped. Shim package bumped 0.1.1 → 0.1.2 in lockstep (pins.js header rule), and the LSP-side `SHIM_SPEC` tracks it. Side note (not blocking): the canonical `SHA256SUMS` on the v0.1.1 Release was uploaded by me manually because release.yml's `checksums` job has no `actions/checkout` step and `gh release download` failed on the missing `.git` (the bug was masked on v0.1.0 by the macos-13 stall that never let `checksums` run). Fix landed in #294. Verification - `deno test` (packages/affinescript-cli): 6/6 green - `cargo test` (tools/affinescript-lsp): 26/26 green - Real end-to-end smoke (host = linux-x64): `resolveCompiler()` downloaded `affinescript-linux-x64` from v0.1.1, SHA-verified against the new pin, cached at /tmp/affs-cache-v011/affinescript/v0.1.1/, execed `--version` → exit 0. macos-x64 and macos-arm64 not smoked from this host but the same code path is covered by the shim tests. Closes #282. Refs #260, #181. ADR-019 in docs/specs/SETTLED-DECISIONS.adoc. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 20118fc commit 59caafa

3 files changed

Lines changed: 6 additions & 9 deletions

File tree

packages/affinescript-cli/deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hyperpolymath/affinescript",
3-
"version": "0.1.1",
3+
"version": "0.1.2",
44
"exports": {
55
".": "./mod.js"
66
},

packages/affinescript-cli/pins.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,25 +21,22 @@ function assetUrl(version, target) {
2121
return `${REPO}/releases/download/${version}/affinescript-${target}`;
2222
}
2323

24-
export const VERSION = "v0.1.0";
24+
export const VERSION = "v0.1.1";
2525

2626
export const PINS = {
2727
version: VERSION,
2828
targets: {
2929
"linux-x64": {
3030
url: assetUrl(VERSION, "linux-x64"),
31-
sha256: "c1ce65308bace96669d2a178732cd5ee180845d85a5775e119a221b98fe2a5da",
31+
sha256: "b8f2cab7380306ca07b9599d7fe2470328236e7287a51c78c3bbb5e973fef5dc",
3232
},
3333
"macos-x64": {
34-
// v0.1.0 macos-13 build was stuck in the runner queue at tag time;
35-
// left fail-closed (empty sha256 ⇒ resolveCompiler refuses) until
36-
// a follow-up release re-attempts the macos-x64 leg.
3734
url: assetUrl(VERSION, "macos-x64"),
38-
sha256: "",
35+
sha256: "6bc3837ef94f9b56a8bb63cec84c3f0ddf2d7e1092f49aa1d389da389b28b5e2",
3936
},
4037
"macos-arm64": {
4138
url: assetUrl(VERSION, "macos-arm64"),
42-
sha256: "2cac3ba54ae7778d31d1bd780d11b56a5cf78b5d5ee6c1d33edd3f8e753943d5",
39+
sha256: "7f7cb5ee6b7ef37818498813891a2cd636300da7cb4a59e938031c78c0ee3589",
4340
},
4441
},
4542
};

tools/affinescript-lsp/src/compiler.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
2929
/// Pinned ADR-019 shim spec. Must track `packages/affinescript-cli/deno.json`
3030
/// `version` (and therefore the `pins.js` `VERSION`). Do not float this.
31-
pub const SHIM_SPEC: &str = "jsr:@hyperpolymath/affinescript@0.1.1";
31+
pub const SHIM_SPEC: &str = "jsr:@hyperpolymath/affinescript@0.1.2";
3232

3333
/// Environment variable naming an explicit compiler binary (precedence 1).
3434
pub const COMPILER_ENV: &str = "AFFINESCRIPT_COMPILER";

0 commit comments

Comments
 (0)